Remote shell over cellular+vpn in Sailfish

asked 2019-01-13 17:31:02 +0200

Pasko gravatar image


Version of Sailfish comes with new firewall rules to improve security. One of these changes forbids remote ssh access over the cellular connection which is great.... except if you are already securing your cellular data connection through an VPN.

In order to recover ssh access via cellular+VPN I added a few lines at the end of file:


The lines added where these:


IPv4.INPUT.RULES = -p tcp -m tcp --dport 22 -j ACCEPT
IPv6.INPUT.RULES = -p tcp -m tcp --dport 22 -j ACCEPT

After these changes, restart the network subsystem via Settings App -> Utilities -> Restart Network and try to connect again to see if it works.

I hope this helps someone :).


edit retag flag offensive close delete