My english is not perfect but I hope you understand anyway
The request is specific for the router in question (ASUS RT-AC68U Merlin firmware version 378.56 beta 2), and I would do it all over the user interface, without the use of scripts dedicated.
The goal:
The situation now is:
And it work !
The IPs in the range .2 to .31 now pass through the VPN and all other pass through the WAN.
Now... if I activate the VPN-2 with this policy rules (simplifying the test with a single IP):
My smartphone (192.168.1.35) and all other lan client go throught the VPN-1 ! Why ? and how can change the config for goal ?
Thanks !
PS. If I mantain the policy rule on VPN-2 but deactivate the VPN-2 the rule "work" because the smartphone (192.168.1.35) is not able to navigate, being the VPN-2 disabled and the roule "Block routed clients if tunnel goes down" activated.
The request is specific for the router in question (ASUS RT-AC68U Merlin firmware version 378.56 beta 2), and I would do it all over the user interface, without the use of scripts dedicated.
The goal:
Router ip: 192.168.1.1
DHCP : From 192.168.1.100 to 192.168.1.150
VPN-1 (destination X) : all client in 192.168.1.0/27 (from .0 to .31)
VPN-2 (destination Y) : all client in 192.168.1.32/27 (from .32 to .63)
All other IPs must go on WAN (DHCP IP included)
DHCP : From 192.168.1.100 to 192.168.1.150
VPN-1 (destination X) : all client in 192.168.1.0/27 (from .0 to .31)
VPN-2 (destination Y) : all client in 192.168.1.32/27 (from .32 to .63)
All other IPs must go on WAN (DHCP IP included)
The situation now is:
Router ip: 192.168.1.1
DHCP : From 192.168.1.100 to 192.168.1.150
VPN-1 ACTIVE with Policy rules:
DHCP : From 192.168.1.100 to 192.168.1.150
VPN-1 ACTIVE with Policy rules:
source: 192.168.1.1 - destination: 0.0.0.0 - iface: WAN
source: 192.168.1.0/27 - destination: 0.0.0.0 - iface: VPN
source: 192.168.1.0/27 - destination: 0.0.0.0 - iface: VPN
And it work !
The IPs in the range .2 to .31 now pass through the VPN and all other pass through the WAN.
Now... if I activate the VPN-2 with this policy rules (simplifying the test with a single IP):
source: 192.168.1.1 - destination: 0.0.0.0 - iface: WAN
source: 192.168.1.35 - destination: 0.0.0.0 - iface: VPN
source: 192.168.1.35 - destination: 0.0.0.0 - iface: VPN
My smartphone (192.168.1.35) and all other lan client go throught the VPN-1 ! Why ? and how can change the config for goal ?
Thanks !
PS. If I mantain the policy rule on VPN-2 but deactivate the VPN-2 the rule "work" because the smartphone (192.168.1.35) is not able to navigate, being the VPN-2 disabled and the roule "Block routed clients if tunnel goes down" activated.