iptables: No chain/target/match by that name
Rashkae
ubuntu at tigershaunt.com
Sat Oct 18 00:21:17 UTC 2008
Christopher Bianchi wrote:
> hello ! i'm trying to configure nat portforwarding for my virtualbox,
> not with VBoxManage but with iptables, but the problem is this:
>
> ienabellamy at charlotte:~/Bin$ sudo iptables -A PREROUTING -p tcp -m tcp
> --dport 80 -j REDIRECT --to-ports 8080
>
> iptables: No chain/target/match by that name
>
> The error means that i'm missing some module ?
>
> thanks for the help !
>
>
>
>
Remove -m tcp
tcp module is loaded with --protocol tcp (your -p tcp) is used, not in a
-m argument.
More information about the ubuntu-users
mailing list