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"
14 option management "127.0.0.1 31194"
17 # Routed point-to-point client
19 config openvpn_recipe client_tun_ptp
20 option _description "Simple client configuration for a routed point-to-point VPN"
23 list remote "vpnserver.example.org"
24 option ifconfig "10.0.0.2 10.0.0.1"
25 option secret "shared-secret.key"
29 option management "127.0.0.1 31194"
32 # Routed multi-client server
34 config openvpn_recipe server_tun
35 option _description "Server configuration for a routed multi-client VPN"
38 option server "10.0.100.0 255.255.255.0"
40 option cert "server.crt"
41 option key "server.key"
42 option dh "dh1024.pem"
43 option keepalive "10 60"
47 option management "127.0.0.1 31194"
52 config openvpn_recipe client_tun
53 option _description "Client configuration for a routed multi-client VPN"
57 list remote "vpnserver.example.org"
58 option pkcs12 "my_client.p12"
59 option remote_cert_tls "server"
62 option persist_key "1"
63 option persist_tun "1"
67 option management "127.0.0.1 31194"
70 # Multi-client ethernet bridge server
72 config openvpn_recipe server_tap_bridge
73 option _description "Server configuration for an ethernet bridge VPN"
76 option server_bridge "192.168.1.1 255.255.255.0 192.168.1.128 192.168.1.254"
78 option cert "server.crt"
79 option key "server.key"
80 option dh "dh1024.pem"
81 option keepalive "10 60"
85 option management "127.0.0.1 31194"
88 # Ethernet bridge client
90 config openvpn_recipe client_tap_bridge
91 option _description "Client configuration for an ethernet bridge VPN"
95 list remote "vpnserver.example.org"
97 option cert "my_client.crt"
98 option key "my_client.key"
99 option dh "dh1024.pem"
100 option remote_cert_tls "server"
103 option persist_key "1"
107 option management "127.0.0.1 31194"