harleylg / autoddvpn

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

linksys WRT54GV4 设置graceMode PPTP+jffs 无效 #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
請描述一下您進行怎樣的操作之後碰到了問題
1.按照graceMode进行设置,重启之后traceroute命令结果都是正确��
�,但就是无法访问twitter,facebook等站点
2.国内站点正常访问

你期待是怎樣的結果,然而卻出現了什麼情形?
被墙网站走VPN,否则直接访问

請提供以下資訊:

1. 您的路由器型號:linksys WRT54GV4
2. DD-WRT版本:DD-WRT v24-sp2 (10/10/09) mini
3. 您的作業系統:Windows 7
4. 您的瀏覽器版本:FF 3.6.13
5. autoddvpn的運行模式(pptp+wget, pptp+jffs, openvpn+jffs等):pptp+jffs
6. DD-WRT WAN口連線模式是 pptp or dhcp or static :ppoe
7. 運行autoddvpn之後DD-WRT 的命令輸出 # route -n  | tail -n 20 :

63.251.171.0    10.33.13.1      255.255.255.0   UG    0      0        0 ppp1
69.175.106.0    10.33.13.1      255.255.255.0   UG    0      0        0 ppp1
64.237.33.0     10.33.13.1      255.255.255.0   UG    0      0        0 ppp1
205.178.152.0   10.33.13.1      255.255.255.0   UG    0      0        0 ppp1
64.237.47.0     10.33.13.1      255.255.255.0   UG    0      0        0 ppp1
75.101.159.0    10.33.13.1      255.255.255.0   UG    0      0        0 ppp1
61.63.52.0      10.33.13.1      255.255.255.0   UG    0      0        0 ppp1
209.133.27.0    10.33.13.1      255.255.255.0   UG    0      0        0 ppp1
66.102.0.0      10.33.13.1      255.255.240.0   UG    0      0        0 ppp1
64.233.160.0    10.33.13.1      255.255.224.0   UG    0      0        0 ppp1
208.117.224.0   10.33.13.1      255.255.224.0   UG    0      0        0 ppp1
72.14.192.0     10.33.13.1      255.255.192.0   UG    0      0        0 ppp1
173.194.0.0     10.33.13.1      255.255.0.0     UG    0      0        0 ppp1
69.63.0.0       10.33.13.1      255.255.0.0     UG    0      0        0 ppp1
66.220.0.0      10.33.13.1      255.255.0.0     UG    0      0        0 ppp1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 br0
74.125.0.0      10.33.13.1      255.255.0.0     UG    0      0        0 ppp1
116.214.0.0     10.33.13.1      255.255.0.0     UG    0      0        0 ppp1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         58.246.216.1    0.0.0.0         UG    0      0        0 ppp0

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

