Linux云服务器回程线路一键测试脚本介绍
Linux云服务器回程线路一键测试脚本是建站经验分享根据Chennhaoo开源脚本AutoTrace.sh进行修改更新的Linux服务器回程线路一键测试脚本,可以一键测试Linux系统的独立服务器、云服务器到国内电信、联通、移动、教育网线路情况,因此通过Linux云服务器回程线路一键测试脚本测试就可以直观的了解到自己国外云服务器到国内电信、联通、移动、教育网分别走什么线路?是否直连?目前Linux云服务器回程线路一键测试脚本支持自由选择BestTrace库或者Nexttrace库来进行测试,同时还支持自由选择中英文两种方式输出测试信息,也还可以指定IPv4/IPv6地址进行回程线路测试。同时为了方便自己和网友使用,建站经验分享长期对此脚本的测试节点进行维护,如果发现有节点不可用了或者无效了可以通过邮箱联系建站经验分享进行节点维护!具体功能如下图介绍!
如何测试国内电信、联通、移动线路到Linux云服务器去程线路情况
Linux云服务器回程线路一键测试脚本是可以测试Linux服务器到国内电信、联通、移动、教育网的线路情况,可以很直观的知道Linux服务器到国内电信、联通、移动、教育网分别走什么线路,是否直连?而关于国内电信、联通、移动线路到云服务器和独立服务器去程线路的测试,建站经验分享在如何测试服务器真实线路情况_使用PING测速工具及一键回程路由追踪脚本来测试服务器线路教程文章当中做了介绍,可以自己去参考详情,国内三网到服务器、云服务器的去程线路可以通过https://tools.ipip.net/ping.php、https://ping.pe/两个网站就可以进行测试。
Linux云服务器回程线路一键测试脚本使用教程
1、Linux云服务器回程线路一键测试脚本使用命令。
首先根据自己的系统情况选择对应命令安装执行Linux云服务器回程线路一键测试脚本的依赖程序,一般来说都是会自动带有wget程序的。
RedHat/CentOS安装装wget
yum -y install wget
Debian/Ubuntu安装wget
apt install -y wget
安装好wget依赖后,执行下面脚本即可对Linux云服务器或独立服务器进行回程线路测试。
wget -N --no-check-certificate https://raw.githubusercontent.COM/wn12cn/www.wn12.cn/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh
2、目前建站经验分享对IPv4节点进行维护和更新,因此相对来说IPv4节点测试成功率是比较高的!建议使用BestTrace库或者Nexttrace库的中文输出来进行测试,也就是选择“1”或者“2”!
下面是选择“2”号测试项的测试结果展示,从测试结果来看12个测试几点是全部有效的,其中电信、联通、移动、教育网各三个测试节点。
No:1/12 Traceroute to 中国 广州 电信 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - 104.19.28.108 - 0.91ms IP Geo Data Provider: LeoMoeAPI traceroute to 125.88.145.121, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 1.54 ms 2 80.249.212.76 AS4134 荷兰 北荷兰省 阿姆斯特丹 chinatelecom.com.cn 5.69 ms 3 202.97.92.9 AS4134 [CHINANET-BB] 中国 上海市 chinatelecom.com.cn 电信 205.38 ms 4 * 5 202.97.71.253 AS4134 [CHINANET-BB] 中国 广东省 广州市 chinatelecom.com.cn 电信 213.17 ms 6 113.96.255.50 AS4134 [CHINANET-GD] 中国 广东省 佛山市 chinatelecom.com.cn 电信 201.40 ms 7 121.9.239.74 AS4134 [CHINANET-GD] 中国 广东省 佛山市 chinatelecom.com.cn 电信 220.96 ms 8 * 9 * 10 * 11 * 12 125.88.145.121 AS4134 [CHINANET-GD] 中国 广东省 佛山市 chinatelecom.com.cn 电信 209.90 ms No:2/12 Traceroute to 中国 江苏 电信 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - 104.19.29.108 - 1.02ms IP Geo Data Provider: LeoMoeAPI traceroute to 58.215.144.100, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 5.93 ms 2 80.249.212.76 AS4134 荷兰 北荷兰省 阿姆斯特丹 chinatelecom.com.cn 1.72 ms 3 * 4 * 5 * 6 * 7 * 8 61.177.113.90 AS23650 中国 江苏省 无锡市 chinatelecom.cn 电信 178.98 ms 9 221.228.1.250 AS4134 [CHINANET-JS] 中国 江苏省 无锡市 chinatelecom.com.cn 电信 172.04 ms 10 * 11 * 12 * 13 58.215.144.100 AS23650 [CHINANET-JS] 中国 江苏省 无锡市 chinatelecom.cn 电信 174.10 ms No:3/12 Traceroute to 中国 北京 电信 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - [2606:4700:3030::6815:34ee] - 1.35ms IP Geo Data Provider: LeoMoeAPI traceroute to 219.141.147.210, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 15.74 ms 2 80.249.214.131 AS4134 荷兰 北荷兰省 阿姆斯特丹 chinatelecom.com.cn 3.47 ms 3 202.97.83.225 AS4134 [CHINANET-BB] 中国 北京市 chinatelecom.com.cn 电信 130.39 ms 4 202.97.53.61 AS4134 [CHINANET-BB] 中国 北京市 chinatelecom.com.cn 电信 235.74 ms 5 202.97.94.233 AS4134 [CHINANET-BB] 中国 北京市 chinatelecom.com.cn 电信 155.01 ms 6 * 7 106.120.254.2 AS4847 [CHINANET-GD] 中国 北京市 chinatelecom.cn 153.93 ms 8 219.141.147.210 AS4847 [CHINATELECOM-BJ] 中国 北京市 chinatelecom.cn 201.46 ms No:4/12 Traceroute to 中国 福州 联通 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - 104.26.8.231 - 1.32ms IP Geo Data Provider: LeoMoeAPI traceroute to 36.248.43.210, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 4.78 ms 2 154.14.160.13 AS3257 荷兰 北荷兰省 阿姆斯特丹 gtt.net 1.49 ms 3 213.200.117.138 AS3257 [GTT-EU] 德国 黑森州 美因河畔法兰克福 gtt.net 6.19 ms 4 219.158.43.189 AS4837 [CU169-BACKBONE] 德国 黑森州 美因河畔法兰克福 chinaunicom.cn 联通 7.46 ms 5 219.158.3.241 AS4837 [CU169-BACKBONE] 中国 广东省 广州市 chinaunicom.cn 联通 162.56 ms 6 219.158.24.137 AS4837 [CU169-BACKBONE] 中国 广东省 广州市 chinaunicom.cn 联通 158.69 ms 7 * 8 219.158.111.154 AS4837 [CU169-BACKBONE] 中国 广东省 广州市 chinaunicom.cn 联通 160.02 ms 9 58.22.110.178 AS4837 中国 福建省 福州市 chinaunicom.cn 联通 165.99 ms 10 * 11 58.22.108.138 AS4837 中国 福建省 福州市 chinaunicom.cn 联通 186.94 ms 12 * 13 36.248.43.210 AS4837 中国 福建省 福州市 chinaunicom.cn 联通 174.43 ms No:5/12 Traceroute to 中国 无锡 联通 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - 104.19.29.108 - 1.24ms IP Geo Data Provider: LeoMoeAPI traceroute to 153.35.105.1, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 0.59 ms 2 154.14.160.13 AS3257 荷兰 北荷兰省 阿姆斯特丹 gtt.net 1.18 ms 3 213.200.117.138 AS3257 [GTT-EU] 德国 黑森州 美因河畔法兰克福 gtt.net 14.67 ms 4 * 5 219.158.3.237 AS4837 [CU169-BACKBONE] 中国 广东省 广州市 chinaunicom.cn 联通 171.23 ms 6 219.158.3.165 AS4837 [CU169-BACKBONE] 中国 广东省 广州市 chinaunicom.cn 联通 191.88 ms 7 219.158.3.81 AS4837 [CU169-BACKBONE] 中国 广东省 广州市 chinaunicom.cn 联通 164.10 ms 8 219.158.114.214 AS4837 [CU169-BACKBONE] 中国 江苏省 南京市 chinaunicom.cn 联通 177.02 ms 9 153.35.95.218 AS140716 中国 江苏省 无锡市 cnispgroup.com 联通 187.16 ms 10 * 11 * 12 153.35.105.1 AS140716 中国 江苏省 无锡市 cnispgroup.com 联通 192.42 ms No:6/12 Traceroute to 中国 北京 联通 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - 104.26.8.231 - 1.23ms IP Geo Data Provider: LeoMoeAPI traceroute to 202.106.50.1, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 0.98 ms 2 154.14.160.13 AS3257 荷兰 北荷兰省 阿姆斯特丹 gtt.net 36.94 ms 3 213.200.117.138 AS3257 [GTT-EU] 德国 黑森州 美因河畔法兰克福 gtt.net 6.27 ms 4 219.158.43.189 AS4837 [CU169-BACKBONE] 德国 黑森州 美因河畔法兰克福 chinaunicom.cn 联通 6.94 ms 5 219.158.5.173 AS4837 [CU169-BACKBONE] 中国 香港 chinaunicom.cn 联通 149.27 ms 6 219.158.3.213 AS4837 [CU169-BACKBONE] 中国 广东省 广州市 chinaunicom.cn 联通 201.63 ms 7 219.158.3.93 AS4837 [CU169-BACKBONE] 中国 广东省 广州市 chinaunicom.cn 联通 186.82 ms 8 * 9 202.96.12.26 AS4808 [UNICOM-BJ] 中国 北京市 chinaunicom.cn 联通 246.57 ms 10 202.106.50.1 AS4808 [UNICOM-BJ] 中国 北京市 chinaunicom.cn 联通 235.38 ms No:7/12 Traceroute to 中国 贵阳 移动 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - 104.26.9.231 - 1.13ms IP Geo Data Provider: LeoMoeAPI traceroute to 211.139.0.10, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 0.56 ms 2 154.14.160.13 AS3257 荷兰 北荷兰省 阿姆斯特丹 gtt.net 1.96 ms 3 89.149.181.102 AS3257 [GTT-BACKBONE] 美国 加利福尼亚州 洛杉矶 gtt.net 140.02 ms 4 173.205.45.154 AS3257 [TINET-TINET] 美国 加利福尼亚州 洛杉矶 gtt.net 174.61 ms 5 223.120.6.217 AS58453 [CMI-INT] 美国 加利福尼亚州 洛杉矶 cmi.chinamobile.com 移动 200.53 ms 6 223.120.12.134 AS58453 [CMI-INT] 中国 上海市 cmi.chinamobile.com 移动 309.28 ms 7 221.183.89.178 AS9808 [CMNET] 中国 上海市 chinamobile.com 移动 322.97 ms 8 221.183.89.69 AS9808 [CMNET] 中国 上海市 chinamobile.com 移动 319.35 ms 9 221.183.89.46 AS9808 [CMNET] 中国 上海市 chinamobile.com 移动 371.57 ms 10 * 11 211.139.0.10 AS9808 [CMNET] 中国 贵州省 贵阳市 chinamobile.com 移动 298.46 ms No:8/12 Traceroute to 中国 南京 移动 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - [2606:4700:3030::6815:34ee] - 1.35ms IP Geo Data Provider: LeoMoeAPI traceroute to 39.134.69.205, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 2.70 ms 2 154.14.160.13 AS3257 荷兰 北荷兰省 阿姆斯特丹 gtt.net 1.40 ms 3 213.200.117.138 AS3257 [GTT-EU] 德国 黑森州 美因河畔法兰克福 gtt.net 6.80 ms 4 213.254.225.170 AS3257 [GTT-EU] 德国 黑森州 美因河畔法兰克福 gtt.net 9.42 ms 5 * 6 * 7 221.183.89.174 AS9808 [CMNET] 中国 上海市 chinamobile.com 移动 252.72 ms 8 221.183.89.69 AS9808 [CMNET] 中国 上海市 chinamobile.com 移动 266.73 ms 9 * 10 221.183.89.22 AS9808 [CMNET] 中国 上海市 chinamobile.com 移动 274.37 ms 11 183.207.22.18 AS56046 [APNIC-AP] 中国 江苏省 南京市 chinamobile.com 移动 290.99 ms 12 * 13 183.207.32.170 AS56046 [APNIC-AP] 中国 江苏省 无锡市 chinamobile.com 移动 280.16 ms 14 39.134.69.205 AS56046 中国 江苏省 南京市 chinamobile.com 移动 259.06 ms No:9/12 Traceroute to 中国 北京 移动 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - 104.26.8.231 - 1.17ms IP Geo Data Provider: LeoMoeAPI traceroute to 221.130.33.1, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 1.89 ms 2 154.14.160.13 AS3257 荷兰 北荷兰省 阿姆斯特丹 gtt.net 1.54 ms 3 89.149.181.102 AS3257 [GTT-BACKBONE] 美国 加利福尼亚州 洛杉矶 gtt.net 131.12 ms 4 173.205.45.154 AS3257 [TINET-TINET] 美国 加利福尼亚州 洛杉矶 gtt.net 152.42 ms 5 223.120.6.217 AS58453 [CMI-INT] 美国 加利福尼亚州 洛杉矶 cmi.chinamobile.com 移动 151.63 ms 6 223.120.12.214 AS58453 [CMI-INT] 中国 上海市 cmi.chinamobile.com 移动 368.17 ms 7 221.183.55.110 AS9808 [CMNET] 中国 北京市 chinamobile.com 移动 346.66 ms 8 221.183.46.250 AS9808 [CMNET] 中国 北京市 chinamobile.com 移动 332.06 ms 9 221.183.89.102 AS9808 [CMNET] 中国 北京市 chinamobile.com 移动 339.00 ms 10 * 11 * 12 211.136.58.122 AS56048 [CMNET] 中国 北京市 chinamobile.com 移动 327.83 ms 13 211.136.58.118 AS56048 [CMNET] 中国 北京市 chinamobile.com 移动 367.89 ms 14 221.130.33.1 AS56048 [CMNET] 中国 北京市 chinamobile.com 移动 328.12 ms No:10/12 Traceroute to 中国 河南 教育 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - 104.26.8.231 - 1.36ms IP Geo Data Provider: LeoMoeAPI traceroute to 59.69.128.21, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 0.64 ms 2 * 3 184.104.198.118 AS6939 [HURRICANE-11] 荷兰 北荷兰省 阿姆斯特丹 he.net 1.56 ms 4 72.52.92.213 AS6939 英国 英格兰 伦敦 he.net 7.20 ms 5 * 6 184.104.198.225 AS6939 [HURRICANE-11] 美国 加利福尼亚州 洛杉矶 he.net 134.25 ms 7 184.104.198.225 AS6939 [HURRICANE-11] 美国 加利福尼亚州 洛杉矶 he.net 133.59 ms 8 * 9 101.4.117.185 AS4538 [BJR-CERNET] 中国 北京市 cernet.edu.cn 教育网 144.00 ms 10 101.4.117.213 AS4538 [BJR-CERNET] 中国 北京市 海淀区清华园李兆基科技大楼 cernet.edu.cn 教育网 298.85 ms 11 * 12 101.4.115.114 AS4538 [BJR-CERNET] 中国 北京市 cernet.edu.cn 教育网 293.70 ms 13 * 14 101.4.115.114 AS4538 [BJR-CERNET] 中国 北京市 cernet.edu.cn 教育网 293.86 ms 15 101.4.115.58 AS4538 [BJR-CERNET] 中国 河南省 郑州市 cernet.edu.cn 教育网 297.91 ms 16 * 17 101.4.115.58 AS4538 [BJR-CERNET] 中国 河南省 郑州市 cernet.edu.cn 教育网 295.88 ms 18 * 19 121.194.14.5 AS4538 [BJR-CERNET] 中国 河南省 郑州市 cernet.edu.cn 教育网 304.57 ms 20 * 21 * 22 210.43.145.86 AS4538 [APNIC-AP] 中国 河南省 郑州市 cernet.edu.cn 教育网 308.70 ms 23 * 24 222.21.221.34 AS4538 中国 河南省 郑州市 cernet.edu.cn 教育网 308.16 ms 25 59.69.128.21 AS4538 中国 河南省 南阳市 cernet.edu.cn 教育网 308.71 ms No:11/12 Traceroute to 中国 上海 教育 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - 104.26.8.231 - 1.38ms IP Geo Data Provider: LeoMoeAPI traceroute to 111.186.58.212, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 0.65 ms 2 195.219.136.128 AS6453 荷兰 北荷兰省 阿姆斯特丹 tatacommunications.com 0.85 ms 3 80.231.152.168 AS6453 荷兰 北荷兰省 阿姆斯特丹 tatacommunications.com 140.88 ms 4 80.231.131.160 AS6453 英国 英格兰 伦敦 tatacommunications.com 144.85 ms 5 * 6 * 7 * 8 63.243.251.1 AS6453 美国 加利福尼亚州 圣克拉拉 tatacommunications.com 144.97 ms 9 101.4.117.213 AS4538 [BJR-CERNET] 中国 北京市 海淀区清华园李兆基科技大楼 cernet.edu.cn 教育网 332.59 ms 10 66.110.59.182 AS6453 美国 加利福尼亚州 洛杉矶 tatacommunications.com 155.45 ms 11 101.4.117.213 AS4538 [BJR-CERNET] 中国 北京市 海淀区清华园李兆基科技大楼 cernet.edu.cn 教育网 302.84 ms 12 101.4.113.130 AS4538 [BJR-CERNET] 中国 北京市 cernet.edu.cn 教育网 290.29 ms 13 * 14 * 15 * 16 * 17 202.112.27.14 AS24364 [CERNET-CN] 中国 上海市 cernet.edu.cn 教育网 321.30 ms 18 * 19 202.112.27.14 AS24364 [CERNET-CN] 中国 上海市 cernet.edu.cn 教育网 327.37 ms 20 10.255.38.57 * [RFC1918] 局域网 319.00 ms 21 10.255.38.2 * [RFC1918] 局域网 320.83 ms 22 10.255.38.57 * [RFC1918] 局域网 321.37 ms 23 111.186.58.212 AS4538 [APNIC-AP] 中国 上海市 cernet.edu.cn 教育网 313.43 ms No:12/12 Traceroute to 中国 北京 教育 (TCP Mode, Max 30 Hop, IPv4) =================================================================== NextTrace v1.1.2 2023-02-20T05:07:06Z 88e69f7 [NextTrace API] prefered API IP - 104.26.9.231 - 1.18ms IP Geo Data Provider: LeoMoeAPI traceroute to 101.6.15.130, 30 hops max, 32 byte packets 1 88.210.38.161 AS56630 俄罗斯 莫斯科州 谢尔吉耶夫 melbicom.net 0.63 ms 2 * 3 * 4 184.105.81.30 AS6939 [HURRICANE-11] 法国 普罗旺斯-阿尔卑斯-蓝色海岸大区 马赛 he.net 23.34 ms 5 * 6 * 7 123.255.91.118 * [HKIX-HK] 中国 香港 187.85 ms 8 101.4.114.181 AS4538 [BJR-CERNET] 中国 北京市 海淀区清华园李兆基科技大楼 cernet.edu.cn 教育网 259.08 ms 9 * 10 101.4.117.81 AS4538 [BJR-CERNET] 中国 北京市 cernet.edu.cn 教育网 262.16 ms 11 101.4.113.234 AS4538 [BJR-CERNET] 中国 北京市 cernet.edu.cn 教育网 256.39 ms 12 202.112.38.2 AS4538 [CERNET-CN] 中国 北京市 cernet.edu.cn 教育网 271.39 ms 13 118.229.4.78 AS4538 [BJR-CERNET] 中国 北京市 cernet.edu.cn 教育网 263.46 ms 14 118.229.2.66 AS4538 [BJR-CERNET] 中国 北京市 cernet.edu.cn 教育网 263.30 ms 15 118.229.8.6 AS4538 [BJR-CERNET] 中国 北京市 cernet.edu.cn 教育网 258.58 ms 16 * 17 101.6.15.130 AS4538 [BJR-CERNET] 中国 北京市 cernet.edu.cn 教育网 259.55 ms