I am managing up to date (all updates installed) WIndows Server 2016 where I set up a simple OpenVPN server.
There is (I think) nothing special in config, it is set so connected clients can access LAN resources such as SMB server:
port 1xxx
proto udp4
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key"
dh "C:\\Program Files\\OpenVPN\\config\\dh2048.pem"
topology subnet
server 10.100.1.0 255.255.255.0
push "route 10.100.0.0 255.255.255.0"
ifconfig-pool-persist ipp.txt
keepalive 10 120
tls-auth ta.key 0
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status.log
verb 3
explicit-exit-notify 1
However I do have two problems.
1. OpenVPN service in services list is set up to start automatically, but it NEVER starts automatically after reboot.
2. Even if I start OpenVPN service or even GUI manually, the TAP network interface NEVER gets the IP configuration on first try, I have to disable and enable the interface while server is already running.
This is how it looks after running the server, before re-enabling...
I do not have any connectivity problems, clients can even connect if the TAC interface has no IP config, just they cant access literally anything..
I've been fighting this problem WHOLE DAY and can't find a solution or similar problems on the internet.
PLEASE HELP 🙁