Wednesday, May 25, 2011

ssh port forwarding

At home I have dnated port ssh to my trusty old PC. From time to time, while at work, I need to access services I run on that machine. For a while I used to use a OpenVPN vpn to gain access but lately I've had some forewall issues.

So I went back to the good old openssh. To bind port 8080 at my notebook to port 8080 at home I just run the following command:

ssh artista@frustrado.no-ip.org -L 8080:127.0.0.1:8080