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

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
 

eibgrad

Part of the Furniture
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.
 

Martineau

Part of the Furniture
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?
 

MHK1996

New Around Here
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
 

Martineau

Part of the Furniture
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.
 

MHK1996

New Around Here
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
 

Latest threads

Sign Up For SNBForums Daily Digest

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