From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from user-69-1-42-5.knology.net ([69.1.42.5] helo=localhost) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1AUgDZ-0004si-00 for ; Fri, 12 Dec 2003 00:52:01 -0500 Received: from kenny by localhost with local (Exim 3.36 #1 (Debian)) id 1AUgDk-0004jX-00 for ; Thu, 11 Dec 2003 23:52:12 -0600 Date: Thu, 11 Dec 2003 23:52:12 -0600 To: "Speakup is a screen review system for Linux." Message-ID: <20031212055211.GB17752@localhost> Mail-Followup-To: "Speakup is a screen review system for Linux." References: <20031212053759.GA17752@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031212053759.GA17752@localhost> User-Agent: Mutt/1.5.4i From: Kenny Hitt Subject: Re: IPTables Strangeness X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2003 05:52:01 -0000 Should have read my reply closer before sending. Someone else had it. You need to specify the protocol before the --dport command. Try iptables -t nat -D PREROUTING -i eth0 -p tcp --dport 23 -j REDIRECT --to-port 80 Don't know if it does what you want, but iptables has no problem with it. Hope this helps. Kenny On Thu, Dec 11, 2003 at 11:37:59PM -0600, Kenny Hitt wrote: > Do you need an option like -A for add before the -t for tables maybe? > iptables -A -t nat -A PREROUTING -i eth0 --dport 23 -j REDIRECT > --to-port 80 > Kenny > > On Thu, Dec 11, 2003 at 04:43:22PM -0600, Luke Davis wrote: > > Anyone have any idea why this happens?: > > > > iptables -t nat -A PREROUTING -i eth0 --dport 23 -j REDIRECT --to-port 80 > > iptables v1.2.6a: Unknown arg `--dport' > > Try `iptables -h' or 'iptables --help' for more information. > > Done, exiting > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup