Re: IPTables not flushing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/04/2013 03:53 AM, Ed Greshko wrote:
> On 06/04/13 05:35, Anthony wrote:
>> I'm playing around with iptables and have inserted a few new rules.
>> Now, I want to flush them all so I use
>>
>> iptables -F
>>
>> Then, I restart the firewall with
>>
>> service iptables restart
>>
>> and everything looks like it's restarting alright. But when I list the
>> rules using
>>
>> iptables -L
>>
>> I get a list of rules THAT INCLUDE all of the rules I've defined
>> before the flush!
>>
>> Am I reading this wrong or is something weird with my iptables?
>>
> 
> First, I think it is best to confirm the version of Fedora you're running.  Also, you're wanting to use the iptables service so, you've disabled firewalld and enabled iptables?
> 
> 
If you are using iptables, then after an iptables rules flush/change,
you need to do a 'service iptables save' to make the rules flush/change
persistent*, before the iptables restart.

*/etc/sysconfig/iptables

-- 
Regards,

Rejy M Cyriac (rmc)
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux