1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Policy Routing

Discussion in 'Asuswrt-Merlin' started by keef, Dec 2, 2019.

  1. keef

    keef Regular Contributor

    Joined:
    Jan 6, 2017
    Messages:
    122
    Location:
    Ontario, Canada
    Hello. I am trying to to setup a pc to go around the VPN tunnel. Using OpenVPN I have policy rules enabled with VPN and WAN as the active interfaces. I entered the pc's ip (192.168.1.135) and selected WAN as the interface with no luck.

    I run Merlin 384.13 and its driving me nuts.

    thanks
     
  2. coxhaus

    coxhaus Part of the Furniture

    Joined:
    Oct 7, 2010
    Messages:
    3,186
    Location:
    texas
    Can you build another network and route around the VPN?

    Maybe create a routing statement for 1 IP?
     
  3. keef

    keef Regular Contributor

    Joined:
    Jan 6, 2017
    Messages:
    122
    Location:
    Ontario, Canada
    Would that be using Dual Wan?
     
  4. Val D.

    Val D. Very Senior Member

    Joined:
    Jun 16, 2019
    Messages:
    792
    Location:
    Great White North
    - assign manually an IP for this PC, so it doesn't change (important)
    - enable Redirect Internet traffic -> Policy rules (strict)
    - Block routed clients if tunnel goes down -> Yes (this is your Kill Switch, in case VPN goes down)
    - All Clients | 192.168.1.0/24 | 0.0.0.0 | VPN (for network-wide VPN)
    - Special PC | 192.168.1.135 | 0.0.0.0 | WAN (to exclude this PC from VPN)
    - Apply (don't forget to save the changes)
     
    keef likes this.
  5. keef

    keef Regular Contributor

    Joined:
    Jan 6, 2017
    Messages:
    122
    Location:
    Ontario, Canada
    Perfect! Works great, thanks for the help, I appreciate it.