root@WRT54GV4:~# tail -f /tmp/autoddvpn.log
[INFO#252] 10/Jan/2011:23:42:19 /tmp/pptpd_client/ip-down modified
[INFO#252] 10/Jan/2011:23:42:19 ALL DONE. Let's wait for VPN being connected.
[INFO#808] 10/Jan/2011:23:42:28 vpnup.sh started
[INFO#808] 10/Jan/2011:23:42:28 router type: DD-WRT
[INFO#808] 10/Jan/2011:23:42:28 loading vpnup_custom if available
[INFO#808] 10/Jan/2011:23:42:28 adding the static routes, this may take a while.
[INFO#808] 10/Jan/2011:23:42:45 preparing the exceptional routes
[INFO#808] 10/Jan/2011:23:42:45 exceptional routes disabled.
[INFO#808] 10/Jan/2011:23:42:45 exceptional routes features detail:  http://goo.
gl/fYfJ
[INFO#808] 10/Jan/2011:23:42:45 vpnup.sh ended

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

1.Additional DNSMasq Options
address=/www.facebook.com/66.220.146.25 
address=/www.youtube.com/72.125.95.190
address=/twitter.com/128.242.240.20
address=/www.twitter.com/128.242.240.20
address=/api.twitter.com/128.242.240.29
address=/encrypted.google.com/74.125.95.100
server=/google.com/8.8.8.8
server=/facebook.com/8.8.8.8
server=/fbcdn.net/8.8.8.8
server=/twitter.com/8.8.8.8
server=/youtube.com/8.8.8.8
server=/ytimg.com/8.8.8.8
server=/imageshack.us/8.8.8.8

2.
root@WRT54GV4:~# traceroute www.facebook.com
traceroute to www.facebook.com (66.220.146.25), 30 hops max, 38 byte packets
 1  10.33.13.1 (10.33.13.1)  298.224 ms  294.318 ms  298.660 ms
 2  * * *
 3  * * *

Original issue reported on code.google.com by yutao...@gmail.com on 10 Jan 2011 at 3:59

Attachments:

GoogleCodeExporter commented 9 years ago
你提供的log很清楚,從traceroute看來到facebook的路由已經可以��
�VPN, 不過你的PPTP 
server是否有打開NAT功能呢?看起來是server問題。

Original comment by pahud...@gmail.com on 10 Jan 2011 at 11:15

GoogleCodeExporter commented 9 years ago
谢谢指导,VPN管理员反馈PPTP server 
NAT功能正常,而且我在win7下直接拨号是可以正确连接的,还�
��可能是其他原因吗?

Original comment by yutao...@gmail.com on 11 Jan 2011 at 1:39

GoogleCodeExporter commented 9 years ago
DDWRT/autoddvpn播上之後你traceroute 8.8.8.8 看看是否可以通呢?

Original comment by pahud...@gmail.com on 11 Jan 2011 at 2:08

GoogleCodeExporter commented 9 years ago
traceroute 后面全是星号是否代表无法联通?

1
root@WRT54GV4:~# traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 38 byte packets
 1  10.33.13.1 (10.33.13.1)  301.669 ms  303.447 ms  301.277 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  72.14.236.176 (72.14.236.176)  302.296 ms 72.14.236.178 (72.14.236.178)  299
.972 ms  302.818 ms
 7  72.14.232.141 (72.14.232.141)  312.854 ms  315.665 ms  315.403 ms
 8  * * *
 9  72.14.239.189 (72.14.239.189)  318.713 ms *  311.816 ms
10  google-public-dns-a.google.com (8.8.8.8)  316.665 ms  310.595 ms  310.596 ms

2
root@WRT54GV4:~# traceroute twitter.com
traceroute to twitter.com (128.242.240.20), 30 hops max, 38 byte packets
 1  10.33.13.1 (10.33.13.1)  303.207 ms  302.212 ms  606.944 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *

Original comment by yutao...@gmail.com on 11 Jan 2011 at 12:07

GoogleCodeExporter commented 9 years ago
update
1.ping VPN网关 10.33.13.1可以ping通,是否说明PPTP已经拨上?
ping  10.33.13.1
正在 Ping 10.33.13.1 具有 32 字节的数据:
来自 10.33.13.1 的回复: 字节=32 时间=261ms TTL=63
来自 10.33.13.1 的回复: 字节=32 时间=257ms TTL=63
来自 10.33.13.1 的回复: 字节=32 时间=258ms TTL=63
来自 10.33.13.1 的回复: 字节=32 时间=259ms TTL=63

2.http://whatismyip.org/ 显示的是我公网的ip

Original comment by yutao...@gmail.com on 11 Jan 2011 at 1:30

GoogleCodeExporter commented 9 years ago
從你traceroute 8.8.8.8的結果看起來是正常的
不過traceroute twitter.com看起來不大正常

你如果電腦直接播上VPN再traceroute twitter.com結果如何呢?

另外你有其他VPN帳號試試嗎?

Original comment by pahud...@gmail.com on 12 Jan 2011 at 1:56

GoogleCodeExporter commented 9 years ago
http://whatismyip.org/ 
显示你的公網IP這是正常的。因為這網站不在翻牆名單裡面。

Original comment by pahud...@gmail.com on 12 Jan 2011 at 1:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
我尝试了一下win下面的tracert来跟踪路由结果如下

1.电脑拨VPN

tracert twitter.com
通过最多 30 个跃点跟踪
到 twitter.com [128.242.240.148] 的路由:

  1   270 ms   259 ms   262 ms  10.33.13.1
  2   261 ms   261 ms     *     g3-core1.chi2.systeminplace.net [69.162.132.1]
  3   262 ms   266 ms   289 ms  border-as32748.chi2.systeminplace.net [208.100.50.114]
  4   284 ms   278 ms   277 ms  ae1-133.cr2.ord1.us.nlayer.net [69.31.110.29]
  5   259 ms   259 ms   286 ms  ae2-30g.ar2.ord1.us.nlayer.net [69.31.111.150]
  6   260 ms     *      283 ms  as2914.xe-6-0-3.ar2.ord1.us.nlayer.net [69.31.111.233]
  7   289 ms     *      258 ms  ae-3.r21.chcgil09.us.bb.gin.ntt.net [129.250.2.72]
  8   327 ms   307 ms   307 ms  ae-5.r20.snjsca04.us.bb.gin.ntt.net [129.250.3.107]
  9   327 ms     *      319 ms  ae-2.r20.mlpsca01.us.bb.gin.ntt.net [129.250.5.6]
 10   311 ms   316 ms   311 ms  mg-1.c20.mlpsca01.us.da.verio.net [129.250.28.81]
 11   334 ms   306 ms   353 ms  128.241.122.213
 12   312 ms   368 ms   316 ms  128.242.240.133
 13   483 ms   327 ms   310 ms  128.242.240.148

跟踪完成。

2.电脑断开VPN,走路由器
tracert twitter.com
通过最多 30 个跃点跟踪
到 twitter.com [128.242.240.52] 的路由:

  1     1 ms     2 ms    <1 毫秒 WRT54GV4 [192.168.1.1]
  2   262 ms   259 ms   261 ms  10.33.13.1
  3     *        *        *     请求超时。
  4     *        *        *     请求超时。
  5     *        *        *     请求超时。
  6     *        *        *     请求超时。

3 10.33.13.1依旧可以ping通,我再试试其他VPN,需要找个帐号

Original comment by yutao...@gmail.com on 12 Jan 2011 at 1:14

GoogleCodeExporter commented 9 years ago
刚才无意测试了一下局域网其他电脑,发现居然都可以直接��
�墙,也就是说graceMode有效了,后来又检查发现我自己的电脑�
��设置过一个第三方的DNS解析...取消掉就有效了,这样看来了
本机指定DNS比DNSMasq优先级还是要高啊,非常感谢你的指导,�
��谢~

Original comment by yutao...@gmail.com on 12 Jan 2011 at 1:46

GoogleCodeExporter commented 9 years ago
原來如此,沒幫上什麼忙,如果覺得好用的話記得多多介紹��
�友使用,希望大家享受autoddvpn帶來的便利與自由。

Original comment by pahud...@gmail.com on 12 Jan 2011 at 2:23