iptables -t nat -A POSTROUTING -s 10.0.1.0/24 -o eth0 -j MASQUERADE 后 iptables -L 查看是空的没有规则,service iptables status 提示 unrecognized service。
然后
apt-get install iptables
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.
系统也装了 iptables
摸不到头脑,以为系统问题(Debian 7 32bit)试了 Ubuntu 10.04 32bit 也是如此,这是怎么回事?
然后
apt-get install iptables
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.
系统也装了 iptables
摸不到头脑,以为系统问题(Debian 7 32bit)试了 Ubuntu 10.04 32bit 也是如此,这是怎么回事?