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

    Portweiterleitung anhand der Subdomain?

    Scheduled Pinned Locked Moved Deutsch
    4 Posts 3 Posters 625 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.
    • U
      unique24
      last edited by

      Hallo,

      ist es möglich anhand der subdomain eine entsprechende Portweiterleitung zu machen?

      Beispiel:
      Alle subdomains zeigen auf die selbe IP:
      ftp.firma.com soll auf 192.168.0.2
      cloud.firma.com soll auf 192.168.0.3
      portal.firma.com soll auf 192.168.0.4
      weitergeleitet werden.

      Ich möchte also unter dem 80er Port 3 Port Weiterleitungen einrichten ... aber halt abhängig von der aufgerufenen Subdomain.

      Wäre das möglich?

      1 Reply Last reply Reply Quote 0
      • GrimsonG
        Grimson Banned
        last edited by Grimson

        Kurze Antwort: Nein, so nicht.

        Lange Antwort: Bitte die Forensuche verwenden, diese und ähnliche Fragen kommen hier regelmäßig.

        1 Reply Last reply Reply Quote 0
        • V
          viragomann
          last edited by

          Geht nur mit einem Reverse Proxy, wie mit dem HA-Proxy Paket.
          Der Proxy muss dabei das jeweilige Protokoll verstehen. Also für HTTP geht es auf alle Fälle, für VoIP wohl eher nicht.

          1 Reply Last reply Reply Quote 0
          • U
            unique24
            last edited by

            Hallo,

            danke, habs hinbekommen:
            https://serverfault.com/questions/542416/having-two-subdomains-on-one-public-ip-addres-behind-pfsense-router

            squid3 hat funktioniert

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