Using a VPS as a proxy under linux

loki_

Registered Member
Joined
May 20, 2012
Messages
63
Reaction score
8
It turns out a lot of people don't know how to do this so I decided to put that hanging somewhere on the internet. You don't need to install special software or some squid firewall or anything. Here is what you need to do:
1. open a terminal and type:
ssh -D 5000 -l user your_vps_ip_or_address
(it could be any number other than 5000 just avoid 80 and 443)

2.open a browser(i personally use firefox for that), go to Edit->Preferences->Advanced->Network->Connection(Settings button)
Select manual proxy configuration, leave all fields empty except SOCKS Host. There you need to type
localhost
And
Port: 5000(or whichever you specified).

That's it. As long as you have your terminal running you will be good to go.

I'm pretty sure there is a way to do that in windows but idk-have't had windows on my computer for quite a while now... 10 years to be exact.
 
im going to try that out! i need to install linux or something on a vm :) now i gotta choose vmware or something else. i was reading that vmware doesnt work well with proxies :(
 
Just for the testing purpose-you don't really need to install a vm. A live cd would do just fine.

As I said-the best thing is that whatever you do you coud be sure that your ip is clean. Especially if you choose a vps hosting that is really strict about what you do with your vps(cinfu for example).
 
that won't make you a open proxy which might be found by others too?
 
that won't make you a open proxy which might be found by others too?

Not sure if i get your question but as long as you are the only one who has ssh to that particular vps nobody else will be able to use it...
 
that won't make you a open proxy which might be found by others too?
The port being opened(in the OP 5000) is only open on localhost/127.0.0.1 so no one else will be able to use the proxy.
 
Back
Top