VPS侦探论坛

 找回密码
 注册
查看: 4888|回复: 1

关于屏蔽IP的疑问

[复制链接]
发表于 2012-11-3 00:42:04 | 显示全部楼层 |阅读模式

https://www.vpser.net/security/linux-iptables.html


我按照上面教程的方法屏蔽的恶意用户的IP和IP段,也保存了规则并重启了,可执行
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

查看还是可以看到这些IP在访问,这是为什么呢?查看规则里面的规则是存在的啊

service iptables status  提示 command not found  是不是我的防火墙有问题?

[ 本帖最后由 89050909 于 2012-11-3 12:52 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-11-3 16:53:15 | 显示全部楼层


可能iptables 有问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-23 23:28 , Processed in 0.025003 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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