PFSENSE: routing packets based on source IP address

5,183

On pfense you can implement this easily via rules. Create a firewall rule and assign a gateway on the advanced tab of the rule options.

enter image description here

Share:
5,183

Related videos on Youtube

maths
Author by

maths

Programmer from Paraguay, South America. Love C/C++/C#, Scheme and Java.

Updated on September 18, 2022

Comments

  • maths
    maths almost 2 years

    I am trying to route packets (actually, trying to change DEFAULT GATEWAY) depending on source IP address with PFSENSE.

    ONE-SPECIFIC-IP ---> SPECIAL GATEWAY
    ANY-IP          ---> DEFAULT GATEWAY
    

    I guess this can be done with some similar to CISCO's PBR (policy based routing). But I need to do it with PFSENSE.

    Is it possible? What's the option I should be looking into to do this?