by scktt · 5y ago · 0 comments
a script to set it all up (debian 8): https://gist.github.com/scktt/b586dd4bf5a19be91a978c6b2abb59...
Something like:
ssh -f -N -T -R 8080:localhost:80 user@external.example
Now access to your remote host on port 8080 will be mapped back to your home machine, behind the NAT. You could install nginx as a proxy for it, etc.