Closed GoogleCodeExporter closed 8 years ago
root@tomato:/tmp/home/root# route -n | tail -n 20
112.224.0.0 192.168.2.1 255.224.0.0 UG 0 0 0 vlan2
111.128.0.0 192.168.2.1 255.224.0.0 UG 0 0 0 vlan2
110.96.0.0 192.168.2.1 255.224.0.0 UG 0 0 0 vlan2
36.96.0.0 192.168.2.1 255.224.0.0 UG 0 0 0 vlan2
110.192.0.0 192.168.2.1 255.224.0.0 UG 0 0 0 vlan2
36.192.0.0 192.168.2.1 255.224.0.0 UG 0 0 0 vlan2
39.64.0.0 192.168.2.1 255.224.0.0 UG 0 0 0 vlan2
117.128.0.0 192.168.2.1 255.192.0.0 UG 0 0 0 vlan2
59.192.0.0 192.168.2.1 255.192.0.0 UG 0 0 0 vlan2
183.192.0.0 192.168.2.1 255.192.0.0 UG 0 0 0 vlan2
111.0.0.0 192.168.2.1 255.192.0.0 UG 0 0 0 vlan2
183.0.0.0 192.168.2.1 255.192.0.0 UG 0 0 0 vlan2
39.128.0.0 192.168.2.1 255.192.0.0 UG 0 0 0 vlan2
120.192.0.0 192.168.2.1 255.192.0.0 UG 0 0 0 vlan2
116.128.0.0 192.168.2.1 255.192.0.0 UG 0 0 0 vlan2
223.64.0.0 192.168.2.1 255.192.0.0 UG 0 0 0 vlan2
112.0.0.0 192.168.2.1 255.192.0.0 UG 0 0 0 vlan2
36.128.0.0 192.168.2.1 255.192.0.0 UG 0 0 0 vlan2
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 11.97.0.9 0.0.0.0 UG 0 0 0 tun11
從這最後一行看起來,你的router default gw是VPN
gw了,這跟graceMode的機制是完全相反的,graceMode default gw是WAN
gw, 其餘會再vpnup.sh裡面依序走vpngw
是不是你的openvpn有設置redirect-gateway等設置,強迫openvpn
client全部流量走vpngw了?
我目前也是使用openvpn+jffs+graceMode on DDWRT,一切正常哦!
Original comment by pahud...@gmail.com
on 21 Jan 2012 at 6:57
另外如果你是用graceMode的話,你需要抓取的vpnup.sh在
http://autoddvpn.googlecode.com/svn/trunk/grace.d/vpnup.sh
而不是
for i in vpnup vpndown; do wget
http://autoddvpn.googlecode.com/svn/trunk/$i.sh;done;
再麻煩詳閱graceMode的文件吧
http://code.google.com/p/autoddvpn/wiki/graceMode
Original comment by pahud...@gmail.com
on 21 Jan 2012 at 7:00
[deleted comment]
你好,感谢你的回复,已经根据你回复2修改好了,现在都正�
��分离国内走当地ISP,被墙自动走VPN了。
但是发现一个疑问
执行命令:traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1 tomato (192.168.1.1) 0.567 ms 0.528 ms 0.300 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 202.39.235.195 (202.39.235.195) 402.838 ms 408.188 ms 407.939 ms
虽然都可以正常访问了(youtube.com视频也正常播放)
但是这个* 是咋回事了,我那里出错了?谢谢。
PS:任何被墙的站点都是这样的*,到最后一步骤会显示域名
指向的IP。
附
root@tomato:/tmp/home/root# route -n | tail -n 20
64.237.47.0 11.97.0.9 255.255.255.0 UG 0 0 0 tun0
209.85.175.0 11.97.0.9 255.255.255.0 UG 0 0 0 tun0
75.101.159.0 11.97.0.9 255.255.255.0 UG 0 0 0 tun0
78.129.203.0 11.97.0.9 255.255.255.0 UG 0 0 0 tun0
209.133.27.0 11.97.0.9 255.255.255.0 UG 0 0 0 tun0
122.147.51.0 11.97.0.9 255.255.255.0 UG 0 0 0 tun0
66.102.0.0 11.97.0.9 255.255.240.0 UG 0 0 0 tun0
64.233.160.0 11.97.0.9 255.255.224.0 UG 0 0 0 tun0
208.117.224.0 11.97.0.9 255.255.224.0 UG 0 0 0 tun0
72.14.192.0 11.97.0.9 255.255.192.0 UG 0 0 0 tun0
66.220.0.0 11.97.0.9 255.255.0.0 UG 0 0 0 tun0
74.125.0.0 11.97.0.9 255.255.0.0 UG 0 0 0 tun0
116.214.0.0 11.97.0.9 255.255.0.0 UG 0 0 0 tun0
203.84.0.0 11.97.0.9 255.255.0.0 UG 0 0 0 tun0
184.72.0.0 11.97.0.9 255.255.0.0 UG 0 0 0 tun0
173.194.0.0 11.97.0.9 255.255.0.0 UG 0 0 0 tun0
69.171.0.0 11.97.0.9 255.255.0.0 UG 0 0 0 tun0
69.63.0.0 11.97.0.9 255.255.0.0 UG 0 0 0 tun0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 218.85.96.1 0.0.0.0 UG 0 0 0 ppp0
Original comment by linjimmyiphone@gmail.com
on 22 Jan 2012 at 11:39
能回答一下吗?谢谢
Original comment by linjimmyiphone@gmail.com
on 24 Jan 2012 at 10:49
*符號應該是沒問題的,可能表示traceroute過程有節點不回覆icm
p造成。
Original comment by pahud...@gmail.com
on 24 Jan 2012 at 1:32
Original issue reported on code.google.com by
linjimmyiphone@gmail.com
on 21 Jan 2012 at 4:23