Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

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

    NAT
    2
    2
    2001
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      winoo last edited by

      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

      1 Reply Last reply Reply Quote 0
      • marcelloc
        marcelloc last edited by

        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

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • First post
          Last post