Having trouble with multiple public IP's getting routed correctly.
I'd like to setup the following network:
public_ip1(assigned WAN IF) -> pfSense -> server 1,2,3 - 192.168.0.11, .12, .13
public_ip2(assigned WAN2 IF) -> pfSense -> server 4 - 192.168.0.22
I setup a second interface for public_ip2, I also added a firewall and NAT rule that anything on public_ip2 is allowed/forwarded to 192.168.0.22. I added an outbound rule that anything from 192.168.0.22 goes to WAN2.
From the 192.168.0.22 server when I try to use something like curl http://ipecho.net/plain it returns the public_ip1. The gateway for my public_ip2 is set correctly in the interface setup.
I can ssh into the .22 server on public_ip2 and all is well.
What am I missing?