Can socks5 be blocked by gov?
Posted: Sun May 31, 2026 8:21 pm
I created a socks5 proxy using `danted` on an ubuntu server, and it works fine with a client on a free world, but when I test it from hell (read Iran) it doesn't seem to connect:
```
> curl -x socks5://USER:PASSWORD@ADDRESS:1782 https://ifconfig.me
curl: (97) cannot complete SOCKS5 connection to ifconfig.me. (8)
````
BUT strangely, when I used it with softether/vpngate with UDP, it connected fine. Could it be the UDP connection does not use the socks5 proxy? could it be a misconfguration on the server-side? any help is appreciated
```
> curl -x socks5://USER:PASSWORD@ADDRESS:1782 https://ifconfig.me
curl: (97) cannot complete SOCKS5 connection to ifconfig.me. (8)
````
BUT strangely, when I used it with softether/vpngate with UDP, it connected fine. Could it be the UDP connection does not use the socks5 proxy? could it be a misconfguration on the server-side? any help is appreciated