Super User is a question and answer site for computer enthusiasts and power users. 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

I have a VPS and until now have been using a socks5 server on it.

The problem is that recently my ISP (I live in Iran) has figured out some way to interrupt it and I'm receiving the "blocked page" for websites which are censored even through the proxy service. I know in some way that the problem isn't with the VPS, it's located in Germany and when used with other ISPs there's no problem.

What is causing the problem? Isn't the socks5 connection secure? What are the alternatives?

share|improve this question
can you ssh -D 9999 to your vps and use the localhost:9999 as the socks-proxy? – akira Apr 25 '12 at 6:57
on Windows, any ways to do so? can be done with putty? – Nig Apr 25 '12 at 6:59
@Nig: Yes, it can be done with PuTTY, if you can SSH the VPS. – Daniel Andersson Apr 25 '12 at 7:26
@Nig:… – akira Apr 25 '12 at 7:41
@akira thanks, worked but the speed is not satisfying. – Nig Apr 25 '12 at 7:52

well, an ISP knows if you have a tcp or udp connection, it might look into the packets and then knows if the connection is encrypted or not.

an ISP (which wants to disturb such encrypted connections) might start dropping packets. depending on the amount of dropped packets the connection then either dies or feels reaaaaaally slow and sluggish (coz tcp would have to reask the server to resend the (dropped) missing packets).

to find out if your ISP drops packets you have to use something like wireshark might help you in detecting what is going on ( ).

as mentioned in my comments to your question you might want to try putty. if this channel has connection problems caused by your ISP as well: bad luck. if putty / ssh works you might want to setup a SOCKS-proxy through ssh and see if that helps.

share|improve this answer
it helped, is it normal that my connection through ssh is much slower than when I used the socks5? – Nig Apr 25 '12 at 8:02
well, when you put something in a box and wrap it in another box and in another box .. you can expect things to be a little bit wrapped up :) ( ) – akira Apr 25 '12 at 8:10
:) yeah but I guess its again the ISP doing their special service on port 22! – Nig Apr 25 '12 at 8:16
any way!, if I'm seeing the "blocked page", then socks is TCP and not encrypted, what can I do? any other proxy servers I can run on the VPS? – Nig Apr 25 '12 at 8:18
@Nig: you can change the ssh-port on your VSP as well... socks through ssh (putty) is encrypted. i am not sure if the DNS-queries from the browser are routed through the SOCKS as well ... if they are resolved from your ISP that might explain why you get "blocked" pages. – akira Apr 25 '12 at 8:18

I encountered the same issue as you mentioned and I found that the problems lies with the DNS server of your ISP.

I used my VPS to ping the server I wanted to access and I checked the IP that I am getting from the ping I am doing on my computer and they are completely different.

So I simply added that ip to my hosts file and viola! Done.

I didn't try and change the DNS servers on my network settings though. Thought it was too hassle

share|improve this answer
Set you DNS server as Then install OpenDNS on your client machine. It uses TCP instead of UDP that your ISP could not simply modify you DNS response. – celeron533 Jan 14 '15 at 7:02

Your Answer


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

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