TAP Adapter IP changes automatically after service or server restarts
Posted: Fri Feb 23, 2018 8:55 pm
i have been facing a strange problem in my openvpn setup. It runs perfectly when the Windows server 2012 R2 is up. But the issue happens when server restarts. Or lets say if i go and restart the service (2nd time). It uses the virtual IP (10.8.0.1) and the configuration is exactly similar to what is their in OpenVPN community. It automatically changes to a different IP starts with 169.x.x.x and in the description it says Auto Configuration enabled. When this change happens i wont be able to ping using the server IP 10.8.0.1, of course because the IP is different now. In that case i need to set the IP manually as 10.8.0.1 and gateway as 10.8.0.2 to make it work again. Has anybody come across a strange situation like this?
I am really pissed off due to this. Is there anyway to stop this happening again?
I am really pissed off due to this. Is there anyway to stop this happening again?