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

    Multiple dns on WAN

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 1.6k 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.
    • ?
      Guest
      last edited by

      Hi!

      I want to check, which dns was called to access the wan if.

      eg for Teamspeak:

      ts2.mydomain.com -> should nat to my ts2 server
      ts3.mydomain.com -> should nat to my ts3 server

      At the time I nat the ports to the servers, but i can access my ts3 server on ts2.mydomain.com

      how can I fix that?

      Regards
      Chris

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        You need a reverse proxy - take a look at the HAProxy package.

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          @Cry:

          You need a reverse proxy - take a look at the HAProxy package.

          Note that only applies to web traffic. Not familiar with TeamSpeak but it's not web traffic, I suspect it may be impossible to determine which hostname users are using (unless TeamSpeak embeds that within the packet). If it does embed it, you'll need to write a reverse proxy of sorts that understands that traffic and can pass it accordingly.

          What you'll probably have to do is have a unique public IP for each host.

          1 Reply Last reply Reply Quote 0
          • ?
            Guest
            last edited by

            Thank's for your posts!

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