Port based routing question



  • one Question:

    I have an pfsense setup 1x wan (10.64.1.101, gw 10.64.1.1) and 1xlan (192.168.x.x)

    now I need to route traffic from lan interface (only from one port) to another gateway on the wan interface (10.64.1.163)
    the rest should go trough the standard gw.
    Is there an easy way to do this? ???

    thanks for your reply(s)



  • This is kind of a hack but it works:

    Create a loadbalancing-pool with only one entry: your WAN.

    Download the config.xml, find the loadbalancing-part and replace the WAN-part with your other gateway.
    Restore the modified config.xml.
    Now if you use in a firewall-rule as gateway this balancing-pool, traffic handled by this rule will be directed to your second gateway.


Locked