Fun little project I threw together last month. Wanted ping/mtr/trace from a few vantage points without paying $20/month for some hosted looking glass.
Grabbed a 512MB NAT VPS from OVHcloud for €5/mo (IPv6 + 20 IPv4 ports). Threw on debian, bird2, and a tiny flask app. It actually works.
# lg.py (trimmed)
@app.route("/ping/<target>")
def do_ping(target):
return subprocess.check_output(
["ping", "-c", "5", "-i", "0.2", target],
text=True
)Bird2 announces a /48 I split from my Vultr tunnel. Upstream sees me at two pops now. Total build time: maybe 3 hours with coffee breaks.
Currently supports ping, mtr, traceroute, and a basic bgp summary. Thinking about adding lg.sh-style shareable links next.