How to forward one public IP to 2 private IPs with NAT with 3 different ports



  • Hi Everyone,

    I am newbie to pfSense. My current network architecture is

    Web Server (Co-location)–->ISP--->Cisco Router--->pfSense--->2 Internal Servers (Same Subnet, 192.x.x.1, 192.x.x.2).

    My ISP provides me with one static IP address (10.x.x.x). Web Server needs to communicate 2 internal servers with 4 ports, 2 same and 2 different ports. How can I configure pfSense to translate the IP (ISP provide) to the private IP with NAT to the 2 internal servers which use different ports. I also want to know how to configure inbound or outbound NAT in pfSense.

    Please help me how to solve this problem.

    best regard
    winoo



  • If you have two hosts sharing web services on same port with only one valid ip address, you will need a proxy package like varnish to do this.

    take a look on doc.pfsense.org

    there are many docs to help

    http://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense%3F


Log in to reply