1 | mode server |
---|
2 | tls-server |
---|
3 | |
---|
4 | multihome |
---|
5 | port 8757 |
---|
6 | proto udp |
---|
7 | |
---|
8 | dev tun |
---|
9 | up "/etc/openvpn/scripts/runme.sh" |
---|
10 | |
---|
11 | client-to-client |
---|
12 | #client-config-dir /etc/openvpn/ccd-tcp |
---|
13 | |
---|
14 | persist-key |
---|
15 | persist-tun |
---|
16 | |
---|
17 | ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt |
---|
18 | cert /etc/openvpn/easy-rsa/2.0/keys/server.crt |
---|
19 | key /etc/openvpn/easy-rsa/2.0/keys/server.key |
---|
20 | dh /etc/openvpn/easy-rsa/2.0/keys/dh2048.pem |
---|
21 | tls-auth /etc/openvpn/easy-rsa/2.0/keys/ta.key 0 |
---|
22 | |
---|
23 | cipher AES-128-CBC |
---|
24 | auth SHA256 |
---|
25 | comp-lzo |
---|
26 | |
---|
27 | server 10.9.0.0 255.255.255.0 |
---|
28 | |
---|
29 | push "topology subnet" |
---|
30 | push "dhcp-option DNS 8.8.8.8" |
---|
31 | push "dhcp-option DNS 8.8.4.4" |
---|
32 | |
---|
33 | max-clients 40 |
---|
34 | |
---|
35 | #crl-verify /etc/openvpn/easy-rsa/2.0/keys/crl.pem |
---|
36 | |
---|
37 | user nobody |
---|
38 | group nogroup |
---|
39 | keepalive 10 120 |
---|
40 | status /etc/openvpn/log/faster-status.log |
---|
41 | log /etc/openvpn/log/faster.log |
---|
42 | verb 4 |
---|
43 | mute 20 |
---|