找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2711|回复: 2

[其它] 我的ROS不定时瞬间掉线?

[复制链接]
发表于 2005-9-15 08:57:24 | 显示全部楼层 |阅读模式

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

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

×
我的ros不定时瞬间掉线?请问大家在这样的情况吗?以前用了一星期都没有事的,不知道现在怎么了,是有人故意把内网的IP改成ROS的内网网卡IP引起的,还是别的呢?
routeros
发表于 2005-9-15 09:17:52 | 显示全部楼层
瞬间掉线谁都有过,但不应该很频繁,我得经验是ROS尽量不要做其他多余得服务,象VPN什么得.
最主要得就是防火墙,按照下面得配置应该不会不定时瞬间掉线了,还有你得内网IP不能跟ROS内网IP有冲突.
不然ROS会傻傻得一直掉线
/ ip firewall
set input name="input" policy=accept comment=""
set forward name="forward" policy=accept comment=""
set output name="output" policy=accept comment=""
/ ip firewall rule forward
add dst-address=:41 protocol=tcp action=drop comment="" disabled=no
add dst-address=:69 protocol=udp action=drop comment="" disabled=no
add dst-address=:79 protocol=tcp action=drop comment="" disabled=no
add dst-address=:113 protocol=udp action=drop comment="" disabled=no
add dst-address=:113 protocol=tcp action=drop comment="" disabled=no
add dst-address=:123 protocol=tcp action=drop comment="" disabled=no
add dst-address=:123 protocol=udp action=drop comment="" disabled=no
add dst-address=:134-139 protocol=udp action=drop comment="" disabled=no
add dst-address=:134-139 protocol=tcp action=drop comment="" disabled=no
add dst-address=:143 protocol=tcp action=drop comment="" disabled=no
add dst-address=:161-162 protocol=udp action=drop comment="" disabled=no
add dst-address=:161-162 protocol=tcp action=drop comment="" disabled=no
add dst-address=:445 protocol=tcp action=drop comment="" disabled=no
add dst-address=:445 protocol=udp action=drop comment="" disabled=no
add dst-address=:500 protocol=tcp action=drop comment="" disabled=no
add dst-address=:500 protocol=udp action=drop comment="" disabled=no
add dst-address=:3389 protocol=tcp action=drop comment="" disabled=no
/ ip firewall rule input
add dst-address=:41 protocol=tcp action=drop comment="" disabled=no
add dst-address=:69 protocol=udp action=drop comment="" disabled=no
add dst-address=:79 protocol=tcp action=drop comment="" disabled=no
add dst-address=:113 protocol=udp action=drop comment="" disabled=no
add dst-address=:113 protocol=tcp action=drop comment="" disabled=no
add dst-address=:123 protocol=tcp action=drop comment="" disabled=no
add dst-address=:123 protocol=udp action=drop comment="" disabled=no
add dst-address=:134-139 protocol=udp action=drop comment="" disabled=no
add dst-address=:134-139 protocol=tcp action=drop comment="" disabled=no
add dst-address=:143 protocol=tcp action=drop comment="" disabled=no
add dst-address=:161-162 protocol=udp action=drop comment="" disabled=no
add dst-address=:161-162 protocol=tcp action=drop comment="" disabled=no
add dst-address=:445 protocol=tcp action=drop comment="" disabled=no
add dst-address=:445 protocol=udp action=drop comment="" disabled=no
add dst-address=:500 protocol=tcp action=drop comment="" disabled=no
add dst-address=:500 protocol=udp action=drop comment="" disabled=no
add protocol=icmp limit-count=100 limit-burst=2 limit-time=5s action=accept \
    comment="" disabled=no
add protocol=tcp tcp-options=non-syn-only connection-state=established \
    action=accept comment="" disabled=no
add src-address=192.168.0.0/24 action=accept comment="" disabled=no
add protocol=udp action=accept comment="" disabled=no
add action=drop comment="" disabled=no
routeros
回复

使用道具 举报

 楼主| 发表于 2005-9-15 09:31:54 | 显示全部楼层
谢谢了,试试
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-22 10:05 , Processed in 0.062757 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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