I'm not sure if what I want to do is possible, and google wasn't my friend in researching this, hopefully someone here may have an idea.
From my office, I need to run a piece of software that will talk to multiple computers on my network at home. Unfortunately, it does not support communication on alternate ports, meaning that I could only set up one machine at home.
What I'm wondering is if there was a way to run a DNS server at home, and define machine1.example.com, machine2.example.com, etc, and route specific ports for these domain names to the correct machines behind the firewall.
Right now, everything that I've ever set up at home I'm just hitting specific ports at my main domain name (example.com), and iptables takes care of everything I need, but for this issue, I'm stumped at how to proceed.
To make this an easy example, pretend that machine1 and machine2 were both web servers, and I need to reach each of them on port 80. Can this be done?