LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 781|回复: 1

FreeBSD下的VPN配置问题?

[复制链接]
发表于 2003-12-2 10:04:15 | 显示全部楼层 |阅读模式
我是用poptop配置的,用客户机也能够正常拨号上来,现在有个问题就是,客户机只能购ping到pptp服务器,ping不到其他同一网段的机器.我traceroute的话,也只能够到pptp服务器的内网IP,再下面就time out了.

具体网络环境如下:
PPTP服务器双网卡
外网网卡:202.*.*.* 255.255.255.0 202.*.*.254
内网网卡:192.168.10.* 255.255.255.0

另外我在/etc/rc.conf里已经配置了
gateway_enbale="YES"
static_routes="lan"
route_lan="-net 192.168.0.0/16 192.168.10.254"

需要提一下的是,公司局网还有多个VLAN,分别为192.168.1.* 192.168.2.*,相应的网关就为192.168.1.254 192.168.2.254

请问还需要什么设置,可以使得客户机拨号上来后,能够ping到同一网段的机器,又能够ping到其他网段的机器(因为上面那个静态路由好像不起作用)?
发表于 2003-12-2 20:47:53 | 显示全部楼层
Are you sure that these VLANs are mutually accessible?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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