Routing web traffic based on source ip to two different web servers
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=220.127.116.11/24 THEN SEND PACKETS TO WEB SERVER #1
Route #2: IF SOURCE=18.104.22.168/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.