El Lunes, 7 de Febrero de 2005 21:35, Pablo Braulio escribi�: > El Lunes, 7 de Febrero de 2005 20:38, M. Parrilla escribi�: > > Hola > > > > Tengo un script para configurar iptables durante el arranque, que me > > funciona correctamente. El problema me ha surgido, al querer meter una > > regla para hacer DNAT. Dicha regla ser�a tal que: > > > > $IPTABLES -t nat -A PREROUTING -p tcp -s XXX.XXX.XXX.XXX --dport XXXX \ > > -j DNAT --to-destination XXX.XXX.XXX.XXX:XXXX > > > > Cuando lo intento, al ejecutar el script me sale en mensaje: > > > > Bad argument ` ' > > Try `iptables -h' or 'iptables --help' for more information. > > ./misreglas: line 367: --to-destination: command not found > > Creo que est� claro. > No encuentra el comando --to-destination. Haz simplemente "--to"
Me da el mismo mensaje de "command not found" para "--to" Gracias -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

