找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2492|回复: 7

[其它] 专业秋风版RouterOs防火墙规则(转)

[复制链接]
发表于 2006-8-4 16:51:26 | 显示全部楼层 |阅读模式

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

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

×
/ ip firewall filter
ad ch input pr tcp dst-po 82 act drop comm Worm.NetSky.Y@mm
ad ch input pr tcp dst-po 113 act drop comm W32.Korgo.A/B/C/D/E/F-1
ad ch input pr tcp dst-po 2041 act drop comm W33.Korgo.A/B/C/D/E/F-2
ad ch input pr tcp dst-po 3067 act drop comm W32.Korgo.A/B/C/D/E/F-3
ad ch input pr tcp dst-po 6667 act drop comm W32.Korgo.A/B/C/D/E/F-4
ad ch input pr tcp dst-po 445 act drop comm W32.Korgo.A/B/C/D/E/F-5660
ad ch input pr tcp dst-po 1000-1001 act drop comm Backdoor.Nibu.B-1
ad ch input pr tcp dst-po 2283 act drop comm Backdoor.Nibu.B-2
ad ch input pr tcp dst-po 10000 act drop comm Backdoor.Nibu.E/G/H
ad ch input pr tcp dst-po 3422 act drop comm Backdoor.IRC.Aladinz.R-1
ad ch input pr tcp dst-po 43958 act drop comm Backdoor.IRC.Aladinz.R-2
ad ch input pr tcp dst-po 5554 act drop comm W32.Dabber.A/B-1
ad ch input pr tcp dst-po 8967 act drop comm W32.Dabber.A/B-2
ad ch input pr tcp dst-po 9898-9999 act drop comm W32.Dabber.A/B-3
ad ch input pr tcp dst-po 6789 act drop comm Worm.NetSky.S/T/U@mm
ad ch input pr tcp dst-po 8787 act drop comm Back.Orifice.2000.Trojan-1
ad ch input pr tcp dst-po 8879 act drop comm Back.Orifice.2000.Trojan-2
ad ch input pr tcp dst-po 31666 act drop comm Back.Orifice.2000.Trojan-3
ad ch input pr tcp dst-po 31337-31338 act drop comm Back.Orifice.2000.Trojan-4
ad ch input pr tcp dst-po 54320-54321 act drop comm Back.Orifice.2000.Trojan-5
ad ch input pr tcp dst-po 12345-12346 act drop comm Block.NetBus.Trojan-1
ad ch input pr tcp dst-po 20034 act drop comm Block.NetBus.Trojan-2
ad ch input pr tcp dst-po 21554 act drop comm GirlFriend.Trojan-1
ad ch input pr tcp dst-po 41 act drop comm DeepThroat.Trojan-1
ad ch input pr tcp dst-po 3150 act drop comm DeepThroat.Trojan-2
ad ch input pr tcp dst-po 999 act drop comm DeepThroat.Trojan-3
ad ch input pr tcp dst-po 6670 act drop comm DeepThroat.Trojan-4
ad ch input pr tcp dst-po 6771 act drop comm DeepThroat.Trojan-5
ad ch input pr tcp dst-po 60000 act drop comm DeepThroat.Trojan-6
ad ch input pr tcp dst-po 2140 act drop comm DeepThroat.Trojan-7
ad ch input pr tcp dst-po 10067 act drop comm Portal.of.Doom.Trojan-1
ad ch input pr tcp dst-po 10167 act drop comm Portal.of.Doom.Trojan-2
ad ch input pr tcp dst-po 3700 act drop comm Portal.of.Doom.Trojan-3
ad ch input pr tcp dst-po 9872-9875 act drop comm Portal.of.Doom.Trojan-4
ad ch input pr tcp dst-po 6883 act drop comm Delta.Source.Trojan-1
ad ch input pr tcp dst-po 26274 act drop comm Delta.Source.Trojan-2
ad ch input pr tcp dst-po 4444 act drop comm Delta.Source.Trojan-3
ad ch input pr tcp dst-po 47262 act drop comm Delta.Source.Trojan-4
ad ch input pr tcp dst-po 3791 act drop comm Eclypse.Trojan-1
ad ch input pr tcp dst-po 3801 act drop comm Eclypse.Trojan-2
ad ch input pr tcp dst-po 65390 act drop comm Eclypse.Trojan-3
ad ch input pr tcp dst-po 5880-5882 act drop comm Y3K.RAT.Trojan-1
ad ch input pr tcp dst-po 5888-5889 act drop comm Y3K.RAT.Trojan-2
ad ch input pr tcp dst-po 30100-30103 act drop comm NetSphere.Trojan-1
ad ch input pr tcp dst-po 30133 act drop comm NetSphere.Trojan-2
ad ch input pr tcp dst-po 7300-7301 act drop comm NetMonitor.Trojan-1
ad ch input pr tcp dst-po 7306-7308 act drop comm NetMonitor.Trojan-2
ad ch input pr tcp dst-po 79 act drop comm FireHotcker.Trojan-1
ad ch input pr tcp dst-po 5031 act drop comm FireHotcker.Trojan-2
ad ch input pr tcp dst-po 5321 act drop comm FireHotcker.Trojan-3
ad ch input pr tcp dst-po 6400 act drop comm TheThing.Trojan-1
ad ch input pr tcp dst-po 7777 act drop comm TheThing.Trojan-2
ad ch input pr tcp dst-po 1047 act drop comm GateCrasher.Trojan-1
ad ch input pr tcp dst-po 6969-6970 act drop comm GateCrasher.Trojan-2
ad ch input pr tcp dst-po 2774 act drop comm SubSeven-1
ad ch input pr tcp dst-po 27374 act drop comm SubSeven-2
ad ch input pr tcp dst-po 1243 act drop comm SubSeven-3
ad ch input pr tcp dst-po 1234 act drop comm SubSeven-4
ad ch input pr tcp dst-po 6711-6713 act drop comm SubSeven-5
ad ch input pr tcp dst-po 16959 act drop comm SubSeven-7
ad ch input pr tcp dst-po 11000 act drop comm Senna.Spy.Trojan-1
ad ch input pr tcp dst-po 13000 act drop comm Senna.Spy.Trojan-2
ad ch input pr tcp dst-po 25685-25686 act drop comm Moonpie.Trojan-1
ad ch input pr tcp dst-po 25982 act drop comm Moonpie.Trojan-2
ad ch input pr tcp dst-po 1024-1030 act drop comm NetSpy.Trojan-1
ad ch input pr tcp dst-po 1033 act drop comm NetSpy.Trojan-2
ad ch input pr tcp dst-po 31337-31339 act drop comm NetSpy.Trojan-3
ad ch input pr tcp dst-po 8102 act drop comm Trojan
ad ch input pr tcp dst-po 7306 act drop comm Netspy3.0Trojan
ad ch input pr tcp dst-po 8011 act drop comm WAY.Trojan
ad ch input pr tcp dst-po 7626 act drop comm Trojan.BingHe
ad ch input pr tcp dst-po 19191 act drop comm Trojan.NianSeHoYian
ad ch input pr tcp dst-po 23444-23445 act drop comm NetBull.Trojan
ad ch input pr tcp dst-po 2583 act drop comm WinCrash.Trojan-1
ad ch input pr tcp dst-po 3024 act drop comm WinCrash.Trojan-2
ad ch input pr tcp dst-po 4092 act drop comm WinCrash.Trojan-3
ad ch input pr tcp dst-po 5714 act drop comm WinCrash.Trojan-4
ad ch input pr tcp dst-po 1010-1012 act drop comm Doly1.0/1.35/1.5trojan-1
ad ch input pr tcp dst-po 1015 act drop comm Doly1.0/1.35/1.5trojan-2
ad ch input pr tcp dst-po 1999-2005 act drop comm TransScout.Trojan-1
ad ch input pr tcp dst-po 9878 act drop comm TransScout.Trojan-2
ad ch input pr tcp dst-po 2773 act drop comm Backdoor.YAI..Trojan-1
ad ch input pr tcp dst-po 7215 act drop comm Backdoor.YAI.Trojan-2
ad ch input pr tcp dst-po 54283 act drop comm Backdoor.YAI.Trojan-3
ad ch input pr tcp dst-po 1003 act drop comm BackDoorTrojan-1
ad ch input pr tcp dst-po 5598 act drop comm BackDoorTrojan-2
ad ch input pr tcp dst-po 5698 act drop comm BackDoorTrojan-3
ad ch input pr tcp dst-po 2716 act drop comm PrayerTrojan-1
ad ch input pr tcp dst-po 9999 act drop comm PrayerTrojan-2
ad ch input pr tcp dst-po 21544 act drop comm SchwindlerTrojan-1
ad ch input pr tcp dst-po 31554 act drop comm SchwindlerTrojan-2
ad ch input pr tcp dst-po 18753 act drop comm Shaft.DDoS.Trojan-1
ad ch input pr tcp dst-po 20432 act drop comm Shaft.DDoS.Trojan-2
ad ch input pr tcp dst-po 65000 act drop comm Devil.DDoS.Trojan
ad ch input pr tcp dst-po 11831 act drop comm LatinusTrojan-1
ad ch input pr tcp dst-po 29559 act drop comm LatinusTrojan-2
ad ch input pr tcp dst-po 1784 act drop comm Snid.X2Trojan-1
ad ch input pr tcp dst-po 3586 act drop comm Snid.X2Trojan-2
ad ch input pr tcp dst-po 7609 act drop comm Snid.X2Trojan-3
ad ch input pr tcp dst-po 12348-12349 act drop comm BionetTrojan-1
ad ch input pr tcp dst-po 12478 act drop comm BionetTrojan-2
ad ch input pr tcp dst-po 57922 act drop comm BionetTrojan-3
ad ch input pr tcp dst-po 3127-3198 act drop comm Worm.Novarg.a.Mydoom.a.-1
ad ch input pr tcp dst-po 4444 act drop comm Worm.MsBlaster-1
ad ch input pr tcp dst-po 6777 act drop comm Worm.BBeagle.a.Bagle.a.
ad ch input pr tcp dst-po 8866 act drop comm Worm.BBeagle.b
ad ch input pr tcp dst-po 2745 act drop comm Worm.BBeagle.c-g/j-l
ad ch input pr tcp dst-po 2556 act drop comm Worm.BBeagle.p/q/r/n
ad ch input pr tcp dst-po 20742 act drop comm Worm.BBEagle.m-2
ad ch input pr tcp dst-po 4751 act drop comm Worm.BBeagle.s/t/u/v
ad ch input pr tcp dst-po 2535 act drop comm Worm.BBeagle.aa/ab/w/x-z-2
ad ch input pr tcp dst-po 5238 act drop comm Worm.LovGate.r.RpcExploit
ad ch input pr tcp dst-po 1068 act drop comm Worm.Sasser.a
ad ch input pr tcp dst-po 5554 act drop comm Worm.Sasser.b/c/f
ad ch input pr tcp dst-po 9996 act drop comm Worm.Sasser.b/c/f
ad ch input pr tcp dst-po 9995 act drop comm Worm.Sasser.d
ad ch input pr tcp dst-po 10168 act drop comm Worm.Lovgate.a/b/c/d
ad ch input pr tcp dst-po 20808 act drop comm Worm.Lovgate.v.QQ
ad ch input pr tcp dst-po 1092 act drop comm Worm.Lovgate.f/g
ad ch input pr tcp dst-po 20168 act drop comm Worm.Lovgate.f/g
ad ch input pr tcp dst-po 1363-1364 act drop comm ndm.requester
ad ch input pr tcp dst-po 1368 act drop comm screen.cast
ad ch input pr tcp dst-po 1373 act drop comm hromgrafx
ad ch input pr tcp dst-po 1377 act drop comm cichlid
ad ch input pr tcp dst-po 3410 act drop comm Backdoor.OptixPro
ad ch input pr tcp dst-po 135-139 act drop
ad ch input pr tcp dst-po 7000 act drop
add chain=input protocol=tcp dst-port=69 action=drop
add chain=input protocol=tcp dst-port=161-162 action=drop
add chain=input protocol=tcp dst-port=52 action=drop
add chain=input protocol=tcp dst-port=54 action=drop
add chain=input protocol=tcp dst-port=416 action=drop
add chain=input protocol=tcp dst-port=420 action=drop
add chain=input protocol=tcp dst-port=514 action=drop
add chain=input protocol=tcp dst-port=555 action=drop
add chain=input protocol=tcp dst-port=559 action=drop
add chain=input protocol=tcp dst-port=666 action=drop
add chain=input protocol=tcp dst-port=669 action=drop
add chain=input protocol=tcp dst-port=743 action=drop
add chain=input protocol=udp dst-port=743 action=drop
add chain=input protocol=tcp dst-port=901 action=drop
add chain=input protocol=tcp dst-port=1013 action=drop
add chain=input protocol=tcp dst-port=1042 action=drop
add chain=input protocol=tcp dst-port=1203 action=drop
add chain=input protocol=tcp dst-port=1088 action=drop
add chain=input protocol=tcp dst-port=1111 action=drop
add chain=input protocol=tcp dst-port=1234 action=drop
add chain=input protocol=tcp dst-port=1241 action=drop
add chain=input protocol=tcp dst-port=1243 action=drop
add chain=input protocol=tcp dst-port=1433 action=drop
add chain=input protocol=tcp dst-port=2022 action=drop
add chain=input protocol=tcp dst-port=2023 action=drop
add chain=input protocol=tcp dst-port=3000 action=drop
add chain=input protocol=tcp dst-port=3332 action=drop
add chain=input protocol=tcp dst-port=4006 action=drop
add chain=input protocol=tcp dst-port=4889 action=drop
add chain=input protocol=tcp dst-port=5800 action=drop
add chain=input protocol=tcp dst-port=5900 action=drop
add chain=input protocol=tcp dst-port=6129 action=drop
add chain=input protocol=tcp dst-port=6267 action=drop
add chain=input protocol=tcp dst-port=6720 action=drop
add chain=input protocol=tcp dst-port=7000-7001 action=drop
add chain=input protocol=tcp dst-port=7306 action=drop
add chain=input protocol=tcp dst-port=8000 action=drop
add chain=input protocol=tcp dst-port=8888 action=drop
add chain=input protocol=tcp dst-port=11927 action=drop
add chain=input protocol=tcp dst-port=15804 action=drop
add chain=input protocol=tcp dst-port=16660 action=drop
add chain=input protocol=tcp dst-port=16661 action=drop
add chain=input protocol=tcp dst-port=17300 action=drop
add chain=forward protocol=tcp src-port=5354 action=drop
add chain=forward protocol=tcp src-port=9000 action=drop
add chain=forward protocol=tcp src-port=9099 action=drop
add chain=input protocol=tcp dst-port=1080 action=drop
add chain=input protocol=tcp dst-port=5554 action=drop
add chain=input protocol=tcp dst-port=8866 action=drop
add chain=input protocol=tcp dst-port=65506 action=drop
add chain=input protocol=tcp dst-port=593 act drop
add chain=input protocol=tcp dst-port=1214 act drop


