Hey all.
I am trying to make a server on my network available to the Internet so that I may open SSH shells on it from anywhere on the Internet. This used to be an easy setup for me, but I recently changed xDSL providers and, in doing so, have had a slight change in my network topography. This is how my network used to look...
Code:
(INTERNET) <---> [Old Modem]
ext: 71.33.23.256 <---> [Linksys Router]
ext: 71.33.23.256
int: 192.168.1.x <---> (Internal Network)
ssh server: 192.168.1.1
I apologize if the diagram is a bit unclear; the "ext" stands for "external" interface and "int" stands for "internal" interface. The Internet IP address is ficticious. But the main thing to note here is that the Linksys router actually used the modem's IP address (which is an Internet IP). This way, the Linksys router would know the real Internet IP and register itself with DynDNS.org for my domain name.
This is the new setup...
Code:
(INTERNET) <---> [Westell Modem]
ext: 71.33.23.256
int: 192.168.1.1 <---> [Linksys Router]
ext: 192.168.1.1
int: 192.168.2.x <---> (Internal Network)
ssh server: 192.168.2.1
As you can see, the new modem still gets an IP on the Internet, but it also supplies the internal interface with an internal address (whereas the old modem used the Internet IP for the internal address). This is a problem for setting up a dynamic DNS service such as DynDNS because the Linksys router no longer knows my real-world IP address. Moreover, it doesn't seem like setting up a simple port-forward on the Linksys router will do anything for me.
This is probably a simple "Routing 101" question for those of you well versed in this area, but if anybody could lend me a hand--preferably somebody with a similar setup--I'd be greatful!
Thanks!