Open GoogleCodeExporter opened 9 years ago
你是指 exroute_custom 這功能是嗎?
exroute_custom 是在vpnup.sh裡面一連串的route add最後才執行的。
Original comment by pahud...@gmail.com
on 10 Feb 2011 at 12:32
不是exroute_custom
是VPNUPCUSTOM='/jffs/openvpn/vpnup_custom',我发现这段代码是放在rout
e
add之前加载的。从理论上来讲,放在后面的话全更合理,这��
�就可以加gw $OLDGW,是解决直连的也别一个好的途径。
Original comment by yinxiaoh...@gmail.com
on 10 Feb 2011 at 8:06
http://code.google.com/p/autoddvpn/source/browse/trunk/vpnup.sh
這裡面並沒有VPNUPCUSTOM呀,你是說哪一個file?
classicMode裡面如果有自定義直連需求,是用exroute機制處理的
http://code.google.com/p/autoddvpn/wiki/ExRoute
Original comment by pahud...@gmail.com
on 10 Feb 2011 at 8:10
哦看到了,你是說graceMode的部分,我同意你的看法,我來處��
�一下。
Original comment by pahud...@gmail.com
on 10 Feb 2011 at 8:11
http://autoddvpn.googlecode.com/svn/trunk/grace.d/vpnup-beta.sh
我放到後面去了,你試試看用這個取代原本的vpnup.sh,看是否
滿足你的需求?
Original comment by pahud...@gmail.com
on 10 Feb 2011 at 8:16
哈哈。您太敬业了。很专业。
Original comment by yinxiaoh...@gmail.com
on 10 Feb 2011 at 8:28
已经成功了。非常感谢您。
更新前:
root@DD-WRT:# traceroute www.msn.com
traceroute to us.co1.cb3.glbdns.microsoft.com (65.55.17.26), 30 hops max, 38 byt
e packets
1 172.16.1.1 (172.16.1.1) 237.992 ms * 280.293 ms
更新后:
root@DD-WRT:~# traceroute www.msn.com
traceroute to us.co1.cb3.glbdns.microsoft.com (65.55.17.27), 30 hops max, 38 byt
e packets
1 119.xxx.xx2.1 (119.xxx.xx2.1) 20.650 ms 27.608 ms 21.495 ms
Original comment by yinxiaoh...@gmail.com
on 10 Feb 2011 at 8:46
好的,過兩天我放到正式的位置去。
Original comment by pahud...@gmail.com
on 10 Feb 2011 at 9:13
http://autoddvpn.googlecode.com/svn/trunk/grace.d/vpnup-beta.sh
这个可以用!谢谢啦!
Original comment by xiab...@gmail.com
on 16 Oct 2011 at 2:06
Original issue reported on code.google.com by
yinxiaoh...@gmail.com
on 9 Feb 2011 at 11:45