OpenVPN bug? [Images + logs]
Posted: Wed Jun 23, 2021 5:37 am
In windows I delete route 0.0.0.0 0.0.0.0 192.168.1.1 and add persisent route x.x.x.32 255.255.255.255 192.168.1.1 to the VPN. This forces all traffic through the VPN. If the VPN fails, all traffic fails and windows wont leak my IP. I can ping the VPN and should be able to connect, but it wont.
The logs show it connects, then says "cannot detect default gateway" and "ovpnagent: request error". The only solution I found is to add back route 0.0.0.0 0.0.0.0 192.168.1.1, connect to the VPN, then remove this route. Other software such as Softeher with other VPN's dont cause such problems.
This OpenVPN is running in Oracle cloud. The machine is Windows, using OpenVPN Connect.
Is this an OpenVPN bug? Why wont it connect?
Routes + proof I can ping VPN: https://i.imgur.com/cdDYsQB.png (IP ending in .32 is the VPN)
OpenVPN Connect Error log: https://pastebin.com/KNTJjE1w(I redacted the VPN IP address and other sensitive info)
Client directive config: https://i.imgur.com/URj8IPF.png (Adding or removing this route 0.0.0.0 0.0.0.0 makes no difference)
The logs show it connects, then says "cannot detect default gateway" and "ovpnagent: request error". The only solution I found is to add back route 0.0.0.0 0.0.0.0 192.168.1.1, connect to the VPN, then remove this route. Other software such as Softeher with other VPN's dont cause such problems.
This OpenVPN is running in Oracle cloud. The machine is Windows, using OpenVPN Connect.
Is this an OpenVPN bug? Why wont it connect?
Routes + proof I can ping VPN: https://i.imgur.com/cdDYsQB.png (IP ending in .32 is the VPN)
OpenVPN Connect Error log: https://pastebin.com/KNTJjE1w(I redacted the VPN IP address and other sensitive info)
Client directive config: https://i.imgur.com/URj8IPF.png (Adding or removing this route 0.0.0.0 0.0.0.0 makes no difference)