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

    Nat port 80 , 2 internal webserver

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 4 Posters 640 Views
    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.
    • I Offline
      ilmasterx
      last edited by

      hi,
      I come from the Microsoft world and especially TMG.
      I in tmg I created 2 nat port 80, the same public IP, and was doing a www record to a ip and email records to another internal ip.
      with pfsense how can I do having only one public ip?

      thanks

      M.

      1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator
        last edited by

        Huh??  You can have lots of port forwards in pfsense.  But you can not send dest port 80 to your public IP to more than just 1 internal IP.  You could forward 80 to 1 internal IP on 80, and then say 81 to port 80 on another internal IP.

        I you want to forward to different IPs via dest port 80, then you would need to use a reverse proxy.  Add the package to pfsense and set that up.  Not sure what that has to do with email records?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

        1 Reply Last reply Reply Quote 0
        • M Offline
          marvosa
          last edited by

          Well, if I recall correctly, TMG is the next version of ISA and ISA either was or could be configured as a reverse proxy, so you'd have to configure a reverse proxy to retain the same functionality in PFsense.

          Offhand, I think squid can be configured as a reverse proxy.

          1 Reply Last reply Reply Quote 0
          • luckman212L Offline
            luckman212 LAYER 8
            last edited by

            HAproxy can also do this…...not sure which is better/more suited to this task (Squid vs HAproxy)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.