IPTables Strangeness

Kenny Hitt kenny at hittsjunk.net
Fri Dec 12 00:37:59 EST 2003


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 at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup




More information about the Speakup mailing list