Vpn Server Connection lost suddenly
Posted: Sun Dec 10, 2017 6:06 am
i am Using Ubuntu 14.04 . i installed OPen Vpn Server three year ago. i am using site to site Vpn
8 different Networks talking to My Main Networks(My vpn Server is here)... (Network A ,B,C ... ,H)
it works properly.
Yesterday,Some vpn Client networks connection started lost.After three minutes ,their connections was successfuly.
3 network failures connected with vpn.This happened for 20 minutes.This Client Network was not download/Upload problem.
And then the problem is solved.
What happened was I reconnected before I did anything.8 vpn client are certificates is different? i could not understand the problem.
My VPN Server log is
My Vpn Server conf is
My Vpn Client conf is (one of the eight)
How can i solve this problem ?
Can you help me ?
Thank you very much for your help
8 different Networks talking to My Main Networks(My vpn Server is here)... (Network A ,B,C ... ,H)
it works properly.
Yesterday,Some vpn Client networks connection started lost.After three minutes ,their connections was successfuly.
3 network failures connected with vpn.This happened for 20 minutes.This Client Network was not download/Upload problem.
And then the problem is solved.
What happened was I reconnected before I did anything.8 vpn client are certificates is different? i could not understand the problem.
My VPN Server log is
Code: Select all
"New Connection by client "myclient" will cause previous active,sessions by this client to be dropped.Remember to use the--duplicate-cn option if you want multiple clients using the same certificate or username to concurrently connect."
My Vpn Server conf is
Code: Select all
port 1194
tun-mtu 1400
tls-server
proto tcp
dev tun
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/firewall.crt
key /etc/openvpn/easy-rsa/keys/firewall.key
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
server 10.2.1.0 255.255.255.0
ifconfig-pool-persist ipp.txt 600
push "route 192.168.x.0 255.255.255.0"
client-config-dir /etc/openvpn/ccd
push "dhcp-option DNS m.n.o.p"
push "dhcp-option DNS d.e.f.g"
client-to-client
keepalive 20 60
comp-lzo
max-clients 100
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn-status.log
log-append /var/log/openvpn.log
verb 3
Code: Select all
tls-client
client
dev tun
proto tcp
tun-mtu 1400
remote a.b.c.d 1194
resolv-retry infinite
pkcs12 example.p12
askpass con.txt
resolv-retry infinite
ns-cert-type server
comp-lzo
verb 3
status /var/log/openvpn-status.log
route-method exe
route-delay 2
Can you help me ?
Thank you very much for your help