hjrhjr / chnroutes

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

OpenVPN无法连接 #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
按步骤把routes.txt里的信息加入我的config.opvn文件后,Tunnelblick
报告因配置文件错误所以无法连接VPN。

不知道哪里设置错误了。我是把routes信息全加在文件末尾了��
�至于那个max routes究竟应该在文件的哪个位置?

系统是Mac OS X 10.6.7, Tunnelblick 3.1.6

Original issue reported on code.google.com by lvha...@gmail.com on 22 Apr 2011 at 2:39

GoogleCodeExporter commented 9 years ago
有同样的问题,log如下
2011-04-26 23:27:45 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
2011-04-26 23:27:45 PUSH: Received control message: 
'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 208.67.222.222,dhcp-option 
DNS 208.67.220.220,route 10.8.0.0 255.255.255.0,topology net30,ping 
10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
2011-04-26 23:27:45 OPTIONS IMPORT: timers and/or timeouts modified
2011-04-26 23:27:45 OPTIONS IMPORT: --ifconfig/up options modified
2011-04-26 23:27:45 OPTIONS IMPORT: route options modified
2011-04-26 23:27:45 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options 
modified
2011-04-26 23:27:45 ROUTE default_gateway=192.168.2.1
2011-04-26 23:27:48 TUN/TAP device /dev/tun0 opened
2011-04-26 23:27:48 MANAGEMENT: >STATE:1303831668,ASSIGN_IP,,10.8.0.6,
2011-04-26 23:27:48 /sbin/ifconfig tun0 delete
2011-04-26 23:27:48 NOTE: Tried to delete pre-existing tun/tap instance -- No 
Problem if failure
2011-04-26 23:27:48 /sbin/ifconfig tun0 10.8.0.6 10.8.0.5 mtu 1500 netmask 
255.255.255.255 up
2011-04-26 23:27:48 MANAGEMENT: Client disconnected
2011-04-26 23:27:48 Mac OS X ifconfig failed: could not execute external program
2011-04-26 23:27:48 Exiting

Original comment by eminarci...@gmail.com on 26 Apr 2011 at 3:36

GoogleCodeExporter commented 9 years ago
我也遇到同样的问题。

Original comment by wuwu...@gmail.com on 6 Jun 2011 at 3:23

GoogleCodeExporter commented 9 years ago
Mac下max-routes参数最大条目只有2000条,多了会拨号不成功。

Original comment by wuwu...@gmail.com on 6 Jun 2011 at 3:16

GoogleCodeExporter commented 9 years ago
确实是2000条的问题,删成2000条后可以连接了,但是好像路由
表不起作用啊,ping qq.com还是1000+ms

Original comment by gaojingj...@gmail.com on 21 Jun 2011 at 4:39

GoogleCodeExporter commented 9 years ago
有没有其他方法解决这个问题?

Original comment by morphine...@gmail.com on 27 Jun 2011 at 2:00

GoogleCodeExporter commented 9 years ago
升级到lion后又出现这问题了,不知道大家遇见没有。

Original comment by wuwu...@gmail.com on 5 Aug 2011 at 8:04

GoogleCodeExporter commented 9 years ago
以前没有,升级到lion后出现同样问题。

Original comment by Bob....@gmail.com on 11 Aug 2011 at 2:51

GoogleCodeExporter commented 9 years ago
Lion 10.7.2连2000条都不行,大概在1700条就报错了。

Original comment by clanh...@gmail.com on 19 Oct 2011 at 4:20

GoogleCodeExporter commented 9 years ago
貌似只能加1500条了?

Original comment by netfi...@gmail.com on 17 Nov 2011 at 8:53

GoogleCodeExporter commented 9 years ago
openvpn的man里似乎没说到这个限制, 
用外部的脚本能否加超过2000条? 

Original comment by Numb.Maj...@gmail.com on 30 Nov 2011 at 4:13

GoogleCodeExporter commented 9 years ago
Lion 10.7.2 我把 max-routes 降到 1000 都不成,Console 里还是报错:
openvpn: OpenVPN ROUTE: cannot add more than 1000 routes -- please increase the 
max-routes option in the client configuration file

Original comment by m...@ike.im on 2 Jan 2012 at 9:12

GoogleCodeExporter commented 9 years ago
的确是最大2000条, 系统是Lion10.7.2, Tunnelblick 3.2beta30 (build 2780) 
 -  OpenVPN 2.2.1
删到2000就可以了

Original comment by zqz...@gmail.com on 22 Jan 2012 at 5:37

GoogleCodeExporter commented 9 years ago
Lion 10.7.3 无论怎么改max routes的值都不起作用  , 总是报Mac OS X 
ifconfig failed: could not execute external program 这个错啊!!

Original comment by xinbiao....@gmail.com on 28 Apr 2012 at 11:08

GoogleCodeExporter commented 9 years ago
外部脚本可以,可以用pptp的脚本修改一下

Original comment by chunlinyao@gmail.com on 24 Jul 2012 at 9:09