[CentOS] how to get iptables rule to log actions?

Ian Blackwell ian at ikel.id.au
Mon Apr 6 13:04:58 UTC 2009


Rudi Ahlers wrote:
> I have the following options in /etc/sysconfig/iptables:
>
>
> -A RH-Firewall-1-OUTPUT -d 87.89.180.50 -j LOG
> -A RH-Firewall-1-OUTPUT -d 87.89.180.50 - j DROP
>   
Perhaps it is the space between the hyphen and the j on your second line?

Ian


More information about the CentOS mailing list