iptables: No chain/target/match by that name

Christopher Bianchi ienabellamy at gmail.com
Sun Oct 19 15:39:21 UTC 2008


very very very thanks !


On Sat, 2008-10-18 at 11:13 +1100, Paul Dwerryhouse wrote:
> On Sat, Oct 18, 2008 at 01:00:32AM +0200, Christopher Bianchi wrote:
> > ienabellamy at charlotte:~/Bin$ sudo iptables -A PREROUTING -p tcp -m tcp
> > --dport 80 -j REDIRECT --to-ports 8080
> 
> You need to choose the nat table, with -t nat:
> 
> iptables -t nat -A PREROUTING [...]
> 
> Cheers,
> 
> Paul
> 
> -- 
> Paul Dwerryhouse                             	| PGP Key ID: 0x6B91B584
> ========================================================================
> 
> http://linoleum.leapster.org/ - Linux Programming Resources
> 





More information about the ubuntu-users mailing list