Ticket #683: server.conf

File server.conf, 863 bytes (added by cudiaco, 5 years ago)

tcp server config

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