iptables-save odd behavior

Discussions about using Linux guests in VirtualBox.
Post Reply
hotsushi
Posts: 7
Joined: 13. Jan 2010, 03:10
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: OpenSuse 11.2, Fedora 12, Windows 7

iptables-save odd behavior

Post 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
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: iptables-save odd behavior

Post 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.
Post Reply