VPS one-click scripts

VPS Back-Route Tutorial (NextTrace / traceroute)

This tutorial shows how to inspect a VPS route to several public resolvers with xyz.sh/route. Official NextTrace is preferred; the script can fall back to system traceroute.

Command
$ curl -fsSL xyz.sh/route | bash

Details · xyz.sh/route · Last updated:

Steps

Run: curl -fsSL xyz.sh/route | bash

Default targets are 1.1.1.1, 8.8.8.8, 223.5.5.5, and 119.29.29.29. You may pass your own: bash -s -- 1.1.1.1 example.com.

If nexttrace is missing, the script asks whether to install official NextTrace (https://nxtrace.org/nt). If you decline, it uses traceroute or tracepath. You can also pass --traceroute from the start, or --install-only to install without tracing.

ICMP traces may be more complete as root on some systems, but root is not required.

Removing NextTrace

This wrapper has no uninstall command. The official NextTrace installer typically places a single binary at /usr/local/bin/nexttrace or /usr/bin/nexttrace; remove that file as their docs describe. Do not remove the system's traceroute or tracepath unless you intend to.