Re: how to get iptables rule to log actions?

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



On Mon, Apr 6, 2009 at 2:14 PM, Ian Blackwell <ian@xxxxxxxxxx> wrote:
> Rudi Ahlers wrote:
>> On Mon, Apr 6, 2009 at 2:04 PM, Ian Blackwell <ian@xxxxxxxxxx> wrote:
>>
>>> 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
>>> _______________________________________________
>>>
>>
>> Hi Ian,
>>
>> There's no space, I made a typo when I typed what I saw. I can't copy
>> & past from the remote KVM.
>>
>>
> Excusing the space, your syntax looks OK - as long as you have something
> like this at the top of your file:-
> :RH-Firewall-1-OUTPUT - [0:0]
>
> Can you send more detail about your OUTPUT chain?
>
> Ian
> _______________________________________________


Aha, that's what I've missed :)


-- 

Kind Regards
Rudi Ahlers
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux