Re: my iptables setting not loaded after reboot in fc5

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

 



> You should also change
>
> IPTABLES_SAVE_ON_RESTART="no"
>
> to
>
> IPTABLES_SAVE_ON_RESTART="yes"
>
> as well in /etc/sysconfig/iptables-config. Then make all the desired changes
> you
> want in iptables rules and save them (just in case) by
>
> iptables-save > /etc/sysconfig/iptables
>
> Then your rules should survive system reboots.
>
> Filippos
>
No, it gets even worse -- erased all of my settings and put something like:

# Generated by iptables-save v1.3.5 on Thu May 18 14:04:52 2006
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
# Completed on Thu May 18 14:04:52 2006
# Generated by iptables-save v1.3.5 on Thu May 18 14:04:52 2006
*mangle
:PREROUTING ACCEPT [5249:508453]
:INPUT ACCEPT [5249:508453]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [2607:420915]
:POSTROUTING ACCEPT [2608:421173]
COMMIT
# Completed on Thu May 18 14:04:52 2006
# Generated by iptables-save v1.3.5 on Thu May 18 14:04:52 2006
*nat
:PREROUTING ACCEPT [544:96419]
:POSTROUTING ACCEPT [119:9123]
:OUTPUT ACCEPT [119:9123]
COMMIT
# Completed on Thu May 18 14:04:52 2006

in the file /etc/sysconfig/iptables and no port (22, 80, etc.) is open after
reboot.

Hongwei

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux