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

    One WAN IP, Multiple Web servers

    NAT
    2
    2
    2.7k
    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.
    • H
      henryb
      last edited by

      Hi,
      I'm wondering if it is possible to use pfSense as a "reverse-proxy" without involving extra software like Squid, IQ Reverse Proxy and so on.

      My situation is like this:
      I have registered two internet Domains. e.g.
      www.aaa.no
      www.yyy.no
      Both have set their DNS-record to my static WAN-addess, e.g. 81.0.130.10

      On the inside (LAN), I have two physical Web-servers running, e.g. one Apache- and one Lotus Domino-server.
      Both are responding on tcp port 80.
      I can easily change local port for one of the servers e.g. port 81 for Domino, if it makes things easier.

      From the outside (internet) I would like to access both servers on port 80, and it should be redirected to the corresponding Web-server depending on the URL.

      www.aaa.no -> 81.0.130.10 -> 10.10.1.5 (Apache server)
      www.yyy.no -> 81.0.130.10 -> 10.10.1.6 (Domino server)

      Is this achievable with pfSense only?

      Any ideas would be highly appreciated :)

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        You can do this with a properly configured apache.
        But not with pfSense directly.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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