What's new

Policy-based routing

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

binford

New Around Here
I have configured my RT-AC87U with PIA VPN. Works great. The routers IP-Adress is 192.168.178.1. Is there a simple way to configure policy-based routing as followed:

192.168.178.2 => tunnnel (tun11)
the rest (xxx.3-xxx.254) => not tunnel (wan)
 
I have configured my RT-AC87U with PIA VPN. Works great. The routers IP-Adress is 192.168.178.1. Is there a simple way to configure policy-based routing as followed:

192.168.178.2 => tunnnel (tun11)
the rest (xxx.3-xxx.254) => not tunnel (wan)

Yes, see the firmware's README on how to configure policy-based routing.
 
so i have to do the following:

Policy based routing:

PC1 192.168.178.2 0.0.0.0 WAN
PC2 192.168.178.3 0.0.0.0 VPN
PC3 192.168.178.4 0.0.0.0 VPN
and so on to
PC254 192.168.178.254 0.0.0.0 VPN ?

But i can define there only 100 rules!
 
You have it reversed. The default state is to use the WAN for all traffic. So you need to add one rule for the client you want to use the VPN.
 
remember you can insert IP ranges e.g. 192.168.178.0/24 to route to either the WAN or VPN. then rules for individual IP addresses to create exceptions to the IP range rule.
 

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