Routing web traffic based on source ip to two different web servers
ultimal last edited by
Is it possible to route packets to two different end points based on where the traffic originates, all using pfSense?
Web Server #1: 10.0.1.200/24
Web Server #2: 10.0.2.200/24
Route #1: IF SOURCE=22.214.171.124/24 THEN SEND PACKETS TO WEB SERVER #1
Route #2: IF SOURCE=126.96.36.199/24 THEN SEND PACKETS TO WEB SERVER #2
Just use those source networks as source networks in your port forward rules. Source networks in port forwards are hidden under the advanced button (for good reason). Leave the source port as any.