What's new

Can't use OVPN with Dual-Wan load balancer routes

  • 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!

MHK1996

New Around Here
OVPN won't work while my Dual-Wan is routing different devices through different WANs.
I tried moving up the iprule but if I move it above the routing option the routing get's disabled and uses both connections at the same time.

Example:
I have PC go through WAN1
TV go through WAN2
I want to use VPN only on TV and all WAN2 connections go through OVPN.

Model: Asus RT-AC68U using 386.5 MerlinWRT
 
Both dual WAN and the OpenVPN clients implement their own independent routing policies, w/ those of the former taking precedence over the latter. They are effectively incompatible. In fact, w/ dual WAN enabled and configured for load balancing, you can't even access the OpenVPN clients since they are managed w/ different routing tables (ovpnc1, ovpnc2, etc.) from those of dual WAN (wan0 & wan1).

In short, it's one or the other, NOT both.
 
OVPN won't work while my Dual-Wan is routing different devices through different WANs.
I tried moving up the iprule but if I move it above the routing option the routing get's disabled and uses both connections at the same time.

Example:
I have PC go through WAN1
TV go through WAN2
I want to use VPN only on TV and all WAN2 connections go through OVPN.

Model: Asus RT-AC68U using 386.5 MerlinWRT
Are you sure you moved the VPN RPDB rules to take priority over the Dual-WAN rules?
 
Are you sure you moved the VPN RPDB rules to take priority over the Dual-WAN rules?
I have done these I dont know if thats what you mean:
iprule - dual wan rules was pref 100
iprule add pref 50 all to ovpn1 - to add ovpn rule above the dual wan rules
iprule del pref 5004 - which was the original vpn rule pref
 
I have done these I dont know if thats what you mean:
iprule - dual wan rules was pref 100
iprule add pref 50 all to ovpn1 - to add ovpn rule above the dual wan rules
iprule del pref 5004 - which was the original vpn rule pref
Correct, PRIO 50 should take precedence over the Dual-Wan RPDB rules.

It's been a while since I was using Dual-WAN with Selective OpenVPN routing, and things have moved-on/changed (well the vpnrouting script is no longer implemented) so not sure what else has changed.
 
Correct, PRIO 50 should take precedence over the Dual-Wan RPDB rules.

It's been a while since I was using Dual-WAN with Selective OpenVPN routing, and things have moved-on/changed (well the vpnrouting script is no longer implemented) so not sure what else has changed.
When I do that it ignores the dual wan routing rules and gives me the combined net going through vpn which is mess cause it has different IP on each internet
 
It works with the IP Rules in place, I have it implemented in my Dual WAN Failover Script to handle OVPN in load balancing mode.
 

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!

Staff online

Top