Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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 was marked as an exact duplicate of an existing question.

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.