Skip to content
lanzai.co
Go back

besttrace.sh: One-Command Return Route Testing

besttrace.sh is a very popular one-click return-route (回程) testing script for Linux. The name usually refers to two different but related projects: one maintained by “搬瓦工中文网” (Bandwagon Host Chinese site) and another maintained by tomdiary on GitHub. Both aim to simplify return-route testing with similar core functionality.

Core Features and Benefits

The core value of besttrace.sh is reducing complex return-route testing to a single command with automatic analysis.

Quick Start: Installation and Usage

Both scripts are very easy to install and use.

Option 1: 搬瓦工中文网 Maintained Version

The most common version online.

After running, the script prompts you to choose a test mode:

请选择测试模式:
0. 测试所有节点(默认-直接回车)
1. 仅测试电信(ChinaTelecom)
2. 仅测试联通(ChinaUnicom)
3. 仅测试移动(ChinaMobile)
4. 仅测试教育网(CERNET)
5. 自定义IP测试(自动识别运营商)
请输入选项[0-5]:

Enter the corresponding number and press Enter to start the test.

Option 2: tomdiary/besttrace (GitHub Maintained)

An open-source project continuously updated on GitHub.

Interpreting the Results

After the script finishes, the output clearly shows routing information for every hop with intelligent analysis.

In short, besttrace.sh reduces complex return-route testing to a single command with automatic analysis, making it ideal for quickly evaluating a VPS’s return-route network quality.


Share this post:

Previous Post
AI Agent: Skills vs Tools vs MCP, What's the Difference
Next Post
Deploying an Astro Blog to a Server (nginx)