如何解决iptables: command not found
Debian 7.6 发生的问题?
batman@gotham:~$ uname -a
Linux gotham 3.14-0.bpo.2-amd64 #1 SMP Debian 3.14.13-2~bpo70+1 (2014-07-31) x86_64 GNU/Linux
batman@gotham:~$ iptables -L
bash: iptables: command not found
batman@gotham:~$ sudo apt-get install iptables
[sudo] password for batman:
Reading package lists... Done
Building dependency tree
Reading state information... Done
iptables is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
batman@gotham:~$
Run Code Online (Sandbox Code Playgroud)
我在谷歌上进行了广泛的搜索,大部分答案都是针对可追溯到 2005 年和 2009 年的 CentOS 和 Fedora。