Navigation

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

    Destination based port forwarding

    NAT
    2
    2
    1386
    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.
    • R
      Romep last edited by

      Hello,

      i want my pfSense home router to route packets with the destination mail.myhome.dyndns.tld:443 to server1:443 and if the destination is another domain the packets should be forwarded to server2:443. I only got one external IP where all packets for myhome.dyndns.tld arrive. Is this possible?

      greets Romep

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        No, your router does not see the DNS query so it has no idea which hostname was accessed.

        With HTTP you can pull some of that off with a reverse proxy, but I don't think the same thing works with SSL (I may be wrong, I don't work much with hosting SSL-enabled web sites)

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post