Re: iptables rules

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

 



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/



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

  Powered by Linux