How to ping through SOCKS5 proxy?
6,422
ICMP protocol won't work over SOCKS, but you can employ nmap to do TCP ping. Check this l4ping to see how to do that.
Related videos on Youtube
Author by
mfbayrarian
Updated on September 18, 2022Comments
-
mfbayrarian almost 2 years
I have some
SOCK5
proxy made throughSSH tunnel
as127.0.0.1:8080
(8081, 8082, etc). I want to ping a website through different proxies to find which one provides a faster route.How can I use the
ping
command or similar ones in Ubuntu terminal to do? Ultimately, I wish to write abash
script for the whole comparison. -
Adrien over 7 yearsCorrect, SOCKS5 only supports TCP and UDP, so you could also theoretically do a UDP ping, but support for UDP seems a bit less reliable in SOCKS servers, probably because it's not often used.
-
Adrien over 7 yearsP.s. ping is ICMP not IGMP
-
Alex over 7 years@Adrien You right, typo fixed