clowwindy / ShadowVPN

Removed according to regulations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SV 0.2 NAT 能ping 不能Traceroute。

shao222 opened this issue · comments

Server:Debian 7 Wheezy + Shadowvpn 0.2.0-1
Client:OpenWrt Chaos Calmer 15.05-rc3 + Shadowvpn 0.2.0-1
https://github.com/aa65535/openwrt-shadowvpn

Server正常启用 user_token ,client也正常设置了。启动后,可以正常使用。
但是Traceroute 有些不异常,情况如下:
在openwrt 上可以traceroute 8.8.8.8

root@shaoLS1900:/etc/config# traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 38 byte packets
 1  10.7.0.1 (10.7.0.1)  43.100 ms  43.090 ms  43.211 ms
 2  104.156.238.5 (104.156.238.5)  43.008 ms  43.636 ms  43.013 ms
 3  *  *  *
 4  xe-0-3-0-9.r02.tokyjp03.jp.bb.gin.ntt.net (117.103.177.33)  44.637 ms  44.194 ms  44.497 ms
 5  117.103.177.18 (117.103.177.18)  44.202 ms  44.190 ms  43.932 ms
 6  216.239.50.241 (216.239.50.241)  44.501 ms  44.285 ms  44.402 ms
 7  209.85.255.229 (209.85.255.229)  44.842 ms  209.85.255.209 (209.85.255.209)  44.867 ms  216.239.43.15 (216.239.43.15)  48.002 ms
 8  google-public-dns-a.google.com (8.8.8.8)  44.243 ms  44.278 ms  44.508 ms

在openwrt lan下面的终端上,无法traceroute,可以Ping。

shaoRMBP:~ shao$ traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
 1  shaols1900 (172.16.10.1)  1.229 ms  0.824 ms  0.793 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * *^C
shaoRMBP:~ shao$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=54 time=45.763 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=45.699 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=45.576 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=54 time=45.648 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=54 time=46.178 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=54 time=46.064 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=54 time=45.529 ms

tcpdump from openwrt client with SV NAT
http://107.191.52.18/tcpdump_openwrt_client.txt

tcpdump from vps server with SV NAT
http://107.191.52.18/tcpdump_vps_server.txt

想问一下 现在服务端如何安装shadowvpn 那些源都无法使用了