[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: iptables rules
- From: Andrey Subbotin <e-ploko dominanta ru>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: iptables rules
- Date: Fri, 02 Jul 2004 15:50:15 +0800
On Fri, 2004-07-02, at 15:18, Andrea Marin wrote:
> 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?
Yup, you're right, they go into /etc/sysconfig/iptables. But you should
firstly do "service iptables save" before you'd see your new rules
there.
--
Andrey Subbotin
ICQ UIN: 114087545
Journal: http://www.livejournal.com/users/e_ploko/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]