Help with NAT and/or DNS



  • I'm running into a problem trying to configure my NAT or DNS, and I have no idea where to even start. If anyone could give me a hand, I would greatly appreciate it.

    I have a dynamic DNS set up with afraid.org for my IP. I have my home's IP address forwarded to home.domain.net. I run a Dell R710 with ESXi on it for my router and all my virtual servers. One of those servers is my Plex server.

    The Plex server has a built in web client for accessing all my media files. Right now, in order to access it, I have to type in home.domain.net:32400/web to access it. I would like to change that to plex.domain.net and have that auto direct to the right IP and port.

    Something else I would like to do is very similar for game servers, so I could have game.domain.net auto direct to it's proper local IP on my network. I have Charter Communications and I'm pretty sure I can't get a second IP as they won't even give me a static IP at a home address.

    Is there anyway to do this? Thanks very much.



  • well you have to execute this step by step forward.

    i suggest you start working / setting up pfsense on the private or LAN site.
    Once you are able to browse your game server through "pfsense" then I will help you setup the NAT process.

    Pardon me, you mentioned that you were able to browse "home.domain.net:32400/web" was this through pfsense?
    Kindly clear this out.

    perdong



  • I have the NAT all set up and forwarding properly. My subnet is 192.168.10.0/24.

    I can navigate to home.domain.net:32400/web from any location and it will properly connect to my home IP and forward to my Plex virtual server.



  • @Kingkoopa:

    The Plex server has a built in web client for accessing all my media files. Right now, in order to access it, I have to type in home.domain.net:32400/web to access it. I would like to change that to plex.domain.net and have that auto direct to the right IP and port.

    Something else I would like to do is very similar for game servers, so I could have game.domain.net auto direct to it's proper local IP on my network. I have Charter Communications and I'm pretty sure I can't get a second IP as they won't even give me a static IP at a home address.

    I think this could only be reached either by a specific public IP address for each host you want to access or by a proxy server.

    The proxy will be your favourite choice. There are some packages available for pfSense, but I don't know about their capabilities in port translation.



  • I was afraid of that. I highly doubt Charter will even give me a /30, so a preferable /29 is probably out of the question. With the proxy server, wouldn't I still run into the same problem since I only have 1 public IP? Any domain I assign to my public IP would just show up as my IP with no other identifier?