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

How-to port forward on a URL address

Scheduled Pinned Locked Moved NAT
6 Posts 3 Posters 7.8k 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.
  • G
    gpapaiko
    last edited by Oct 29, 2010, 12:14 AM

    Hi,

    Can some tell me if it is possible to forward on url addreess.
    The scenario is;
    I have 3 domain names and need to be forwarded to 3 different servers based on the url name.

    url.com
    url1.com.au
    url2.net

    Server 1: 192.168.10.2 for url.com  –> port 80
    Server 2: 192.168.11.2 for url1.com.au --> port 80
    Server 3: 192.168.12.2 for url2.net --> port 80

    Is ther a way that this can be done.
    See image for network layout.

    iced-vlans.jpg
    iced-vlans.jpg_thumb

    1 Reply Last reply Reply Quote 0
    • B
      bellera
      last edited by Oct 29, 2010, 6:44 AM

      Using pfSense as DNS Forwarder. Add your names to the list…

      1 Reply Last reply Reply Quote 0
      • G
        gpapaiko
        last edited by Oct 29, 2010, 8:13 AM

        Hi,

        Forgot to mention that I only have one public ip address.
        Also not sure if the DNS forwarder will work, as I will also need to forward other ports as well like the email series of ports (snmtp, pop, imap..), netbios, remote connections, https,  and some others etc…
        Can that be done vi the DNS forwarder?

        thanks
        George

        1 Reply Last reply Reply Quote 0
        • C
          Cry Havok
          last edited by Oct 29, 2010, 10:39 AM

          What you're trying to do can only be done with HTTP and the use of a load balancer or similar - you'll find quite a few threads on the matter.

          For anything else you'll need multiple public IP addresses.

          1 Reply Last reply Reply Quote 0
          • B
            bellera
            last edited by Oct 29, 2010, 11:16 AM Oct 29, 2010, 11:13 AM

            I'm sorry!

            I thought you were talking obout internal resolution.

            If you want to resolve at the Internet side DNS Forwarder can't help you, of course.

            If you only have one public address I think you need a reverse proxy in your pfSense box.

            http://en.wikipedia.org/wiki/Reverse_proxy

            Regards,

            Josep Pujadas

            1 Reply Last reply Reply Quote 0
            • G
              gpapaiko
              last edited by Oct 29, 2010, 12:40 PM

              HI,

              Thanks to all for the comments and suggestions.

              From that it looks like I will need a reverse proxy and a internal DNS forwarder for the MX records.

              As for the other ports I will manage them via a "jump" box.

              If any one has any other options or comments they are welcomed.

              Thanks
              George

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received