Hurricane Electric's IPv6 Tunnel Broker Forums Specific Topics => Questions & Answers => Topic started by: on August 10, 2014, 05:45:19 AM

Title: Script to find closest HE tunnel server
Post by: on August 10, 2014, 05:45:19 AM

Before creating a tunnel, I wanted to know which tunnel server was closest (ping-wise) to my endpoint.
I couldn't find any existing solution to do that automatically, so I wrote a small bash script that pings all tunnel servers (as of 2014-08-06) and displays them sorted by their average ping times:

Pinging all servers is probably overkill, but I've had some unexpected results (e.g. a German cable ISP with lower ping times to Amsterdam and Zürich than to Frankfurt and Berlin), so I decided to check all of them at once.