我正在尝试使用特定接口远程登录公共服务器。
# telnet -b 10.144.238.192 google.com 80
Trying 142.251.42.14...
telnet: Unable to connect to remote host: Connection timed out
如果我在同一接口上使用 tcptraceroute 进行测试,结果看起来不错。
# tcptraceroute -i net1 google.com 80
Running:
traceroute -T -O info -i net1 -p 80 google.com
traceroute to google.com (142.251.42.14), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 182.19.106.105 (182.19.106.105) 5.928 ms 5.891 ms 5.873 ms
4 74.125.49.176 (74.125.49.176) 7.382 ms 7.040 ms 7.024 ms
5 172.253.69.227 (172.253.69.227) 6.790 ms 216.239.57.17 (216.239.57.17) 8.752 ms 8.840 ms
6 209.85.250.139 (209.85.250.139) 6.053 ms 209.85.248.61 (209.85.248.61) 4.767 ms 4.891 ms
7 bom12s19-in-f14.1e100.net (142.251.42.14) <syn,ack> 4.711 ms 4.683 ms 4.537 ms
知道发生什么事了吗?