peelingonion / autoddvpn

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

连上去后,所有ip都走本地GW? #107

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
請描述一下您進行怎樣的操作之後碰到了問題
按照graceMode的配置方法一步一步走下去,完成后重启路由。VP
N是已经连上去的,但是所有的貌似都走本地GW。VPN无效
tracert www.facebook.com 使用的是本地GW
tracert 8.8.8.8 第二行是VPN GW

你期待是怎樣的結果,然而卻出現了什麼情形?

[INFO#2234] 11/Dec/2011:19:31:40 vpndown.sh started
[INFO#2234] 11/Dec/2011:19:31:40 vpndown.sh ended
[INFO#2296] 11/Dec/2011:19:32:01 vpnup.sh started
[INFO#2296] 11/Dec/2011:19:32:01 router type: DD-WRT
[INFO#2296] 11/Dec/2011:19:32:02 adding the static routes, this may take a 
while.
[INFO#2296] 11/Dec/2011:19:32:26 loading vpnup_custom if available
[INFO#2296] 11/Dec/2011:19:32:26 preparing the exceptional routes
[INFO#2296] 11/Dec/2011:19:32:26 exceptional routes disabled.
[INFO#2296] 11/Dec/2011:19:32:26 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#2296] 11/Dec/2011:19:32:26 vpnup.sh ended
[INFO#3483] 11/Dec/2011:19:32:26 vpndown.sh started
[INFO#3483] 11/Dec/2011:19:32:26 vpndown.sh ended
[INFO#3520] 11/Dec/2011:19:32:40 vpnup.sh started
[INFO#3520] 11/Dec/2011:19:32:40 router type: DD-WRT
[INFO#3520] 11/Dec/2011:19:32:40 adding the static routes, this may take a 
while.
[INFO#3520] 11/Dec/2011:19:33:04 loading vpnup_custom if available
[INFO#3520] 11/Dec/2011:19:33:04 preparing the exceptional routes
[INFO#3520] 11/Dec/2011:19:33:04 exceptional routes disabled.
[INFO#3520] 11/Dec/2011:19:33:04 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#3520] 11/Dec/2011:19:33:05 vpnup.sh ended

請提供以下資訊:

1. 您的路由器型號:WRT54GS v3
2. DD-WRT版本:DD-WRT v24-sp2 (08/07/10) mega 
3. 您的作業系統:Win7
4. 您的瀏覽器版本:IE9+firefox
5. autoddvpn的連線模式:pptp+jffs
6. autoddvpn的運行模式,傳統模式(classicMode)還是優雅模式(g
raceMode):graceMode
7. DD-WRT WAN口連線模式是 pptp or dhcp or static :dhcp
8. 運行autoddvpn之後DD-WRT 的命令輸出 # route -n  | tail -n 20 :
61.63.52.0      192.168.23.1    255.255.255.0   UG    0      0        0 ppp0
209.133.27.0    192.168.23.1    255.255.255.0   UG    0      0        0 ppp0
122.147.51.0    192.168.23.1    255.255.255.0   UG    0      0        0 ppp0
78.129.203.0    192.168.23.1    255.255.255.0   UG    0      0        0 ppp0
192.168.24.0    0.0.0.0         255.255.255.0   U     0      0        0 br0
66.102.0.0      192.168.23.1    255.255.240.0   UG    0      0        0 ppp0
64.233.160.0    192.168.23.1    255.255.224.0   UG    0      0        0 ppp0
208.117.224.0   192.168.23.1    255.255.224.0   UG    0      0        0 ppp0
72.14.192.0     192.168.23.1    255.255.192.0   UG    0      0        0 ppp0
184.72.0.0      192.168.23.1    255.255.0.0     UG    0      0        0 ppp0
173.194.0.0     192.168.23.1    255.255.0.0     UG    0      0        0 ppp0
69.63.0.0       192.168.23.1    255.255.0.0     UG    0      0        0 ppp0
69.171.0.0      192.168.23.1    255.255.0.0     UG    0      0        0 ppp0
66.220.0.0      192.168.23.1    255.255.0.0     UG    0      0        0 ppp0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 br0
74.125.0.0      192.168.23.1    255.255.0.0     UG    0      0        0 ppp0
203.84.0.0      192.168.23.1    255.255.0.0     UG    0      0        0 ppp0
116.214.0.0     192.168.23.1    255.255.0.0     UG    0      0        0 ppp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 vlan1

(以上1-8點必填,否則可能沒辦法即時協助你解決問題)

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

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

Original issue reported on code.google.com by z...@dxyer.com on 11 Dec 2011 at 12:37

Attachments:

GoogleCodeExporter commented 9 years ago
nslookup www.facebook.com IP 多少

看看那個ip是否有在vpnup.sh 裏面
看看是否定義了dnsmasq_options?

Original comment by pahud...@gmail.com on 11 Dec 2011 at 12:42

GoogleCodeExporter commented 9 years ago
nslookup www.facebook.com的结果是:
服务器:  ddwrt
Address:  192.168.24.1
非权威应答:
名称:    www.facebook.co
Address:  78.16.49.15

我的dnsmasq_options是空的。
要把78.16.49.15写进去vpnup.sh吗?如何写呢?
例如(route add -net 106.52.0.0/14 gw $OLDGW)的14是什么意思?

Original comment by z...@dxyer.com on 11 Dec 2011 at 1:25

GoogleCodeExporter commented 9 years ago
graceMode需要設定好dnsmasq_options,  詳見這份文件

http://code.google.com/p/autoddvpn/wiki/graceMode

Original comment by pahud...@gmail.com on 11 Dec 2011 at 1:34

GoogleCodeExporter commented 9 years ago
我加上了dnsmasq_options。
tracert www.facebook.com
到 www.facebook.com [66.220.149.25] 的路由

  1     1 ms     1 ms     1 ms  itoyou [19
  2   234 ms   230 ms     *     192.168.88
  3     *        *        *     请求超时。
  4     *        *        *     请求超时。
  5     *        *        *     请求超时。
  ...

不知道是不是vpn的问题,我准备清除设置直接连vpn看看如何

Original comment by z...@dxyer.com on 11 Dec 2011 at 2:19

GoogleCodeExporter commented 9 years ago
不用PPTP了,换成openvpn就好了。
目前的问题是,facebook可以访问,youtube也可以,就是twitter打�
��开,不知道什么原因。

Original comment by nikeja...@gmail.com on 13 Dec 2011 at 3:36