What's new

Multiple Redundant OpenVPN Client Routing Issues

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Ignotus

New Around Here
I have been using an OpenVPN client with selective routing for a while and it works as expected. I only have two rules defined so that all traffic goes through the VPN except my TV:

TV 192.168.2.254 0.0.0.0 WAN
all 192.168.2.0/24 0.0.0.0 VPN

However, from time to time the VPN server I'm using will go down / stop routing traffic. Since I have the kill switch enabled, this kills my entire home network. I want to get rid of this single point of failure and have multiple VPN clients enabled for redundancy so that if one goes down, another will route my traffic. From reading some posts on this forum it SOUNDS like if I have the kill switch disabled on the first client but enabled on the last active VPN client, it will stop any unwanted traffic from going out the WAN.

However, when I define a second VPN client with the same selective routing rules, my TV no longer gets routed to the WAN. It now gets routed through VPN Client 1's tunnel instead. Have I confused the router by setting conflicting rules? Is there anyway to achieve what I want?
 
I have been using an OpenVPN client with selective routing for a while and it works as expected. I only have two rules defined so that all traffic goes through the VPN except my TV:

TV 192.168.2.254 0.0.0.0 WAN
all 192.168.2.0/24 0.0.0.0 VPN

Have I confused the router by setting conflicting rules?

You need to check the routing tables and RPDB rules for conflicts
Code:
ip route show table main

ip route show table ovpnc1
ip route show table ovpnc2
etc.

ip rule
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top