How to test Socks5 proxy with cURL

Posted on November 29, 2021 at 1:04 pm

An effective way to test socks5 proxy with cURL:

curl -x "socks5://<user>:<pass>@<ip>:<port>" -ipv4 -k -v

Important is the -ipv4 option to make the name resolving only ask for IPv4 addresses.

We noticed that without -ipv4 there may be errors like this:

curl: (97) Can't complete SOCKS5 connection to (3)

Receive updates via email

Other Posts

Updated Posts