找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2257|回复: 7

[其它] ros 的2个问题,大家看下。

[复制链接]
发表于 2005-12-10 14:15:30 | 显示全部楼层 |阅读模式

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

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

×
第一个。
如果mangle 像这样。
/ ip firewall mangle
add chain=prerouting src-address=192.168.1.0/24 action=mark-routing \
    new-routing-mark=wan passthrough=yes comment="    " disabled=no
nat这样。
/ ip firewall nat
add chain=srcnat src-address=192.168.1.0/24 action=masquerade comment="" \
    disabled=no
为什么.在nat做dns重定向无法使用呢。
add chain=dstnat dst-address=202.98.96.68 protocol=udp dst-port=53 \
    action=dst-nat to-addresses=192.168.1.1 to-ports=53 comment="" \
    disabled=yes
add chain=dstnat dst-address=61.139.2.69 protocol=udp dst-port=53 \
    action=dst-nat to-addresses=192.168.1.1 to-ports=53 comment="" \
    disabled=yes
请问应该怎么办啊。

第二
ip tunnel  连接2个ip会数小时断线一次,请问高手们,可能是什么原因啊。
routeros
legou 该用户已被删除
发表于 2005-12-10 15:03:44 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
routeros
回复

使用道具 举报

 楼主| 发表于 2005-12-10 15:42:25 | 显示全部楼层
我下面的客户机的dns全部设的是isp的dns啊。我想把对isp的dns的访问,全部专向到ros
routeros
回复

使用道具 举报

legou 该用户已被删除
发表于 2005-12-10 18:11:53 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
routeros
回复

使用道具 举报

发表于 2005-12-10 22:57:13 | 显示全部楼层
你设的NAT转向都  disabled=yes  了,怎么能有效???
routeros
回复

使用道具 举报

legou 该用户已被删除
发表于 2005-12-11 00:28:36 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
routeros
回复

使用道具 举报

 楼主| 发表于 2005-12-11 13:37:47 | 显示全部楼层
启动了就上不了网塞,不过我找到问题了,原来做mangle路由后,dns出不去。郁闷,
routeros
回复

使用道具 举报

 楼主| 发表于 2005-12-15 15:18:34 | 显示全部楼层
自己解决了,简单错误.
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-20 15:53 , Processed in 0.190621 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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