Wednesday, April 24, 2013

network congested to a specific server? try ssh tunelling

SSH tunnelling basically open up a proxy through your localhost on a specific port,
and redirect the traffic through your ssh server to the destination domain.

#Run this SSH tunnel
ssh -f -L -N
#edit hosts file to point a domain to a localhost
vi /etc/hosts (/private/etc/hosts - on MAC OS)
#open this in browser

No comments: