天下网吧 >> 网吧方案 >> 网络方案 >> 正文

自己用的软路由防火墙策略

  # local netword 192.168.1.0/24

  # mikroteros 2.9.26

  # QQ:277370403

  / ip firewall filter

  add chain=input connection-state=established action=accept \

  comment="Established connections" disabled=no

  add chain=input connection-state=related action=accept comment="Related \

  connections" disabled=no

  add chain=input connection-state=invalid action=drop comment="Drop invalid \

  connections" disabled=no

  add chain=input action=jump jump-target=viruses comment="!!!Viruse \

  detection!!!" disabled=no

  add chain=input protocol=udp action=accept comment="UDP protocol" disabled=no

  add chain=input protocol=icmp action=accept comment="ICMP protocol" \

  disabled=no

  add chain=input src-address=192.168.1.0/24 action=accept comment="From local \

  netword 192.168.1.0/24" disabled=no

  add chain=input protocol=tcp dst-port=1723 action=accept comment="Allow PPTP" \

  disabled=no

  add chain=input protocol=gre action=accept comment="" disabled=no

  add chain=input protocol=tcp dst-port=21 action=accept comment="Allow \

  FTP,SSH,TELNET,WEB,WINBOX to router" disabled=no

  add chain=input protocol=tcp dst-port=22 action=accept comment="" disabled=no

  add chain=input protocol=tcp dst-port=23 action=accept comment="" disabled=no

  add chain=input protocol=tcp dst-port=80 action=accept comment="" disabled=no

  add chain=input protocol=tcp dst-port=8291 action=accept comment="" \

  disabled=no

  add chain=input protocol=tcp dst-port=9998 action=accept comment="Allow \

  digital video recorder TCP:9998 UDP:9998" disabled=no

  add chain=input protocol=udp dst-port=9998 action=accept comment="" \

  disabled=no

  add chain=input action=drop comment="Drop everything else" disabled=no

  add chain=forward connection-state=established action=accept \

  comment="Established connections" disabled=no

  add chain=forward connection-state=related action=accept comment="Related \

  connections" disabled=no

  add chain=forward connection-state=invalid action=drop comment="Drop invalid \

  connections" disabled=no

  add chain=forward action=jump jump-target=viruses comment="!!!Viruse \

  detection!!!" disabled=no

  add chain=forward protocol=udp action=acce

本文来源:天下网吧 作者:网吧方案

相关文章
没有相关文章
声明
声明:本站所发表的文章、评论及图片仅代表作者本人观点,与本站立场无关。若文章侵犯了您的相关权益,请及时与我们联系,我们会及时处理,感谢您对本站的支持!联系Email:support@txwb.com,系统开号,技术支持,服务联系QQ:1175525021本站所有有注明来源为天下网吧或天下网吧论坛的原创作品,各位转载时请注明来源链接!
天下网吧·网吧天下