ad ch input pr udp dst-po 135-139 act drop
ad ch input pr udp dst-po 8787 act drop comm Back.Orifice.2000.Trojan-6
ad ch input pr udp dst-po 8879 act drop comm Back.Orifice.2000.Trojan-7
ad ch input pr udp dst-po 31666 act drop comm Back.Orifice.2000.Trojan-8
ad ch input pr udp dst-po 31337-31338 act drop comm Back.Orifice.2000.Trojan-9
ad ch input pr udp dst-po 54320-54321 act drop comm Back.Orifice.2000.Trojan-10
ad ch input pr udp dst-po 12345-12346 act drop comm Block.NetBus.Trojan-3
ad ch input pr udp dst-po 20034 act drop comm Block.NetBus.Trojan-4
ad ch input pr udp dst-po 21554 act drop comm GirlFriend.Trojan-2
ad ch input pr udp dst-po 41 act drop comm DeepThroat.Trojan-8
ad ch input pr udp dst-po 3150 act drop comm DeepThroat.Trojan-9
ad ch input pr udp dst-po 999 act drop comm DeepThroat.Trojan-10
ad ch input pr udp dst-po 6670 act drop comm DeepThroat.Trojan-11
ad ch input pr udp dst-po 6771 act drop comm DeepThroat.Trojan-12
ad ch input pr udp dst-po 60000 act drop comm DeepThroat.Trojan-13
ad ch input pr udp dst-po 10067 act drop comm Portal.of.Doom.Trojan-5
ad ch input pr udp dst-po 10167 act drop comm Portal.of.Doom.Trojan-6
ad ch input pr udp dst-po 3700 act drop comm Portal.of.Doom.Trojan-7
ad ch input pr udp dst-po 9872-9875 act drop comm Portal.of.Doom.Trojan-8
ad ch input pr udp dst-po 6883 act drop comm Delta.Source.Trojan-5
ad ch input pr udp dst-po 26274 act drop comm Delta.Source.Trojan-6
ad ch input pr udp dst-po 44444 act drop comm Delta.Source.Trojan-7
ad ch input pr udp dst-po 47262 act drop comm Delta.Source.Trojan-8
ad ch input pr udp dst-po 3791 act drop comm Eclypse.Trojan-1
ad ch input pr udp dst-po 3801 act drop comm Eclypse.Trojan-2
ad ch input pr udp dst-po 5880-5882 act drop comm Eclypse.Trojan-3
ad ch input pr udp dst-po 5888-5889 act drop comm Eclypse.Trojan-4
ad ch input pr udp dst-po 34555 act drop comm Trin00.DDoS.Trojan-1
ad ch input pr udp dst-po 35555 act drop comm Trin00.DDoS.Trojan-2
ad ch input pr udp dst-po 31338 act drop comm NetSpy.DK.Trojan-1
ad ch input pr udp dst-po 69 act drop comm Worm.MsBlaster-2
ad ch input pr udp dst-po 123 act drop comm Worm.Sobig.f-1
ad ch input pr udp dst-po 995-999 act drop comm Worm.Sobig.f-2
ad ch input pr udp dst-po 8998 act drop comm Worm.Sobig.f-3
ad ch input pr udp dst-po 79 act drop
ad ch input pr udp dst-po 1024-1030 act drop
ad ch output pr tcp dst-po 1029 act drop
ad ch input pr udp dst-po 1000-1001 act drop
ad ch input pr udp dst-po 5238 act drop
ad ch input pr udp dst-po 445 act drop
ad ch input pr udp dst-po 9898-9999 act drop
ad ch input pr udp dst-po 4444 act drop
ad ch input pr udp dst-po 10000 act drop
ad ch input pr udp dst-po 7000 act drop
add chain=input protocol=udp dst-port=1433-1434 action=drop
add chain=input protocol=udp dst-port=1900 action=drop
add chain=input protocol=udp dst-port=161-162 action=drop
add chain=input protocol=udp dst-port=555 action=drop
add chain=input protocol=udp dst-port=15804 action=drop
add chain=input protocol=udp dst-port=11927 action=drop
add chain=input protocol=udp dst-port=8888 action=drop
add chain=input protocol=udp dst-port=8000 action=drop
add chain=input protocol=udp dst-port=8225 action=drop
add chain=input protocol=udp dst-port=7306 action=drop
add chain=input protocol=udp dst-port=6720 action=drop
add chain=input protocol=udp dst-port=6267 action=drop
add chain=input protocol=udp dst-port=6129 action=drop
add chain=input protocol=udp dst-port=5900 action=drop
add chain=input protocol=udp dst-port=5800 action=drop
add chain=input protocol=udp dst-port=2023 action=drop
add chain=input protocol=udp dst-port=1203 action=drop
add chain=input protocol=udp dst-port=1042 action=drop
add chain=input protocol=udp dst-port=995 action=drop
add chain=input protocol=udp dst-port=996-999 action=drop
add chain=input protocol=udp dst-port=420 action=drop
add chain=output protocol=udp dst-port=67-68 action=drop
add chain=input protocol=udp dst-port=416 action=drop
routeros
发表于 2006-8-4 17:05:21 | 显示全部楼层
用别人的墙的规则先,一定要看好了
routeros
回复

