You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
641 B
32 lines
641 B
4 years ago
|
server 10.80.0.0 255.255.0.0
|
||
|
verb 3
|
||
|
key /etc/openvpn/pki/private/127.0.0.1.key
|
||
|
ca /etc/openvpn/pki/ca.crt
|
||
|
cert /etc/openvpn/pki/issued/127.0.0.1.crt
|
||
|
dh /etc/openvpn/pki/dh.pem
|
||
|
tls-auth /etc/openvpn/pki/ta.key
|
||
|
key-direction 0
|
||
|
keepalive 10 60
|
||
|
persist-key
|
||
|
persist-tun
|
||
|
|
||
|
proto udp
|
||
|
# Rely on Docker to do port mapping, internally always 1194
|
||
|
port 1194
|
||
|
dev tun0
|
||
|
status /tmp/openvpn-status.log
|
||
|
|
||
|
user nobody
|
||
|
group nogroup
|
||
|
client-to-client
|
||
|
comp-lzo no
|
||
|
|
||
|
### Push Configurations Below
|
||
|
push "dhcp-option DNS 8.8.8.8"
|
||
|
push "dhcp-option DNS 8.8.4.4"
|
||
|
push "comp-lzo no"
|
||
|
push "route 172.50.20.0 255.255.255.0"
|
||
|
|
||
|
### Extra Configurations Below
|
||
|
topology subnet
|