学习啦 > 学习电脑 > 电脑安全 > 防火墙知识 > ros如何禁用防火墙

ros如何禁用防火墙

时间: 林辉766 分享

ros如何禁用防火墙

学习啦在线学习网   我的ros想禁用一下防火墙!用什么方法好呢?下面由学习啦小编给你做出详细的ros禁用防火墙方法一介绍!希望对你有帮助!

  ros禁用防火墙方法一:

学习啦在线学习网   用winbox登录ROS

学习啦在线学习网   打开new terminal,把以下内容粘贴上回车,注意以粘贴以前把192.168.0.2改成要封QQ的那台电脑的IP

  / ip firewall filter

  ad chain=forward src-address=192.168.0.2/32 pr tcp dst-po 8000 act drop

  ad chain=forward src-address=192.168.0.2/32 pr udp dst-po 8000 act drop

  add chain=forward src-address=192.168.0.2/32 dst-address=61.144.238.0/24 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=61.152.100.0/24 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=61.141.194.0/24 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=202.96.170.163/32 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=202.104.129.0/24 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=202.104.193.20/32 action=drop

学习啦在线学习网   add chain=forward src-address=192.168.0.2/32 dst-address=202.104.193.11/32 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=202.104.193.12/32 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=218.17.209.23/32 action=drop

学习啦在线学习网   add chain=forward src-address=192.168.0.2/32 dst-address=218.18.95.153/32 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=218.18.95.165/32 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=218.18.95.220/32 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=218.85.138.70/32 action=drop

学习啦在线学习网   add chain=forward src-address=192.168.0.2/32 dst-address=219.133.38.0/24 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=219.133.49.0/24 action=drop

  add chain=forward src-address=192.168.0.2/32 dst-address=220.133.40.0/24 action=drop

  add chain=forward src-address=192.168.0.2/32 content=sz.tencent.com action=reject

学习啦在线学习网   add chain=forward src-address=192.168.0.2/32 content=sz2.tencent.com action=reject

学习啦在线学习网   add chain=forward src-address=192.168.0.2/32 content=sz3.tencent.com action=reject

学习啦在线学习网   add chain=forward src-address=192.168.0.2/32 content=sz4.tencent.com action=reject

学习啦在线学习网   add chain=forward src-address=192.168.0.2/32 content=sz5.tencent.com action=reject

  add chain=forward src-address=192.168.0.2/32 content=sz6.tencent.com action=reject

学习啦在线学习网   add chain=forward src-address=192.168.0.2/32 content=sz7.tencent.com action=reject

  add chain=forward src-address=192.168.0.2/32 content=sz8.tencent.com action=rejec

  add chain=forward src-address=192.168.0.2/32 content=sz9.tencent.com action=rejec

学习啦在线学习网   add chain=forward src-address=192.168.0.2/32 content=tcpconn.tencent.com action=reject

  add chain=forward src-address=192.168.0.2/32 content=tcpconn2.tencent.com action=reject

  add chain=forward src-address=192.168.0.2/32 content=tcpconn3.tencent.com action=reject

学习啦在线学习网   add chain=forward src-address=192.168.0.2/32 content=tcpconn4.tencent.com action=reject

  add chain=forward src-address=192.168.0.2/32 content=tcpconn5.tencent.com action=reject

  add chain=forward src-address=192.168.0.2/32 content=tcpconn6.tencent.com action=reject

  add chain=forward src-address=192.168.0.2/32 content=tcpconn7.tencent.com action=reject

  add chain=forward src-address=192.168.0.2/32 content=tcpconn8.tencent.com action=reject

  add chain=forward src-address=192.168.0.2/32 content=qq.com action=reject

学习啦在线学习网   add chain=forward src-address=192.168.0.2/32 content=www.qq.com action=reject

学习啦在线学习网   QQ服务器IP不断增加中,发现还能登录QQ,就要找到新的IP加上,用360安全卫士或netstat都可以看到QQ连接的IP,照样子再加上行了。

  ros禁用防火墙方法二:

学习啦在线学习网   IP DROP掉

  防火墙设置

  / ip firewall filter

学习啦在线学习网   add chain=forward src-address="0.0.0.0/0" action=drop comment="禁止网" disabled=no

  0.0.0.0表示所IP

学习啦在线学习网   单 写 192.168.1.X/32

  或者 192.168.1.X-192.168.1.X

  ros禁用防火墙方法三:

  要禁止某用户网,直接pppSecrets,disable该用户.先梆定该用户网卡址.

  要禁止某段IP,流设置

  FireWall - Mamgle 已设wan口 属性Src.Address 设置

  看了“ros如何禁用防火墙 ”文章的还看了:

1.防火墙知识

2.nod2个人防火墙如何禁用

3.doc怎么样禁用防火墙

4.linux防火墙如何禁用

5.pc防火墙如何关闭

6.win7如何关闭防火墙

839974