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

    Static routes and Policy Based Routing do not work on Pfsense 2.0

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 3.3k 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.
    • G
      gjd
      last edited by

      Hi,

      I have a Pfsense 2.0 box setup (upgraded from 1.2.3) with 2 Nic (WAN and LAN)

      The WAN IP is 10.254.0.254/24 , the LAN IP is 10.100.1.254/24
      On the WAN side there are 2 gateways (adsl routers) configured: 10.254.0.1 (default gw) and 10.254.0.2 (2nd gw)

      I can add the 2nd gateway without problem in the 'Gateway' config, and i can also ping (and web access) the 2nd gateway from a PC on the LAN side without error.

      But somehow i cannot route any traffic to the 2nd Gateway.

      I tried both Rule based Policy Based Routing (no errors during config) and also a simple Static Route (also no errors), but the traffic keeps going through the default gateway.
      If i set a static route, it correctly shows up in my routing table.

      What am i doing wrong here? Is this a bug?

      regards, GJ

      1 Reply Last reply Reply Quote 0
      • F
        francesco_r
        last edited by

        Yes, it's a bug. See:
        http://forum.pfsense.org/index.php/topic,33554.0.html
        http://redmine.pfsense.org/issues/651

        1 Reply Last reply Reply Quote 0
        • G
          gjd
          last edited by

          Thanks Francesco,

          I noticed indeed similair problems, but if there is no fix (i cannot see if someone is working on it), is there maybe a manual (console) workarround for it?

          The only thing i want to accomplish is to route some traffic (network or host based) to a specific (not the default) WAN gateway.
          Is'nt that a very basic routing functionality?

          The routing part worked OK in 1.2.3 (as i recall) but i do not really want to downgrade to 1.2.3

          regards GJ

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