使用道具 举报

发表于 2006-8-4 17:41:11 | 显示全部楼层
大部分是INPUT的,我就是允许定义的IP能进入,其他的一律DROP,简单有效
routeros
回复

使用道具 举报

发表于 2006-8-4 19:34:54 | 显示全部楼层
搞多了拖CPU。。。。。。
routeros
回复

使用道具 举报

发表于 2006-8-25 22:21:12 | 显示全部楼层
原帖由 chyhong505 于 2006-8-4 16:51 发表
/ ip firewall filter
ad ch input pr tcp dst-po 82 act drop comm Worm.NetSky.Y@mm
ad ch input pr tcp dst-po 113 act drop comm W32.Korgo.A/B/C/D/E/F-1
ad ch input pr tcp dst-po 2041 act drop comm ...



7000那条不是把传奇给封了??
routeros
回复

使用道具 举报

发表于 2006-8-26 14:34:44 | 显示全部楼层
只上封了些端口,何来的专业!!!!
routeros
回复

使用道具 举报

发表于 2006-8-26 14:44:12 | 显示全部楼层
原帖由 giordanoshai 于 2006-8-26 14:34 发表
只上封了些端口,何来的专业!!!!

你难道不明白“多”就是专业吗?

哈哈
routeros
回复

使用道具 举报

发表于 2006-8-29 19:04:15 | 显示全部楼层
拖CPU没事个,CPU够用,嘿嘿, 我这CPU一直不超30,平时只有3。4
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-6 07:22 , Processed in 0.068447 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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