I have a cabin by the sea and a house. I'm a freelancer, so I can work any of the places, with broadband on both. And I have kept an always on tunnel with OpenVPN for at least five years, often transfering work files up to 10 gigabyte, and I have never had any problems.. In that time I've been running Server 2008 on both sides, and I've had no problems at all. But with the new installation, which has the exact same version of OpenVPN, 2.4.3.0 (dated 14th of july 2017), I get dropouts. From a few minutes and up to 15-20, and then it drops. And when it connects again, ping to the server does not work for a long time, or not at all until I do a manual disconnction and reconnection. And I changed nothing, I just installed the same version that I was using and copied over the certificates, config and so on. I have tried to uninstall and install again, but nothing seems to help.
The server side hasn't changed yet (I'm planning to go to 2016 this weekend, my servers has identical hardware), so only the client has gone from Windows Server 2008 R2 to Windows Server 2016 Datacenter (not because I need it in my personal setup, but because I wanted to). This is the client side config:
## ##
client
proto udp
dev tap
remote my.address 11720
resolv-retry infinite
nobind
persist-key
persist-tun
ns-cert-type server
ca ca.crt
cert my.crt
key my.key
comp-lzo
verb 3
And the server side is like this:
## ##
port 11720
proto udp
dev tap
ca ca.crt
cert my.crt
key my.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.0.0 255.255.255.0"
push "dhcp-option DNS 192.168.0.1"
push "dhcp-option DOMAIN mydomain.no"
keepalive 5 10
comp-lzo
max-clients 1
persist-key
persist-tun
status openvpn-status.log
verb 3
I get this in the client log when it breaks:
Tue Aug 07 16:02:16 2018 [Server] Inactivity timeout (--ping-restart), restarting
Tue Aug 07 16:02:16 2018 SIGUSR1[soft,ping-restart] received, process restarting
Tue Aug 07 16:02:16 2018 MANAGEMENT: >STATE:1533650536,RECONNECTING,ping-restart,,,,,
Tue Aug 07 16:02:16 2018 Restart pause, 5 second(s)
Tue Aug 07 16:02:12 2018 client/IP [Client] Inactivity timeout (--ping-restart), restarting
Tue Aug 07 16:02:12 2018 Client/IP SIGUSR1[soft,ping-restart] received, client-instance restarting
Tue Aug 07 16:02:23 2018 109.247.22.62 TLS: Initial packet from [AF_INET6]::ffff:IP:32009, sid=64f646c6 44c858d9
I am aware that I'm not using the latest version, and that I'm not using the standard port (due to hammering on my first setup many years ago), but should that matter at all when it has been working perfectly up to now? And could somebody please give me a hint as to what this can be?