1 | local <the-servers-ip-address> |
---|
2 | |
---|
3 | port 1194 |
---|
4 | |
---|
5 | proto udp |
---|
6 | |
---|
7 | dev tun |
---|
8 | |
---|
9 | ca ca.crt |
---|
10 | |
---|
11 | cert server.example.com.crt |
---|
12 | |
---|
13 | key server.example.com.key |
---|
14 | |
---|
15 | tls-auth ta.key 0 |
---|
16 | |
---|
17 | dh dh2048.pem |
---|
18 | |
---|
19 | server 192.168.100.0 255.255.255.0 |
---|
20 | |
---|
21 | topology subnet |
---|
22 | |
---|
23 | client-config-dir ccd |
---|
24 | |
---|
25 | push "dhcp-option DNS 192.168.100.1" |
---|
26 | push "dhcp-option DOMAIN example.com" |
---|
27 | |
---|
28 | client-to-client |
---|
29 | |
---|
30 | keepalive 10 120 |
---|
31 | |
---|
32 | cipher AES-256-CBC |
---|
33 | |
---|
34 | comp-lzo |
---|
35 | |
---|
36 | max-clients 100 |
---|
37 | |
---|
38 | user nobody |
---|
39 | group nobody |
---|
40 | |
---|
41 | persist-key |
---|
42 | persist-tun |
---|
43 | |
---|
44 | ifconfig-pool-persist ipp.txt |
---|
45 | |
---|
46 | verb 3 |
---|