2 # Routed point-to-point server
4 config openvpn_recipe server_tun_ptp
5 option _description 'Simple server configuration for a routed point-to-point VPN'
8 option ifconfig '10.0.0.1 10.0.0.2'
9 option secret 'shared-secret.key'
10 option keepalive '10 60'
15 # Routed point-to-point client
17 config openvpn_recipe client_tun_ptp
18 option _description 'Simple client configuration for a routed point-to-point VPN'
21 list remote 'vpnserver.example.org'
22 option ifconfig '10.0.0.2 10.0.0.1'
23 option secret 'shared-secret.key'
28 # Routed multi-client server
30 config openvpn_recipe server_tun
31 option _description 'Server configuration for a routed multi-client VPN'
34 option server '10.0.100.0 255.255.255.0'
36 option cert 'server.crt'
37 option key 'server.key'
38 option dh 'dh1024.pem'
39 option keepalive '10 60'
46 config openvpn_recipe client_tun
47 option _description 'Client configuration for a routed multi-client VPN'
51 list remote 'vpnserver.example.org'
52 option pkcs12 'my_client.p12'
53 option remote_cert_tls 'server'
55 option persist_key '1'
56 option persist_tun '1'
62 # Multi-client ethernet bridge server
64 config openvpn_recipe server_tap_bridge
65 option _description 'Server configuration for an ethernet bridge VPN'
68 option server_bridge '192.168.1.1 255.255.255.0 192.168.1.128 192.168.1.254'
70 option cert 'server.crt'
71 option key 'server.key'
72 option dh 'dh1024.pem'
73 option keepalive '10 60'
78 # Ethernet bridge client
80 config openvpn_recipe client_tap_bridge
81 option _description 'Client configuration for an ethernet bridge VPN'
85 list remote 'vpnserver.example.org'
87 option cert 'my_client.crt'
88 option key 'my_client.key'
89 option dh 'dh1024.pem'
90 option remote_cert_tls 'server'
92 option persist_key '1'