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"
9 option ifconfig "10.0.0.1 10.0.0.2"
10 option secret "shared-secret.key"
13 # Routed point-to-point client
15 config openvpn_recipe client_tun_ptp
16 option _description "Simple client configuration for a routed point-to-point VPN"
19 option remote "mypeer.dyndns.org"
21 option ifconfig "10.0.0.2 10.0.0.1"
22 option secret "shared-secret.key"
27 # Routed multi-client server
29 config openvpn_recipe server_tun
30 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 client_to_client "1"
40 option keepalive "10 120"
46 config openvpn_recipe client_tun
47 option _description "Client configuration for a routed multi-client VPN"
51 option remote "vpnserver.example.org 1194"
53 option cert "my_client.crt"
54 option key "my_client.key"
55 option dh "dh1024.pem"
56 option ns_cert_type "server"
57 option keepalive "10 120"
63 # Multi-client ethernet bridge server
65 config openvpn_recipe server_tun
66 option _description "Server configuration for an ethernet bridge VPN"
70 option server_bridge "192.168.1.1 255.255.255.0 192.168.1.128 192.168.1.254"
72 option cert "server.crt"
73 option key "server.key"
74 option dh "dh1024.pem"
75 option client_to_client "1"
76 option keepalive "10 120"
80 # Ethernet bridge client
82 config openvpn_recipe client_tun
83 option _description "Client configuration for an ethernet bridge VPN"
87 option remote "vpnserver.example.org 1194"
89 option cert "my_client.crt"
90 option key "my_client.key"
91 option dh "dh1024.pem"
92 option ns_cert_type "server"
93 option keepalive "10 120"