• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

Script to find closest HE tunnel server

Started by n.st, August 10, 2014, 05:45:19 AM

Previous topic - Next topic

n.st

Hi,

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:
https://gist.github.com/n-st/93d695af455d071c218c

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.