From mboxrd@z Thu Jan 1 00:00:00 1970 From: Buddy wu Subject: Re: what's the problem of DNAT Date: Mon, 31 Oct 2005 13:24:51 +0800 Message-ID: <43a0cdcb0510302124i68c2aa9dg@mail.gmail.com> References: <43a0cdcb0510301931p3f97ff66p@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <43a0cdcb0510301931p3f97ff66p@mail.gmail.com> Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org It's really strange, please HELP me I've checked and I'm sure that no rules was set to forbidden access to that ports. 2005/10/31, Buddy wu : > I use '/sbin/iptables -t nat -A PREROUTING -d InternetAddr -p tcp > --dport 80 -j DNAT --to 192.168.16.100:8087' it can work, but if I use > 8087 instead of 80,like follows: > /sbin/iptables -t nat -A PREROUTING -d InternetAddr -p tcp --dport > 8087 -j DNAT --to 192.168.16.100:8087 then it can't work. what's wrong > with it ? >