温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

利用防火墙拒绝恶意IP实例

发布时间:2020-08-05 21:55:10 来源:网络 阅读:1133 作者:perlin 栏目:安全技术

近段时间生产平台服务上看到不少IP地址发起大量线程,本来打算利用APF或者脚本来阻止这些连接。但想想为何在最后的防御上面做啦?这里我使用防火墙的访问控制列表拒绝就行了,考虑控制列表经常维护操作平凡建议创建组。贴上我的实例:

 

  1. object-group network deny_ddos  
  2. host 70.39.96.146 
  3.  
  4. object-group network permit_other  
  5. any 
  6.  
  7. ip access-list extended deny_ddos  
  8. deny   ip object-group deny_ddos any  
  9. permit ip object-group permit_other any 
  10.  
  11. interface FastEthernet0/0/0  
  12. description Out-Web80-1 (CNportal)  
  13. ip address 115.85.150.130 255.255.255.248  
  14. ip access-group deny_ddos in  
  15. no ip redirects  
  16. no ip unreachables  
  17. no ip proxy-arp  
  18. ip nat outside  
  19. ip virtual-reassembly in  
  20. duplex auto  
  21. speed auto 

 

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI