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

    Destination based port forwarding

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 1.7k 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.
    • 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
      • jimpJ
        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
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.