From owner-freebsd-questions Wed Aug 29 9:15:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f163.law11.hotmail.com [64.4.17.163]) by hub.freebsd.org (Postfix) with ESMTP id D31ED37B407 for ; Wed, 29 Aug 2001 09:15:26 -0700 (PDT) (envelope-from thisisjoel@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 29 Aug 2001 09:15:26 -0700 Received: from 65.205.209.162 by lw11fd.law11.hotmail.msn.com with HTTP; Wed, 29 Aug 2001 16:15:19 GMT X-Originating-IP: [65.205.209.162] From: "Joel Rosenberg" To: cjclark@alum.mit.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Forwarding packets from the internal network Date: Wed, 29 Aug 2001 16:15:19 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 29 Aug 2001 16:15:26.0468 (UTC) FILETIME=[D0400C40:01C130A5] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > >I believe what he is saying is that 192.168.1.21 is responding to > > >port 80 requests with a src_port of 80 and not 81 which would not > > >work. So if I understand correctly: > > > > > > 1) natd gets packet from outside world: > > > > > > SOURCE DESTINATION > > > remote_IP:16675 --> your_nat_outside_IP:81 > > > > > > 2) natd changes packet to: > > > > > > SOURCE DESTINATION > > > remote_IP:16675 --> 192.168.1.21:80 > > > > > > 3) Packet gets sent to 192.168.1.21 port 80 > > > > > > 4) 192.168.1.21 responds sending packet back to natd > > > machine. > > > > > > 5) natd changes packet to: > > > > > > SOURCE DESTINATION > > > your_nat_outside_IP:80 --> remote_IP:16675 > >That's not what natd(8) will do. It will change it to, > > SOURCE DESTINATION > your_nat_outside_IP:81 --> remote_IP:16675 > Yeah, that's what it should be doing, but I always end up getting a connection to the other appliance, 192.168.1.20 after an initial login prompt. If I'm inside the network, I can go to both fine. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message