Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This question already has an answer here:

I'm based in the UK and would like to proxy my browser traffic through a CentOS server I have set up in the US. From what I've gathered through Google if I execute a command like this on my server:

ssh -C2qTnN -D 8080 username@remote_host

It will set up a SSH tunnel on my server for 127.0.0.1:8080 pointing to username@remote_host. But how do I set up a basic proxy (I don't need any encryption) so I can plonk in an ip:port into my web browsers proxy settings and proxy through my remote server when browsing the internet?

share|improve this question

marked as duplicate by Michael Hampton, quanta, sysadmin1138 Feb 23 '13 at 3:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

You already did set up the proxy! The -D option causes sshd to run a local SOCKS proxy on the specified port. Now all that remains is for you to configure your browser to use it.

share|improve this answer
    
Alright, so in my browser settings I put server_ip:8080 and browse as normal? Won't I be resitrcted to the remote_host rather than being able to browse the interwebs? –  Joe Feb 23 '13 at 3:13
    
No, your connections are proxied through the remote host. Didn't you already try this?!? –  Michael Hampton Feb 23 '13 at 3:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.