$ iptables
sh: 1: iptables: not found
$ sudo iptables
[sudo] password for [redacted]:
sudo: iptables: command not found
$ /sbin/iptables
sh: 3: /sbin/iptables: not found
$ sudo /sbin/iptables
sudo: /sbin/iptables: command not found
iptables 不知为何从我的计算机中删除了。我该如何访问它?
答案1
如果iptables
没有安装或者二进制文件丢失,请尝试安装/重新安装它:
sudo apt-get install --reinstall iptables