Fix OpenVPN route gateway is not reachable

Share this post to your friends !
  • 31
    Shares

SystemMen - This article will show you how to fix the gateway route OpenVPN error that is not reachable on any active network adapters.

OpenVPN errors appear on Windows client machines

I have the OpenVPN server installed for the clients in the company to use. Everything is fine but there are some Windows computers that fail as follows.

Warning: route gateway is not reachable on any active network adapters

This error will be displayed in the status log on the client, along with the yellow OpenVPN connection icon.

It appears on Windows 10 client, Windows 7 seems to be better.

Fix OpenVPN error route gateway is not reachable

If you encounter an error above, I hope the way below will help you solve the problem.

I have done it and it’s successful with the client machine in my company.

fix-openvpn-route-gateway-is-not-reachable Fix OpenVPN route gateway is not reachable
Fix OpenVPN route gateway is not reachable.

First, below is the content of the configuration file of the client OpenVPN before fixing the error. For example, file name client.ovpn.

client
remote 192.168.100.10 11194
ca "C:\Program Files\OpenVPN\config\vpnca.crt"
tls-auth "C:\Program Files\OpenVPN\config\vpn.tlsauth" 1
auth-user-pass
auth-nocache
auth SHA256
comp-lzo yes
dev tap
proto tcp
nobind
persist-key
persist-tun
remote-cert-tls server
remote-cert-eku "TLS Web Server Authentication"
cipher AES-256-CBC
script-security 2

And I added the following lines to the bottom of the OpenVPN configuration file on the client.

tap-sleep 3
verb 4
route-delay 1 3
route-method exe
ip-win32 netsh

After adding the above lines at the end of the file client.ovpn, save the file. I restart OpenVPN on the client again and it connects successfully.

Conclusion

Above is the experience of sharing error handling that I have encountered with OpenVPN on the client. I hope it will help you in case you encounter it.

If you liked this article, then please subscribe to our YouTube Channel for more video tutorials. You can also find us on Twitter and Facebook.


Share this post to your friends !
  • 31
    Shares
If you appreciate what we share in this blog, you can support us by:
  1. Stay connected to: Facebook | Twitter | Google Plus | YouTube
  2. Subscribe email to recieve new posts from us: Sign up now.
  3. Start your own blog with SSD VPS - Free Let's Encrypt SSL ($2.5/month).
  4. Become a Supporter - Make a contribution via PayPal.
  5. Support us by purchasing Ribbon Lite Child theme being using on this website.

We are thankful for your support.

«« »»

Got something to say? Join the discussion

Please keep in mind that all comments are subject to our Comment Policy. Your email address will not be published.
This site uses Akismet to reduce spam. Learn how your comment data is processed.