Unless this box is a router why are you using IPTables and not your
external router to port forward single ports or ranges to the
appropriate boxen?

Forwarding can bite you in the arse, and in fact is something you
DON'T want to do and state it so in your /etc/sysctl.conf


gk

On Mon, Jun 4, 2012 at 11:00 AM,  <tclug-list-request at mn-linux.org> wrote:
> Send tclug-list mailing list submissions to
>        tclug-list at mn-linux.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mailman.mn-linux.org/mailman/listinfo/tclug-list
> or, via email, send a message with subject or body 'help' to
>        tclug-list-request at mn-linux.org
>
> You can reach the person managing the list at

>   1. Iptables REDIRECT not working (wes smith)
>   2. Re: Iptables REDIRECT not working (gregrwm)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 3 Jun 2012 22:02:04 +0000
> From: wes smith <james007wjs at gmail.com>
> To: tclug-list at mn-linux.org
> Subject: [tclug-list] Iptables REDIRECT not working
> Message-ID:
>        <CANQN+fOuMQg9XebrKgr-3O5X4446R0TpURu3avFgCjJ=4Li7ig at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>  # iptables -V
> iptables v1.4.13
>
> # iptables -v -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT
> --to-port 8080
> REDIRECT  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0   tcp dpt:80 redir
> ports 8080
> iptables: No chain/target/match by that name.
>
> I would like to redirect all traffic on port 80 to port 8080
> Manpages says everything is correct.  There is no redirect option in the
> kernel(zen-3.3.7) config that I can find.
> -------------- next part --------------