Hi, Le jeudi 24 janvier 2008 à 12:43 +0100, Gustavo Narea a écrit : > Hello, everyone. > > I'm new to netfilter and I'm trying to set a port redirection from port 80 to > port 8080. > > I'm using this line in the attached file: > -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 Miss "-t nat" in the line, you need to specify the table to use. > > But there's something wrong with it, and I don't know what. > > When I run `iptables-restore < /etc/iptables.config', I get this error: > iptables-restore: line 7 failed > > I'm using Debian Etch. > > Thanks in advance! -- Éric Leblond, eleblond@xxxxxx Téléphone : +33 1 44 89 46 40, Fax : +33 1 44 89 45 01 INL, http://www.inl.fr
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=