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:
Code: Select all
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)
Code: Select all
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