Tunnel bad routing

I have a server running a webserver and cloudflared tunnel in Japan that I am trying to access from a client in China.

Server: 172.104.103.129
Client: 58.41.18.209
domain name: hose.jchia.net

When I ping the server from the client, the latency is ~90ms.

On both the client & server, hose.jchia.net resolves to 172.67.140.141 & 104.21.87.39 using both 1.1.1.1 & 8.8.8.8.

Ping of 172.67.140.141 & 104.21.87.39 from the client is much higher, at ~140ms.

traceroute of both shows a scenic route through the US (218.30.54.214):

# traceroute 104.21.87.39
traceroute to 104.21.87.39 (104.21.87.39), 30 hops max, 38 byte packets
 1  124.74.56.216 (124.74.56.216)  5.854 ms  5.943 ms  3.853 ms
 2  101.95.90.173 (101.95.90.173)  6.162 ms  101.95.90.33 (101.95.90.33)  5.461 ms  101.95.90.41 (101.95.90.41)  5.637 ms
 3  61.152.24.86 (61.152.24.86)  7.969 ms  7.187 ms  101.95.88.70 (101.95.88.70)  7.031 ms
 4  202.97.57.25 (202.97.57.25)  10.022 ms  202.97.24.170 (202.97.24.170)  5.425 ms  202.97.24.198 (202.97.24.198)  6.316 ms
 5  202.97.39.189 (202.97.39.189)  1667.744 ms  202.97.12.210 (202.97.12.210)  7.731 ms  202.97.12.194 (202.97.12.194)  5.960 ms
 6  202.97.27.218 (202.97.27.218)  160.769 ms  202.97.71.198 (202.97.71.198)  127.953 ms  202.97.43.54 (202.97.43.54)  136.125 ms
 7  218.30.54.214 (218.30.54.214)  148.413 ms  211.285 ms  137.878 ms
 8  172.70.204.2 (172.70.204.2)  136.127 ms  146.845 ms  172.70.212.2 (172.70.212.2)  170.456 ms
 9  172.67.140.141 (172.67.140.141)  143.609 ms  146.091 ms  158.124 ms

# traceroute 172.67.140.141
traceroute to 172.67.140.141 (172.67.140.141), 30 hops max, 38 byte packets
 1  124.74.56.216 (124.74.56.216)  6.416 ms  5.965 ms  3.966 ms
 2  101.95.90.165 (101.95.90.165)  9.894 ms  101.95.90.41 (101.95.90.41)  5.580 ms  101.95.90.33 (101.95.90.33)  4.586 ms
 3  61.152.26.74 (61.152.26.74)  6.640 ms  7.474 ms  61.152.25.178 (61.152.25.178)  5.723 ms
 4  202.97.83.133 (202.97.83.133)  7.993 ms  202.97.50.222 (202.97.50.222)  5.965 ms  *
 5  202.97.39.189 (202.97.39.189)  7.740 ms  202.97.12.210 (202.97.12.210)  7.280 ms  202.97.12.194 (202.97.12.194)  6.175 ms
 6  202.97.27.218 (202.97.27.218)  160.476 ms  202.97.71.198 (202.97.71.198)  127.953 ms  202.97.43.54 (202.97.43.54)  135.832 ms
 7  218.30.54.214 (218.30.54.214)  147.407 ms  212.900 ms  137.477 ms
 8  172.70.204.2 (172.70.204.2)  137.473 ms  147.537 ms  172.70.212.2 (172.70.212.2)  170.318 ms
 9  172.67.140.141 (172.67.140.141)  144.219 ms  145.758 ms  157.806 ms

What can I do to get the routing fixed?

To be clear, the tunnel works but has poor routing and high latency, which I’m trying to solve.

This seems relevant

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.