iptables on fedora 5

Thibaut Lassalle thibaut at fuse.co.uk
Tue Jan 9 10:44:38 UTC 2007


On Jan 9, 2007, at 2:04 AM, George Hare wrote:

>>
>> Subject: Re: iptables on fedora 5
>> To: For users of Fedora <fedora-list at redhat.com>
>> Message-ID: <138782CB-834B-487F-B0C2-215BF9C815B3 at fuse.co.uk>
>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>>
>> still doesn't work ...
>> At reboot, it copies /etc/sysconfig/iptables to /etc/sysconfig/
>> iptables.save and put default values in /etc/sysconfig/iptables
>>
>> On Jan 8, 2007, at 2:50 PM, Raina Otoni wrote:
>>
>> > try "service iptables save" command
>> >
>> > Thibaut Lassalle wrote:
>> >> Hi
>> >>
>> >> I modified the /etc/sysconfig/iptables to match my needs but
>> >> whenever i
>> >> restart the server, the default settings come again.
>> >> How to keep my /etc/sysconfig/iptables even if i reboot ?
>>
> Try    # iptables-save > /etc/sysconfig/iptables
>        # chkconfig iptables on
>

it didn't work but i found the solution : cat /etc/sysconfig/iptables  
 > iptables-restore




More information about the fedora-list mailing list