Reverse SSH tunnelling for browsing the internet on a distant server without internet connection

view story

http://serverfault.com – I need to connect myself (Mac OSX) through SSH on a distant server (Unix also) which has no internet access. I would like to browse the internet on the server (updates and other stuffes), so I've made a reverse HTTP tunnel. I've installed SquidMan on my Mac OSX laptop, as proxy server. This is my config: HTTP port: 8080 visible host name: localhost This is the way I connect myself through SSH in the reverse tunnel: ssh -R 8080:localhost:8080 [email protected] -p 6666 -X -v On the server, because I've started X, I can open the distant Firefox browser, and this is my proxy config: As HTT (HowTos)