Advertisement
kajege

drop telnet

May 11th, 2017
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. #telnet_blocker
  2.  
  3. / ip firewall filter
  4. add chain=input protocol=tcp dst-port=23 src-address-list=black_list action=drop \
  5. comment=”drop telnet brute forcers” disabled=no
  6. add chain=input protocol=tcp dst-port=23 connection-state=new \
  7. src-address-list=telnet_stage3 action=add-src-to-address-list address-list=black_list address-list-timeout=1d \
  8. comment=”” disabled=no
  9. add chain=input protocol=tcp dst-port=23 connection-state=new \
  10. src-address-list=telnet_stage2 action=add-src-to-address-list address-list=telnet_stage3 address-list-timeout=1m \
  11. comment=”” disabled=no
  12. add chain=input protocol=tcp dst-port=23 connection-state=new \
  13. src-address-list=telnet_stage1 action=add-src-to-address-list address-list=telnet_stage2 address-list-timeout=1m \
  14. comment=”” disabled=no
  15. add chain=input protocol=tcp dst-port=23 connection-state=new \
  16. action=add-src-to-address-list address-list=telnet_stage1 address-list-timeout=1m comment=”” \
  17. disabled=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement