[Nottingham] Dealing with a router that does not support Port Forwarding

Mike Cardwell nlug at lists.grepular.com
Thu May 7 12:44:11 UTC 2015


* on the Thu, May 07, 2015 at 12:23:01PM +0100, Jason Irwin wrote:

> Can I have the Pi SSH to another machine and, somehow, then access the
> Pi via that other machine?

If you run this from your Pi:

   ssh -R 12345:127.0.0.1:22 some.other.host

Then any machine on "some.other.host" will be able to ssh in to your
Pi by doing:

   ssh -p 12345 127.0.0.1

It is very much worth adding the ssh options -L, -R and -D to your
repertoire if you want to be able to punch holes through firewalls
and NAT.

-- 
Mike Cardwell  https://grepular.com https://emailprivacytester.com
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3   B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1   BF1B 295C 3C78 3EF1 46B4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 598 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/nottingham/attachments/20150507/1d17d7ac/attachment.pgp>


More information about the Nottingham mailing list