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

    WAN Routing Rules

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 3 Posters 1.9k 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.
    • M
      m0nonoke
      last edited by

      I have a pfSense 1.2 multiwan setup configured and running as follows

      LAN (192.168.10.x)
                                    |
      WAN (192.168.162.x)  & OPT1 (192.168.1.x)

      WAN default gateway (192.168.162.254)
      OPT1 default gateway (192.168.1.254)

      I have two gateways on the WAN (192.168.162.x) network and I want to route packets from the LAN destined for 208.134.161.0 via an alternative gateway on the WAN network (192.168.162.70).

      I can't see how to add an additional gateway in the rules configuration screen.

      1 Reply Last reply Reply Quote 0
      • K
        ktims
        last edited by

        I don't think it's possible to do policy routing this way in 1.2.x, but apparently it is an added feature in 2.0.

        However, you could just create a static route for that IP/subnet via the other gateway. Or if the routers all support it, use RIP.

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          As ktims wrote: static routes are your friend :)

          A "kind of ugly" solution would be:
          1: Create in the loadbalance-config a failoverpool with a single dummy-entry.
          2: Download the config.xml and moddify the dummy to the gateway you want (make sure you have a monitor IP which is pingable).
          3: Restore the config.xml and you should now be able to select this failoverpool from the dropdown in the firewall-rule config.

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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