-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.conf
36 lines (33 loc) · 866 Bytes
/
server.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
mode server
tls-server
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-DSS-WITH-AES-256-CBC-SHA
topology subnet
port 1194
proto udp
dev vpninterface
dev-type tun
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
tls-auth keys/ta.key 0
dh keys/dh1024.pem
#ifconfig 10.253.3.234 255.255.255.255
ifconfig 10.253.3.234 255.255.0.0
ifconfig-pool 10.253.0.1 10.253.255.254
#server 10.253.0.0 255.255.0.0
script-security 2
keepalive 3 10
comp-lzo
persist-key
persist-tun
status /etc/openvpn/openvpn-status.log
#log-append openvpn.log
verb 3
client-config-dir /data/ccd
ccd-exclusive
## duplicate-cn
push "route 1.1.1.1 255.255.255.255 10.253.3.234"
push "route 10.252.186.254 255.255.255.255 10.253.3.234"
route 10.253.0.0 255.255.255.0
push "route 10.253.3.234"
push "route 10.253.0.0 255.255.0.0 10.253.3.234"