||02-21-2007 02:45 PM
Originally Posted by boyfren
tnx a lot.... im using mandriva and iptables-save command works on it.... gotta make this work!!!
i'm not sure, but i believe on mandriva the iptables configuration is saved in the /etc/sysconfig/iptables
file (which might or might not exist by default)... if that's the case, then to save your iptables configuration you'd do a:
iptables-save > /etc/sysconfig/iptables
but being that AFAIK mandriva is red hat-based, you might be better-off using the "service" command, like:
service iptables save
i recommend you try the "service" way first, and then try the more manual way if that doesn't work...