Re: iptables problem

<[email protected]> Thu, 15 Feb 2007 16:56:57 +0700
Newsgroups gmane.linux.trustix.general
Message-ID <019f01c750e7$a72621b0$0900a8c0@schat>
Hi Arne,
Thanks for the reply, I am investigating it now. I will let you the
solution. Thanks again.

Regards


Willy
----- Original Message -----
From: "Arne Brodowski" <[email protected]>
To: <[email protected]>
Sent: Thursday, February 15, 2007 1:54 PM
Subject: Re: iptables problem


> Hi Willy,
>
> the DNAT target is only valid in the nat table, have you added a "-t
> nat" at the beginning of the rule?
> e.g. iptables -t nat -A PREROUTING <rest of the rule>
>
> According to the man-page, please use "-j DNAT --to-destination
> 192.168.0.30:80" instead of "-j DNAT --to 192.168.0.30:80".
>
> Regards,
> Arne
>
> [email protected] wrote:
> > hi,
> > i am trying to do portforwarding using iptables with this rule: -s
0.0.0.0/0 -d 1.2.3.4/32 -i eth0 -p tcp --dport 8080 -j DNAT --to
192.168.0.30:80 and fail. Please help me and thanks for the reply.
> >
> > Regards
> >
> >
> > Willy
> > _______________________________________________
> > tsl-discuss mailing list
> > [email protected]
> > http://lists.trustix.org/mailman/listinfo/tsl-discuss
> _______________________________________________
> tsl-discuss mailing list
> [email protected]
> http://lists.trustix.org/mailman/listinfo/tsl-discuss