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

    FQDN to port forward…

    General pfSense Questions
    3
    3
    2.4k
    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.
    • K
      Kartoff
      last edited by

      Hello again,

      I have little question i cant find an appropriate answer in search…

      I have pfsense with NAT and port forward active and i bought a domain... When i type "x.x.x.x:port" i end up where is supposed to go behind a NAT and it also work with "something.net:port"

      But i want "x.x.x.x:port" to be resolved as "something.domain.net" so when i type "something.domain.net" to reach target machine behind NAT... Can this be done ?

      Thank you :)

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        I assume you mean from LAN?  Use the DNS Forwarder to add a Host Override for your FQDN and point it to the LAN IP address.  If you are external then you need to update your domain registrar's zone record for your domain to point to the WAN IP address.

        1 Reply Last reply Reply Quote 0
        • P
          pf123user
          last edited by

          @Kartoff:

          Hello again,

          I have little question i cant find an appropriate answer in search…

          I have pfsense with NAT and port forward active and i bought a domain... When i type "x.x.x.x:port" i end up where is supposed to go behind a NAT and it also work with "something.net:port"

          But i want "x.x.x.x:port" to be resolved as "something.domain.net" so when i type "something.domain.net" to reach target machine behind NAT... Can this be done ?

          Thank you :)

          So for example, you might have a webserver or other similar site you are trying to host but your ISP blocks port 80… so you set up pfSense with a NAT to forward port 8888 (for example) to your internal web server's port 80... and now you want www.mydomain.com to resolve to your WAN xxx.xxx.xxx.xxx:8888??

          When you type www.mydomain.com:8888 the website resolves however when you type www.mydomain.com[without a port number] it does not resolve? This is because without specifying a port basic http protocol uses port 80 and it seems that you or your ISP do not allow access to port 80.

          I think that's going to be at your external DNS provider. I know that freeDNS does not offer that service however some paid services do. I believe that this is something outside of pfSense.

          OR

          You could get a business class connection with static IP that has no ports blocked to you. Call your ISP. I would bet they tell you that the port you are trying to use is blocked to retail customers.

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