Re: Iptables not saving...

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

 



On 5/7/06, Devon Harding <devonharding@xxxxxxxxx> wrote:
On 4/23/06, Devon Harding <devonharding@xxxxxxxxx> wrote:
> The reason I want the chains saved, is because I'm uning sshdblackd
> (http://www.sshblack.com) to block failed ssh attempts on my box
>
> Here is everything that I did manually...
[snip]
>
> [root@mars ~]# cat /etc/cron.hourly/iptables.cron
> #!/bin/sh
> /sbin/iptables-save >/dev/null 2>&1
[snip]

So, your cron script just put your rules to a kitchen sink :)
Did you RTFM? iptables-save outputs current rules to stdin.
If you want them to be saved, redirect output not to
/dev/null but /etc/sysconfig/iptables .
Be careful and keep copy of this file because if you change
configuration in system-config-securitylevel dialog, all manual
rules will be lost.
HTH.

By the way, if I remember correctly, someone in this
thread give this advice already. I'm lazy to reread all messages :)

V.Rudenko
--
λ is the ultimate

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