Port forwarding from external IP to another external IP
-
Hi,
I'm new to PFSense and not sure if this can be done. I have seen some 2+ years old posts related to this topic but no solution is mentioned. Here's my situation.
I have pfsense instance with 1 NIC with let's say Public IP is 1.1.1.1
I have a web server instance that not on local network and hosted somewhere else with public IP 2.2.2.2
VPN is not an option on these IPs. I'm trying to configure pfsense so all traffic arriving on ports (80,443,20,21,22) on IP 1.1.1.1 is forwarded to 2.2.2.2 on the same ports.
I am able to do it with SOCAT utility using the following command
socat TCP-LISTEN:80,fork TCP:2.2.2.2:80
but it's a small utility and no proper deamon/service is available for it. The only other option is IPTable but I really like pfsense GUI and I can use it for VPN as well.
Can someone please help?
-
I tried to do something like this with HAproxy and it didnt work, ill watch this thread!
-
You should watch his other thread.. He cross posted this exact question in multiple places - this one didn't get any traction.