OpenVPN Access Server 2.5 (Amazon AWS) trial for now.
Everything works fine, however.
We have a connection problem with clients (windows) after an internet outage on the client side.
They are all using auto-login profiles.
If the client internet connection drops for more than a min or two, the VPN connection is fully dropped and will never try to reconnect unless we manually go to the client PC and reconnect using the OpenVpn client or reboot client PC .
This is not a feasible solution for us as these are corporate clients.
I know we can create batch files that will ping servers on the OpenVPN and stop/restart the OpenVPN service if needed but this is not an option either.
I have not been able to find any settings that will force the client to keep trying to connect forever.
* Client *
Microsoft Windows [Version 10.0.17134.48]
setenv FORWARD_COMPATIBLE 1
client
server-poll-timeout 4
nobind
remote x.x.x.x 1194 udp
remote x.x.x.x 1194 udp
remote x.x.x.x 443 tcp
remote x.x.x.x 1194 udp
remote x.x.x.x 1194 udp
remote x.x.x.x 1194 udp
remote x.x.x.x 1194 udp
remote x.x.x.x 1194 udp
dev tun
dev-type tun
ns-cert-type server
reneg-sec 604800
sndbuf 100000
rcvbuf 100000
comp-lzo no
verb 3
setenv PUSH_PEER_INFO
key-direction 1
# Extra user-defined configuration
cipher AES-128-CBC
* Client Log file *
Code: Select all
Thu May 17 12:17:16 2018 Thu May 17 12:17:16 2018 Connected via TUN_WIN
Thu May 17 12:17:16 2018 Thu May 17 12:17:16 2018 LZO-ASYM init swap=0 asym=0
Thu May 17 12:17:16 2018 Thu May 17 12:17:16 2018 CONNECTED : ----------- via /UDPv4 on TUN_WIN/-----/ gw=[---------/]
## Internet connection drops out at some point and following shows up in log. NOTE : I dropped it on purpose to reproduce the issue.
Session invalidated: KEEPALIVE_TIMEOUT
Client terminated, restarting in 2000 ms...
Thu May 17 12:18:26 2018 Thu May 17 12:18:26 2018 RECONNECTING
Thu May 17 12:18:26 2018 Thu May 17 12:18:26 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:18:26 2018 Thu May 17 12:18:26 2018 WAIT
Thu May 17 12:18:26 2018 Thu May 17 12:18:26 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:18:30 2018 Thu May 17 12:18:30 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:18:30 2018 Thu May 17 12:18:30 2018 RECONNECTING
Thu May 17 12:18:30 2018 Thu May 17 12:18:30 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:18:30 2018 Thu May 17 12:18:30 2018 WAIT
Thu May 17 12:18:30 2018 Thu May 17 12:18:30 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:18:34 2018 Thu May 17 12:18:34 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:18:34 2018 Thu May 17 12:18:34 2018 RECONNECTING
Thu May 17 12:18:34 2018 Thu May 17 12:18:34 2018 Contacting x.x.x.x:443 via TCP
Thu May 17 12:18:34 2018 Thu May 17 12:18:34 2018 WAIT
Thu May 17 12:18:38 2018 Thu May 17 12:18:38 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:18:38 2018 Thu May 17 12:18:38 2018 RECONNECTING
Thu May 17 12:18:38 2018 Thu May 17 12:18:38 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:18:38 2018 Thu May 17 12:18:38 2018 WAIT
Thu May 17 12:18:38 2018 Thu May 17 12:18:38 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:18:42 2018 Thu May 17 12:18:42 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:18:42 2018 Thu May 17 12:18:42 2018 RECONNECTING
Thu May 17 12:18:42 2018 Thu May 17 12:18:42 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:18:42 2018 Thu May 17 12:18:42 2018 WAIT
Thu May 17 12:18:42 2018 Thu May 17 12:18:42 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:18:46 2018 Thu May 17 12:18:46 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:18:46 2018 Thu May 17 12:18:46 2018 RECONNECTING
Thu May 17 12:18:46 2018 Thu May 17 12:18:46 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:18:46 2018 Thu May 17 12:18:46 2018 WAIT
Thu May 17 12:18:46 2018 Thu May 17 12:18:46 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:18:50 2018 Thu May 17 12:18:50 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:18:50 2018 Thu May 17 12:18:50 2018 RECONNECTING
Thu May 17 12:18:50 2018 Thu May 17 12:18:50 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:18:50 2018 Thu May 17 12:18:50 2018 WAIT
Thu May 17 12:18:50 2018 Thu May 17 12:18:50 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:18:54 2018 Thu May 17 12:18:54 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:18:54 2018 Thu May 17 12:18:54 2018 RECONNECTING
Thu May 17 12:18:54 2018 Thu May 17 12:18:54 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:18:54 2018 Thu May 17 12:18:54 2018 WAIT
Thu May 17 12:18:54 2018 Thu May 17 12:18:54 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:18:58 2018 Thu May 17 12:18:58 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:18:58 2018 Thu May 17 12:18:58 2018 RECONNECTING
Thu May 17 12:18:58 2018 Thu May 17 12:18:58 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:18:58 2018 Thu May 17 12:18:58 2018 WAIT
Thu May 17 12:18:58 2018 Thu May 17 12:18:58 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:19:02 2018 Thu May 17 12:19:02 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:19:02 2018 Thu May 17 12:19:02 2018 RECONNECTING
Thu May 17 12:19:02 2018 Thu May 17 12:19:02 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:19:02 2018 Thu May 17 12:19:02 2018 WAIT
Thu May 17 12:19:02 2018 Thu May 17 12:19:02 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:19:06 2018 Thu May 17 12:19:06 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:19:06 2018 Thu May 17 12:19:06 2018 RECONNECTING
Thu May 17 12:19:06 2018 Thu May 17 12:19:06 2018 Contacting x.x.x.x:443 via TCP
Thu May 17 12:19:06 2018 Thu May 17 12:19:06 2018 WAIT
Thu May 17 12:19:10 2018 Thu May 17 12:19:10 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:19:10 2018 Thu May 17 12:19:10 2018 RECONNECTING
Thu May 17 12:19:10 2018 Thu May 17 12:19:10 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:19:10 2018 Thu May 17 12:19:10 2018 WAIT
Thu May 17 12:19:10 2018 Thu May 17 12:19:10 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:19:14 2018 Thu May 17 12:19:14 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:19:14 2018 Thu May 17 12:19:14 2018 RECONNECTING
Thu May 17 12:19:14 2018 Thu May 17 12:19:14 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:19:14 2018 Thu May 17 12:19:14 2018 WAIT
Thu May 17 12:19:14 2018 Thu May 17 12:19:14 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:19:18 2018 Thu May 17 12:19:18 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:19:18 2018 Thu May 17 12:19:18 2018 RECONNECTING
Thu May 17 12:19:18 2018 Thu May 17 12:19:18 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:19:18 2018 Thu May 17 12:19:18 2018 WAIT
Thu May 17 12:19:18 2018 Thu May 17 12:19:18 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:19:22 2018 Thu May 17 12:19:22 2018 Server poll timeout, trying next remote entry...
Thu May 17 12:19:22 2018 Thu May 17 12:19:22 2018 RECONNECTING
Thu May 17 12:19:22 2018 Thu May 17 12:19:22 2018 Contacting x.x.x.x:1194 via UDP
Thu May 17 12:19:22 2018 Thu May 17 12:19:22 2018 WAIT
Thu May 17 12:19:22 2018 Thu May 17 12:19:22 2018 Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
Thu May 17 12:19:26 2018 Thu May 17 12:19:26 2018 CONNECTION_TIMEOUT [FATAL-ERR]
Any ideas?
Thanks in advance,
Soeren