我是新手,所以我先道歉。
我正在尝试安装DansGuardian (我相信我已经安装了)并开始工作。为了让它正常工作,我需要通过iptables过滤应用程序的IP流量。在“让DansGuardian在Ubuntu上工作”页面中有适当的命令。我的问题是,系统告诉我,iptables目前还没有安装--这是错误的。我知道它是Ubuntu的主要防火墙服务。
我试过:
xyzzy@ubuntu:/usr/sbin$ iptables
The program 'iptables' is currently not installed.
You can install it by typing:
sudo apt-get install iptables所以:
sudo apt-get install iptables
Reading package lists... Done
Building dependency tree
Reading state information... Done
iptables is already the newest version.
The following package was automatically installed and is no longer required:
thunderbird-globalmenu
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 342 not upgraded.结果却被告知,我正在运行的版本是最新版本。
飞碟在跑。
发布于 2014-07-30 00:36:35
对kraxor对原来问题的评论是肯定的:
您应该尝试通过执行以下命令重新安装iptables:
sudo apt-get --reinstall install iptables发布于 2014-07-30 00:39:22
一个接一个地试试
sudo apt-get remove iptables
sudo apt-get update
sudo apt-get install iptables现在应该管用了。
发布于 2015-07-21 09:38:23
使用以下命令:
sudo apt-get update
sudo apt-get install iptables-persistent它将为您安装iptables-persistent包。
https://askubuntu.com/questions/504351
复制相似问题