FQDN to port forward…
-
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 :)
-
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.
-
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.