我有 Debian 8 Jessie,并且安装了 iptables,但安装不正确。我可以像这样添加规则:iptables -A OUTPUT -s 212.50.128.0/19 -j DROP
但不起作用。iptables -L
命令正常工作。我尝试重新安装 iptables,但这对我没有帮助。
apt-get install iptables
状态给我那个消息
root@awakening:~# service iptables status ● iptables.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
我无法正确启动或重启 iptables
root@awakening:~# service iptables start Failed to start iptables.service: Unit iptables.service failed to load: No such file or directory.