Unable to add rule on Chain with 28 characters.

Royce Kemp rkemp at ip3.com
Fri Jul 8 22:10:57 CEST 2005


I have run into this problem as well. Learn to stick to 28 characters.

-r

At 01:01 PM 7/8/2005, Rafael Dreher wrote:
>>>Hi,
>>>
>>>I'm trying do add a rule on a user-defined chain, on the NAT table, with 
>>>28 characters.
>>
>>my guess is you're leaving out the '-t nat' as custom chains only exist
>>in the table they're created in:
>
>Hi, again.
>
>I guess no. :)
>
>[root at ward] [16:55:58]
>[~]#iptables -t nat -N ecommerce-internet at POSTROUTING
>
>[root at ward] [16:56:01]
>[~]#iptables -t nat -A POSTROUTING -j ecommerce-internet at POSTROUTING
>iptables: No chain/target/match by that name
>
>[root at ward] [16:56:19]
>[~]#
>
>Am I crazy? :)
>
>This chain has 30 characters... the max.. if I reduce it to 28, it's added 
>wihtout any problem.
>
>Thank's
>
>--
>Rafael Dreher
>
>-:: Red Hat Certified Engineer ::-
>-:: Nr: 807303498507617 ::-
>http://www.redhat.com/training/certification/verify





More information about the netfilter mailing list