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"
16 # Routed point-to-point client
18 config openvpn_recipe client_tun_ptp
19 option _description "Simple client configuration for a routed point-to-point VPN"
22 list remote "vpnserver.example.org"
23 option ifconfig "10.0.0.2 10.0.0.1"
24 option secret "shared-secret.key"
30 # Routed multi-client server
32 config openvpn_recipe server_tun
33 option _description "Server configuration for a routed multi-client VPN"
36 option server "10.0.100.0 255.255.255.0"
38 option cert "server.crt"
39 option key "server.key"
40 option dh "dh1024.pem"
41 option keepalive "10 60"
49 config openvpn_recipe client_tun
50 option _description "Client configuration for a routed multi-client VPN"
54 list remote "vpnserver.example.org"
55 option pkcs12 "my_client.p12"
56 option remote_cert_tls "server"
59 option persist_key "1"
60 option persist_tun "1"
66 # Multi-client ethernet bridge server
68 config openvpn_recipe server_tap_bridge
69 option _description "Server configuration for an ethernet bridge VPN"
72 option server_bridge "192.168.1.1 255.255.255.0 192.168.1.128 192.168.1.254"
74 option cert "server.crt"
75 option key "server.key"
76 option dh "dh1024.pem"
77 option keepalive "10 60"
83 # Ethernet bridge client
85 config openvpn_recipe client_tap_bridge
86 option _description "Client configuration for an ethernet bridge VPN"
90 list remote "vpnserver.example.org"
92 option cert "my_client.crt"
93 option key "my_client.key"
94 option dh "dh1024.pem"
95 option remote_cert_tls "server"
98 option persist_key "1"