Subdomain Port Forward

  • I think this is a port-forward question and haven't been able to find an answer from searching. What I am trying to do is make it so a sub domain of mine can forward to an internal server on a specific port.

    I have the sub-domain pointed to my WAN IP: A Record =

    How do I then say that any traffic coming in from should be fowarded to internal IP on port 8080? I can't seem to find how to setup a rule like that saying that traffic coming from a specific subdomain should do X basically.

    I appreciate the help in advance.

  • I don't think you can use domain names in port forward or 1:1 NAT rules. but you can NAT (via port forward or 1:1) to Firewall -> NAT. you can also get instructions on

  • You can't NAT by domain name, since NAT works at the IP layer. You could however install a reverse proxy (such as HA Proxy) and have it handle that, since that is one of the things it is designed to do.

Log in to reply