On Wed, Feb 8, 2012 at 3:54 PM, kenneth gonsalves <[email protected]> wrote: > hi, > > I maintain a server in a remote place. It is connected to a LAN - the > LAN is the usual poor man's LAN which uses the BSNL router as the dhcp > server. They have dynamic IP from bsnl. The machine the machine has a > fixed IP (192.168.1.123). The inward facing IP of the router is > 192.168.1.1. Is it possible to ssh into this machine from outside, and > if so how? > --
An extremely popular thread! Great going! I always run a perl script from the dyndns.org site that updates the IP whenever it changes. You have to tweak it a bit everytime you have a different MODEM. Basically all it does is figure out its own IP using the same method as http://www.checkmyip.com which is nothing but a simple CGI that prints the env var REMOTE_ADDR Anyway other than port forwarding there is one more technique which is quite excellent as there is no need to do any port forwarding but it is complex to get working and it requires the machine to be always up and requires a third machine with a public IP. With all these needs I call it excellent since it kind of breaks firewalls and is quite interesting both from a crypto angle and from a networking angle. Anyway I am not going to dwell upon this because if you search last year's or the previous year's posts I have sent a ssh port forwarding technique mail. Look at that and you will know what to do. -Girish -- G3 Tech Networking appliance company web: http://g3tech.in mail: [email protected] _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
