pahud / autoddvpn

Automatically exported from code.google.com/p/autoddvpn
0 stars 0 forks source link

更新脚本支持tomato主流版本的优雅/经典模式 #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
請描述一下您進行怎樣的操作之後碰到了問題
1.建议支持Tomato主流版本:dualwan
2.Toastman mod: http://www.4shared.com/dir/v1BuINP3/Toastman_Builds.html
3.shibby mod: http://tomato.groov.pl/

你期待是怎樣的結果,然而卻出現了什麼情形?
使用经典模式后,路由器VPN已连接,路由表已更新,但客户��
�无法ping通目标地址,使用DNSNASQ地址解析正常。

請提供以下資訊:

1. 您的路由器型號:H816B /BCM5354 
2. 
DD-WRT版本:http://tomato.groov.pl/K26/build5x-079V-EN/tomato-K26USB-1.28.905
xRAF-EN-MIPSR1-079V-AIO.trx (16M flash,也可以选择其他8M的)
3. 您的作業系統:WIN7
4. 您的瀏覽器版本:IE9
5. autoddvpn的連線模式(pptp+wget, pptp+jffs, 
openvpn+jffs等):openvpn+jffs
6. autoddvpn的運行模式,傳統模式(classicMode)還是優雅模式(g
raceMode):graceMode
7. DD-WRT WAN口連線模式是 pptp or dhcp or static 
:dhcp:,上级通过无线连接一个路由器地址是192.168.1.x
8. 運行autoddvpn之後DD-WRT 的命令輸出 # route -n  | tail -n 20 :
(以上1-8點必填,否則可能沒辦法即時協助你解決問題)
路由表log导出见附件

看openvpn 的LOG发现 
路由表好像被在执行完vpnup.sh后,OPENVPN加上了额外的东西,��
�改了默认路由:
.....
+ rm -f /tmp/autoddvpn.lock
Sat Oct 15 22:43:50 2011 /sbin/route add -net 67.215.231.211 netmask 
255.255.255.255 gw 192.168.1.1
Sat Oct 15 22:43:50 2011 /sbin/route del -net 0.0.0.0 netmask 0.0.0.0
Sat Oct 15 22:43:50 2011 /sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 
11.98.0.13
Sat Oct 15 22:43:50 2011 WARNING: potential route subnet conflict between local 
LAN [11.98.0.0/255.255.255.0] and remote VPN [11.98.0.1/255.255.255.255]
Sat Oct 15 22:43:50 2011 /sbin/route add -net 11.98.0.1 netmask 255.255.255.255 
gw 11.98.0.13
Sat Oct 15 22:43:50 2011 Initialization Sequence Completed
Sat Oct 15 22:43:50 2011 PUSH: Received control message: 
'PUSH_REPLY,redirect-gateway,dhcp-option DNS 8.8.8.8,route 11.98.0.1,topology 
net30,ping 10,ping-restart 120,ifconfig 11.98.0.14 11.98.0.13'

如果方便的話,請參考這裡的說明,貼上autoddvpn.log內容
(說明:http://code.google.com/p/autoddvpn/wiki/DEBUG)

[INFO#12094] 15/Oct/2011:22:43:18 vpnup.sh started
[INFO#12094] 15/Oct/2011:22:43:18 adding the static routes, this may take a 
while.
[INFO#12094] 15/Oct/2011:22:43:47 loading vpnup_custom if available
[INFO#12094] 15/Oct/2011:22:43:47 preparing the exceptional routes
[INFO#12094] 15/Oct/2011:22:43:47 exceptional routes disabled.
[INFO#12094] 15/Oct/2011:22:43:47 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#12094] 15/Oct/2011:22:43:48 vpnup.sh ended

最後如果可能的話,請附上截屏或任何可能有幫助的夾檔

所有log已上传附件

Original issue reported on code.google.com by pupi...@gmail.com on 15 Oct 2011 at 2:58

Attachments: