- removed init- and config-files shipped with the openvpn package
[project/luci.git] / applications / luci-openvpn / root / etc / config / openvpn_recipes
1 #
2 # Routed point-to-point server
3 #
4 config openvpn_recipe server_tun_ptp
5         option _description             "Simple server configuration for a routed point-to-point VPN"
6         option _role                    "server"
7         option dev                      "tun"
8         option ifconfig                 "10.0.0.1 10.0.0.2"
9         option secret                   "shared-secret.key"
10         option keepalive                "10 60"
11         option comp_lzo                 "1"
12         option verb                     "3"
13         option mssfix                   "1420"
14         option management               "127.0.0.1 31194"
15
16 #
17 # Routed point-to-point client
18 #
19 config openvpn_recipe client_tun_ptp
20         option _description             "Simple client configuration for a routed point-to-point VPN"
21         option _role                    "client"
22         option dev                      "tun"
23         list   remote                   "vpnserver.example.org"
24         option ifconfig                 "10.0.0.2 10.0.0.1"
25         option secret                   "shared-secret.key"
26         option nobind                   "1"
27         option comp_lzo                 "1"
28         option verb                     "3"
29         option management               "127.0.0.1 31194"
30
31 #
32 # Routed multi-client server
33 #
34 config openvpn_recipe server_tun
35         option _description             "Server configuration for a routed multi-client VPN"
36         option _role                    "server"
37         option dev                      "tun"
38         option server                   "10.0.100.0 255.255.255.0"
39         option ca                       "ca.crt"
40         option cert                     "server.crt"
41         option key                      "server.key"
42         option dh                       "dh1024.pem"
43         option keepalive                "10 60"
44         option comp_lzo                 "1"
45         option verb                     "3"
46         option mssfix                   "1420"
47         option management               "127.0.0.1 31194"
48
49 #
50 # Routed client
51 #
52 config openvpn_recipe client_tun
53         option _description             "Client configuration for a routed multi-client VPN"
54         option _role                    "client"
55         option client                   "1"
56         option dev                      "tun"
57         list   remote                   "vpnserver.example.org"
58         option pkcs12                   "my_client.p12"
59         option remote_cert_tls          "server"
60         option comp_lzo                 "1"
61         option nobind                   "1"
62         option persist_key              "1"
63         option persist_tun              "1"
64         option verb                     "3"
65         option reneg_sec                "0"
66         option explicit_exit_notify     "1"
67         option float                    "1"
68         option management               "127.0.0.1 31194"
69
70 #
71 # Multi-client ethernet bridge server
72 #
73 config openvpn_recipe server_tap_bridge
74         option _description             "Server configuration for an ethernet bridge VPN"
75         option _role                    "server"
76         option dev                      "tap"
77         option server_bridge            "192.168.1.1 255.255.255.0 192.168.1.128 192.168.1.254"
78         option ca                       "ca.crt"
79         option cert                     "server.crt"
80         option key                      "server.key"
81         option dh                       "dh1024.pem"
82         option keepalive                "10 60"
83         option comp_lzo                 "1"
84         option verb                     "3"
85         option mssfix                   "1420"
86         option management               "127.0.0.1 31194"
87
88 #
89 # Ethernet bridge client
90 #
91 config openvpn_recipe client_tap_bridge
92         option _description             "Client configuration for an ethernet bridge VPN"
93         option _role                    "client"
94         option client                   "1"
95         option dev                      "tap"
96         list   remote                   "vpnserver.example.org"
97         option ca                       "ca.crt"
98         option cert                     "my_client.crt"
99         option key                      "my_client.key"
100         option dh                       "dh1024.pem"
101         option remote_cert_tls          "server"
102         option comp_lzo                 "1"
103         option nobind                   "1"
104         option persist_key              "1"
105         option verb                     "3"
106         option reneg_sec                "0"
107         option explicit_exit_notify     "1"
108         option float                    "1"
109         option management               "127.0.0.1 31194"