使用 iptables -j DROP 禁止 ip 时,我是否已重置 service/something

Do i have reset service/something when banning an ip with iptables -j DROP

我只是 运行 这个命令

 iptables -A INPUT -s 1.1.1.1 -p TCP -j DROP

我是否必须重置服务或类似的东西?它似乎不起作用,因为当我使用 netstat -antp 时,我仍然可以看到我刚刚删除的 ip

TCP 连接可能仍然保持打开状态直到超时(如果我没记错的话最多 5 分钟),但流量本身应该被丢弃(例如,应该没有数据流动)。