I currently have a DSL modem at home that has a static IP (say
This modem is connected to a wireless router which has a few machines connected to it.
For sake of simplicity, from now on, I refer to the network behind
My goal is to be able to
ssh into any machine behind
home-net without resorting to ugly
port-forwarding and port mappings.
Towards implementing this, My plan is:
- Add entry
hostson any machine I want to
- Set up
home-netrouter for DNS queries
- A machine (on the same network) running
bindreceives these DNS queries and resolves them to LAN IPs
I don't fully understand how to implement it..I'm hoping that a DNS query would be sent to
home-net asking for the system in question (example
pc1) which would get forwarded to the machine running
bind that will resolve this to some LAN IP..I'm not sure whether this is sufficient to solve the problem though..
I haven't been able to implement or test this yet..Sadly, setting up a DNS server using
bind seems to be far more complicated than I estimated..
My questions are:
- Is it possible to use this single static IP to ssh into any machine in
ssh firstname.lastname@example.org(both default port 22)?
- Would this setup even work?
- Is there an easier way to do this?