View Single Post
Posts: 9 | Thanked: 8 times | Joined on Feb 2010
#37
Originally Posted by SubCore View Post
this will not work.

when you are online over gprs, you don't really have a public IP. you get a private IP inside your carrier's network, and every connection to the outside is "masked" with the carrier's public IP. hence many, many devices appear to have the same public IP.

the only way to make it work over gprs (other than signing an enterprise-level contract with your carrier to get a real public IP) is to set up some sort of virtual private network (VPN) to a trusted network. then you could access the device directly from that trusted network.
This might not be an answer to the original problem, but there is a simple way to connect to your n900 over gprs if your ssh server has a fixed public ip address.
By opening a reverse tunnel from n900 to the ssh server you can connect to n900 via that tunnel:

on n900 do:

ssh -R localhost:2222:localhost:22 username@server.ip

on the server do:

ssh -p 2222 root@localhost

This method of connecting to n900 with ssh works on wlan/lan also.

propelli
 

The Following User Says Thank You to propelli For This Useful Post: