Client vpn
port 21194
proto udp
dev tun
ca keys/ca.crt
cert keys/VPN1.crt
key keys/VPN1.key
dh keys/dh1024.pem
script-security 3
topology subnet
auth-user-pass-verify /etc/openvpn/auth-accept-all.sh via-env
auth-user-pass-optional
username-as-common-name
learn-address /etc/openvpn/learn-address.sh
server 10.10.0.0 255.255.0.0
push "route 10.11.0.0 255.255.0.0"
push "route 10.10.0.0 255.255.0.0"
ifconfig-pool-persist ipp.txt
keepalive 5 45
comp-lzo
persist-key
persist-tun
status openvpn_status.log
verb 3
duplicate-cn
push "explicit-exit-notify 3"
Admin Setting
port 21195
proto udp
dev tun
ca keys_manage/ca.crt
cert keys_manage/sy2lb2.crt
key keys_manage/sy2lb2.key
dh keys_manage/dh1024.pem
script-security 3
topology subnet
server 10.11.0.0 255.255.0.0
push "route 10.11.0.0 255.255.0.0"
push "route 10.10.0.0 255.255.0.0"
ifconfig-pool-persist ipp_manage.txt
keepalive 5 45
comp-lzo
persist-key
persist-tun
duplicate-cn
status openvpn_status_manage.log
verb 3
push "explicit-exit-notify 3"