From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafael Dreher Subject: Re: Unable to add rule on Chain with 28 characters. Date: Fri, 08 Jul 2005 17:01:03 -0300 Message-ID: <42CEDB7F.3060609@interage.com.br> References: <42CECD47.5050003@interage.com.br> <20050708195049.GA7221@bender.817west.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050708195049.GA7221@bender.817west.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Jason Opperisano Cc: netfilter@lists.netfilter.org >>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@ward] [16:55:58] [~]#iptables -t nat -N ecommerce-internet@POSTROUTING [root@ward] [16:56:01] [~]#iptables -t nat -A POSTROUTING -j ecommerce-internet@POSTROUTING iptables: No chain/target/match by that name [root@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