Re: my iptables setting not loaded after reboot in fc5

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

 



Create by hand an script to load your rules (many of us do that).

You can try FWBuilder (a frontend for iptables).

Regards

Hongwei Li escribió:
First you should set the iptables rules to what you desire. Then you should
save them with

iptables-save > /etc/sysconfig/iptables

and having set the settings I refered to to "yes", the iptables should
survive after a reboot.
It works perfectly with my system. I think the problem is that you
rebooted/restarted
iptables before setting them up, and that's why you don't get any rules now.

-- NO. I did exactly as what you said:
1. set my rules in /etc/sysconfig/iptables

2. edit /etc/sysconfig/iptables-config and set
IPTABLES_SAVE_ON_STOP="yes"
IPTABLES_SAVE_ON_RESTART="yes"

3. run service iptables restart

4. run iptables-save > /etc/sysconfig/iptables
-- after that, I checked the file /etc/sysconfig/iptables, it does have what I
set, the only change is the timestamp.

5. reboot

6. the file /etc/sysconfig/iptables goes to the "oroginal" one and no port is
opened -- all of my settings are gone.

The best way to correct this I guess is through the graphical helper go to
Start->System->Administration->Security Level and Firewall


That is not useful. I discussed with several other people before -- it does
not provide the way to set source IPs.  I will try Firestater.

Hongwei


--
   Samuel Díaz García
    Director Gerente
ArcosCom Wireless, S.L.L.

CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz

http://www.arcoscom.com

mailto:samueldg@xxxxxxxxxxxx
msn: samueldg@xxxxxxxxxxxx

Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax:   956 70 34 83

--
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