View Single Post
SteveYoungs's Avatar
Posts: 79 | Thanked: 47 times | Joined on Oct 2011 @ Brisbane, AU
#24
Originally Posted by mece View Post
ssh over 3g is blocked by a script that drops connections over gprs to port 22. The script is aegis protected so you can't just go and change it. This is how I solved the problem:
http://talk.maemo.org/showpost.php?p...7&postcount=56

It's a workaround, but it works.
All this script does is add a iptables rule to the device's firewall, and it is only for incoming connections. It does not stop you from ssh'ing from the device over 3g.

You can also easily remove the iptables rule that it adds with:

Code:
/sbin/iptables -D INPUT -i gprs0 -p tcp -m tcp --dport 22
 -j DROP
Note though that you would need to do this after ever reboot of the device. And also because of aegis weirdness you have to do this as "user" not as "root".
 

The Following 3 Users Say Thank You to SteveYoungs For This Useful Post: