iptables-save odd behavior
Posted: 16. Oct 2010, 23:59
Hi,
The output of iptables-save shows the current rules and looks OK but when it is redirected:
iptables-save > iptables.txt
the output file is created but it is empty, 0 bytes, not what I expected.
What am I missing???
It's not a problem as a workaround is to backup /etc/sysconfig/iptables and then run:
service iptables save
Same on either Vbox 3.2.8, or 3.2.10
Fedora 13 guest
Windows 7 host
all patched and current.
Thanks,
Mike
The output of iptables-save shows the current rules and looks OK but when it is redirected:
iptables-save > iptables.txt
the output file is created but it is empty, 0 bytes, not what I expected.
What am I missing???
It's not a problem as a workaround is to backup /etc/sysconfig/iptables and then run:
service iptables save
Same on either Vbox 3.2.8, or 3.2.10
Fedora 13 guest
Windows 7 host
all patched and current.
Thanks,
Mike