Route static public IP to another static public IP



  • Hi all,

    Is it possible to do a configuration to route all requests (all ports) coming into the public IP of a pfsense router to another public IP on the internet ? Basically I have a service that I would like to run on a secondary server (located at a different geographical location then the primary server) but i have some clients with hardcoded IP addresses in the field that point to an existing IP so they can't do DNS resolution and obtain a new IP to go to.

    Can this work bidirectionally ?

    Here is a little graphical view of what i am trying to do

    Client in the field <–-> public IP 1 <--> pfsense <---> public IP 2

    thank you


  • Rebel Alliance Developer Netgate

    The only way it could work is if you also had outbound NAT fake the source so that the second server sees the firewall as the source of the traffic.

    Otherwise the far-side server would respond directly to the request, and the client would drop it.