Page 1 of 1

iptables-save odd behavior

Posted: 16. Oct 2010, 23:59
by hotsushi
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

Re: iptables-save odd behavior

Posted: 17. Oct 2010, 00:19
by Perryg
Same on either Vbox 3.2.8, or 3.2.10
Probably because this is not a VirtualBox issue. It has to do with the Linux host/guest.