找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2270|回复: 3

[其它] routeos官方防火墙导出

[复制链接]
发表于 2006-5-31 21:53:54 | 显示全部楼层 |阅读模式

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

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

×
有谁知道http://demo2.mt.lv/用户名和密码是多少!
我想看看它的官方设置.
routeros
发表于 2006-6-1 10:22:14 | 显示全部楼层
好像是demo
routeros
回复

使用道具 举报

 楼主| 发表于 2006-6-1 18:56:42 | 显示全部楼层
谢谢,搞定,
routeros
回复

使用道具 举报

发表于 2006-6-4 07:57:46 | 显示全部楼层
这是从官网的导出, 是否可以直接用在我们的ROS上, 我的版本是 2.9.6 , 能用这个吗

  1. [demo@Demo_v2.9] ip firewall filter> export
  2. # jun/04/2006 02:17:28 by RouterOS 2.9.24
  3. # software id = LF15-2JT
  4. #
  5. / ip firewall filter
  6. add chain=input connection-state=established action=accept comment="accept established connection packets" disabled=no
  7. add chain=input connection-state=related action=accept comment="accept related connection packets" disabled=no
  8. add chain=input connection-state=invalid action=drop comment="drop invalid packets" disabled=no
  9. add chain=input protocol=tcp dst-port=80 connection-limit=100,0 action=drop comment="limit total http connections to 100" disabled=no
  10. add chain=input protocol=tcp psd=21,3s,3,1 action=drop comment="detect and drop port scan connections" disabled=no
  11. add chain=input protocol=tcp connection-limit=3,32 src-address-list=black_list action=tarpit comment="suppress DoS \
  12.     attack" disabled=no
  13. add chain=input protocol=tcp connection-limit=10,32 action=add-src-to-address-list address-list=black_list \
  14.     address-list-timeout=1d comment="detect DoS attack" disabled=no
  15. add chain=input dst-address-type=!local action=drop comment="drop all that is not to local" disabled=no
  16. add chain=input src-address-type=!unicast action=drop comment="drop all that is not from unicast" disabled=no
  17. add chain=input protocol=icmp action=jump jump-target=ICMP comment="jump to chain ICMP" disabled=no
  18. add chain=input action=jump jump-target=services comment="jump to chain services" disabled=no
  19. add chain=input action=log log-prefix="input" comment="" disabled=yes
  20. add chain=input action=drop comment="drop everything else" disabled=no

  21. add chain=ICMP protocol=icmp icmp-options=0:0-255 limit=5,5 action=accept comment="0:0 and limit for 5pac/s" disabled=no
  22. add chain=ICMP protocol=icmp icmp-options=3:3 limit=5,5 action=accept comment="3:3 and limit for 5pac/s" disabled=no
  23. add chain=ICMP protocol=icmp icmp-options=3:4 limit=5,5 action=accept comment="3:4 and limit for 5pac/s" disabled=no
  24. add chain=ICMP protocol=icmp icmp-options=8:0-255 limit=5,5 action=accept comment="8:0 and limit for 5pac/s" disabled=no
  25. add chain=ICMP protocol=icmp icmp-options=11:0-255 limit=5,5 action=accept comment="11:0 and limit for 5pac/s" \
  26.     disabled=no
  27. add chain=ICMP protocol=icmp action=drop comment="Drop everything else" disabled=no

  28. add chain=services src-address=127.0.0.1 dst-address=127.0.0.1 action=accept comment="accept localhost" disabled=no
  29. add chain=services protocol=tcp dst-port=20-21 action=accept comment="allow ftp" disabled=no
  30. add chain=services protocol=tcp dst-port=22 action=accept comment="allow sftp, ssh" disabled=no
  31. add chain=services protocol=tcp dst-port=23 action=accept comment="allow telnet" disabled=no
  32. add chain=services protocol=tcp dst-port=80 action=accept comment="allow http, webbox" disabled=no
  33. add chain=services protocol=tcp dst-port=8291 action=accept comment="Allow winbox" disabled=no
  34. add chain=services protocol=udp dst-port=20561 action=accept comment="allow MACwinbox " disabled=no
  35. add chain=services src-address=159.148.172.205 protocol=tcp dst-port=7828 action=accept comment="..." disabled=no
  36. add chain=services protocol=tcp dst-port=2000 action=accept comment="Bandwidth server" disabled=yes
  37. add chain=services protocol=udp dst-port=5678 action=accept comment=" MT Discovery Protocol" disabled=yes
  38. add chain=services protocol=tcp dst-port=53 action=accept comment="allow DNS request" disabled=yes
  39. add chain=services protocol=udp dst-port=53 action=accept comment="Allow DNS request" disabled=yes
  40. add chain=services protocol=udp dst-port=1701 action=accept comment="allow L2TP" disabled=yes
  41. add chain=services protocol=tcp dst-port=1723 action=accept comment="allow PPTP" disabled=yes
  42. add chain=services protocol=gre action=accept comment="allow PPTP and EoIP" disabled=yes
  43. add chain=services protocol=ipencap action=accept comment="allow IPIP" disabled=yes
  44. add chain=services protocol=udp dst-port=1900 action=accept comment="UPnP" disabled=yes
  45. add chain=services protocol=tcp dst-port=2828 action=accept comment="UPnP" disabled=yes
  46. add chain=services protocol=udp dst-port=67-68 action=accept comment="allow DHCP" disabled=yes
  47. add chain=services protocol=tcp dst-port=8080 action=accept comment="allow Web Proxy" disabled=yes
  48. add chain=services protocol=tcp dst-port=123 action=accept comment="allow NTP" disabled=yes
  49. add chain=services protocol=tcp dst-port=161 action=accept comment="allow SNMP" disabled=yes
  50. add chain=services protocol=tcp dst-port=443 action=accept comment="allow https for Hotspot" disabled=yes
  51. add chain=services protocol=tcp dst-port=1080 action=accept comment="allow Socks for Hotspot" disabled=yes
  52. add chain=services protocol=udp dst-port=500 action=accept comment="allow IPSec connections" disabled=yes
  53. add chain=services protocol=ipsec-esp action=accept comment="allow IPSec" disabled=yes
  54. add chain=services protocol=ipsec-ah action=accept comment="allow IPSec" disabled=yes
  55. add chain=services protocol=tcp dst-port=179 action=accept comment="Allow BGP" disabled=yes
  56. add chain=services protocol=udp dst-port=520-521 action=accept comment="allow RIP" disabled=yes
  57. add chain=services protocol=ospf action=accept comment="allow OSPF" disabled=yes
  58. add chain=services protocol=udp dst-port=5000-5100 action=accept comment="allow BGP" disabled=yes
  59. add chain=services protocol=tcp dst-port=1720 action=accept comment="allow Telephony" disabled=yes
  60. add chain=services protocol=udp dst-port=1719 action=accept comment="allow Telephony" disabled=yes
  61. add chain=services protocol=vrrp action=accept comment="allow VRRP " disabled=yes

  62. add chain=virus protocol=tcp dst-port=135-139 action=drop comment="Drop Blaster Worm" disabled=no
  63. add chain=virus protocol=udp dst-port=135-139 action=drop comment="Drop Messenger Worm" disabled=no
  64. add chain=virus protocol=tcp dst-port=445 action=drop comment="Drop Blaster Worm" disabled=no
  65. add chain=virus protocol=udp dst-port=445 action=drop comment="Drop Blaster Worm" disabled=no
  66. add chain=virus protocol=tcp dst-port=593 action=drop comment="________" disabled=no
  67. add chain=virus protocol=tcp dst-port=1024-1030 action=drop comment="________" disabled=no
  68. add chain=virus protocol=tcp dst-port=1080 action=drop comment="Drop MyDoom" disabled=no
  69. add chain=virus protocol=tcp dst-port=1214 action=drop comment="________" disabled=no
  70. add chain=virus protocol=tcp dst-port=1363 action=drop comment="ndm requester" disabled=no
  71. add chain=virus protocol=tcp dst-port=1364 action=drop comment="ndm server" disabled=no
  72. add chain=virus protocol=tcp dst-port=1368 action=drop comment="screen cast" disabled=no
  73. add chain=virus protocol=tcp dst-port=1373 action=drop comment="hromgrafx" disabled=no
  74. add chain=virus protocol=tcp dst-port=1377 action=drop comment="cichlid" disabled=no
  75. add chain=virus protocol=tcp dst-port=1433-1434 action=drop comment="Worm" disabled=no
  76. add chain=virus protocol=tcp dst-port=2745 action=drop comment="Bagle Virus" disabled=no
  77. add chain=virus protocol=tcp dst-port=2283 action=drop comment="Drop Dumaru.Y" disabled=no
  78. add chain=virus protocol=tcp dst-port=2535 action=drop comment="Drop Beagle" disabled=no
  79. add chain=virus protocol=tcp dst-port=2745 action=drop comment="Drop Beagle.C-K" disabled=no
  80. add chain=virus protocol=tcp dst-port=3127-3128 action=drop comment="Drop MyDoom" disabled=no
  81. add chain=virus protocol=tcp dst-port=3410 action=drop comment="Drop Backdoor OptixPro" disabled=no
  82. add chain=virus protocol=tcp dst-port=4444 action=drop comment="Worm" disabled=no
  83. add chain=virus protocol=udp dst-port=4444 action=drop comment="Worm" disabled=no
  84. add chain=virus protocol=tcp dst-port=5554 action=drop comment="Drop Sasser" disabled=no
  85. add chain=virus protocol=tcp dst-port=8866 action=drop comment="Drop Beagle.B" disabled=no
  86. add chain=virus protocol=tcp dst-port=9898 action=drop comment="Drop Dabber.A-B" disabled=no
  87. add chain=virus protocol=tcp dst-port=10000 action=drop comment="Drop Dumaru.Y" disabled=no
  88. add chain=virus protocol=tcp dst-port=10080 action=drop comment="Drop MyDoom.B" disabled=no
  89. add chain=virus protocol=tcp dst-port=12345 action=drop comment="Drop NetBus" disabled=no
  90. add chain=virus protocol=tcp dst-port=17300 action=drop comment="Drop Kuang2" disabled=no
  91. add chain=virus protocol=tcp dst-port=27374 action=drop comment="Drop SubSeven" disabled=no
  92. add chain=virus protocol=tcp dst-port=65506 action=drop comment="Drop PhatBot, Gaobot" disabled=no

  93. add chain=forward connection-state=established action=accept comment="accept established packets" disabled=no
  94. add chain=forward connection-state=related action=accept comment="accept related packets" disabled=no
  95. add chain=forward connection-state=invalid action=drop comment="drop invalid packets" disabled=no
  96. add chain=forward src-address-type=!unicast action=drop comment="drop all that is not from unicast" disabled=no
  97. add chain=forward in-interface=internet src-address-list=not_in_internet action=drop comment="drop data from bogon IP's" \
  98.     disabled=no
  99. add chain=forward in-interface=!internet dst-address-list=not_in_internet action=drop comment="drop data to bogon IP's" \
  100.     disabled=no
  101. add chain=forward protocol=icmp action=jump jump-target=ICMP comment="jump to chain ICMP" disabled=no
  102. add chain=forward action=jump jump-target=virus comment="jump to virus chain" disabled=no
  103. add chain=forward action=accept comment="Accept everything else" disabled=no

  104. add chain=output connection-state=invalid action=drop comment="drop invalid packets" disabled=no
  105. add chain=output connection-state=related action=accept comment="accept related packets" disabled=no
  106. add chain=output connection-state=established action=accept comment="accept established packets" disabled=no
  107. add chain=output action=drop comment="Drop all connections from this router" disabled=no
复制代码
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-22 17:32 , Processed in 0.046024 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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