win32sux |
02-21-2007 01:45 PM |
Quote:
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:
Code:
iptables-save > /etc/sysconfig/iptables
but being that AFAIK mandriva is red hat-based, you might be better-off using the "service" command, like:
Code:
service iptables save
i recommend you try the "service" way first, and then try the more manual way if that doesn't work...
|