Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Policy based routing

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 815 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JohnP_SHA
      last edited by

      Hi there,

      I am running a pfSense firewall since a few weeks with great success I got great throughput through OpenVPN tunnels. I live in China and not only blocked websites is an issue but also speed limitations. I have guaranteed pings and speeds to outside of china which is great for the tunnel. However just as out of china internet is usually slow it is also slow into china from outside into china, so some sites I can't open through the tunnel.

      The idea was policy based routing I installed pfBlocker which generates and updates a list of chinese ip address ranges and saves it as alias. I added a rule that sets gateway for those ips that match the list. However whatever I set all traffic always gets routed through the tunnel. Any Idea what I could be doing wrong?

      Once I solved this I'd actually add a tunnel for Americas to US West Coast and Taiwan for Asia to speed up things even more…

      Thank you very much for help

      Chris

      1 Reply Last reply Reply Quote 0
      • T
        timthetortoise
        last edited by

        You will also have to set up advanced outbound NAT for the IP ranges you want to be directed to the alternate gateway.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.