Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to use HTTP over SSH since in my university most of the sites are blocked. I have my own server to which I can using SSH. What I'm doing right now is have a squid proxy run on the server on a particular port. Then connect using putty to my server via ssh and create a tunnel from a certain local port (which I will enter as proxy server in Firefox) to the squid server. So in putty the configuration is like this for the tunnel:

 source port:8080
 destination:localhost:3128

I want to know is there any other way other than running the squid proxy on my server to tunnel the packets? Thanks.

share|improve this question

1 Answer 1

well, i would just skip the whole squid part and use

% ssh -N -D 9999 user@myserver

which creates a SOCKS-proxy on localhost:9999 ...

share|improve this answer
3  
If the university somehow filters DNS requests (which I doubt, but I'm not an expert) then one also might want to ensure the DNS requests are proxied too, for otherwise the browser won't know what IP address to ask for the website. In Firefox use about:config to set network.proxy.socks_remote_dns to true then. –  Arjan Jan 8 '10 at 8:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.