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 _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
