找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 6760|回复: 12

[vpn] Ovpn出错

[复制链接]
发表于 2009-4-13 13:21:17 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
提示下面这个,是哪儿设置有问题啊

Mon Apr 13 13:19:10 2009 There is a problem in your selection of --ifconfig endp
oints [local=10.0.0.199, remote=10.0.0.1].  The local and remote VPN endpoints m
ust exist within the same 255.255.255.252 subnet.  This is a limitation of --dev
tun when used with the TAP-WIN32 driver.  Try 'openvpn --show-valid-subnets' op
tion for more info.
Mon Apr 13 13:19:10 2009 Exiting
Press any key to continue...
routeros
发表于 2009-4-13 13:37:12 | 显示全部楼层
dev
tun

你用的是以太网模式吧 子网掩码的问题
routeros
回复

使用道具 举报

 楼主| 发表于 2009-4-13 15:30:59 | 显示全部楼层
那应该怎么解决啊?ros上配的公网ip是/29位子网掩码的,我是在其他地方的内网/24掩码拨的
routeros
回复

使用道具 举报

 楼主| 发表于 2009-4-13 15:40:43 | 显示全部楼层
Mon Apr 13 15:40:03 2009 SENT CONTROL [ZCOM_ROOTCA]: 'PUSH_REQUEST' (status=1)
Mon Apr 13 15:40:03 2009 PUSH: Received control message: 'PUSH_REPLY,ping 20,pin
g-restart 60,route 10.0.0.0 255.255.255.0,ifconfig 10.0.0.199 10.0.0.1'
Mon Apr 13 15:40:03 2009 OPTIONS IMPORT: timers and/or timeouts modified
Mon Apr 13 15:40:03 2009 OPTIONS IMPORT: --ifconfig/up options modified
Mon Apr 13 15:40:03 2009 OPTIONS IMPORT: route options modified
Mon Apr 13 15:40:03 2009 ROUTE default_gateway=192.168.50.254
Mon Apr 13 15:40:03 2009 There is a problem in your selection of --ifconfig endp
oints [local=10.0.0.199, remote=10.0.0.1].  The local and remote VPN endpoints m
ust exist within the same 255.255.255.252 subnet.  This is a limitation of --dev
tun when used with the TAP-WIN32 driver.  Try 'openvpn --show-valid-subnets' op
tion for more info.
Mon Apr 13 15:40:03 2009 Exiting
Press any key to continue...
routeros
回复

使用道具 举报

 楼主| 发表于 2009-4-14 11:18:02 | 显示全部楼层
是什么原因啊,有没有指导下啊
routeros
回复

使用道具 举报

 楼主| 发表于 2009-4-15 08:02:32 | 显示全部楼层
顶上去,求好心人指导啊
routeros
回复

使用道具 举报

 楼主| 发表于 2009-4-15 19:08:59 | 显示全部楼层
就没人指导下吗
routeros
回复

使用道具 举报

 楼主| 发表于 2009-4-16 21:16:27 | 显示全部楼层
再顶,希望有人指导下啊
routeros
回复

使用道具 举报

 楼主| 发表于 2009-4-17 18:58:21 | 显示全部楼层
再顶,咋就没人帮忙呢
routeros
回复

使用道具 举报

 楼主| 发表于 2009-4-17 20:09:47 | 显示全部楼层
我的client文件是用的dev tun,应该是路由模式把
routeros
回复

使用道具 举报

发表于 2009-4-20 08:47:37 | 显示全部楼层
地址池设置错误。
openvpn只支持255.255.255.252 的子网。
routeros
回复

使用道具 举报

 楼主| 发表于 2009-4-20 19:36:27 | 显示全部楼层
那一个网络内只能两个ip啊,这么少啊
routeros
回复

使用道具 举报

 楼主| 发表于 2009-4-20 19:45:17 | 显示全部楼层
还是搞不定,地址池该怎么设呢,local设了192.168.1.254,remote设了192.168.1.253,还是不行
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-17 15:17 , Processed in 0.070096 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表