Re: iptables rules

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

 



On Friday 02 July 2004 03:18, Andrea Marin wrote:
>Hi all,
>
>I have create a rules for my firewall:
>
>#iptables -A INPUT -s 0/0 -d 1.2.3.4 -m state --state NEW -p tcp
> --dport 80 -i eth0 -j DROP
>
>When I try to connect to my web server the connections is refuse,
> and this is ok, but if I want to see the rules in the
> configuration-file /etc/sysconfig/iptables the line there isn't.
>
>Where put the rules my fedora core 2 box?

If you are starting iptables from the init.d directory, or a link to 
it from say /etc/rc.d/rc3.d, then I believe that its 
the /etc/sysconfig/iptables ruleset that gets loaded at boot time, 
therefore thats where to put the rule.

>Thanks
>Andrea

-- 
Cheers, Gene
There are 4 boxes to be used in defense of liberty. 
Soap, ballot, jury, and ammo.
Please use in that order, starting now.  -Ed Howdershelt, Author
Additions to this message made by Gene Heskett are Copyright 2004, 
Maurice E. Heskett, all rights reserved.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux