From owner-freebsd-security Tue Jul 23 22:31: 3 2002 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C2E537B400; Tue, 23 Jul 2002 22:30:59 -0700 (PDT) Received: from addr-mx01.addr.com (addr-mx01.addr.com [209.249.147.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 237AF43E3B; Tue, 23 Jul 2002 22:30:59 -0700 (PDT) (envelope-from torvalds@addr.com) Received: from proxy1.addr.com (proxy1.addr.com [209.249.147.28]) by addr-mx01.addr.com (8.12.2/8.12.2) with ESMTP id g6O5UwNB018221; Tue, 23 Jul 2002 22:30:58 -0700 (PDT) Received: from TS22 ([202.71.153.170]) by proxy1.addr.com (8.11.6/8.9.1) with ESMTP id g6O5UuO53985; Tue, 23 Jul 2002 22:30:57 -0700 (PDT) (envelope-from torvalds@addr.com)(envelope-to ) Message-ID: <004d01c232d3$352683c0$9600a8c0@blraddrcom> From: "Naga Suresh B" To: Cc: Subject: problem with portforwarding Date: Wed, 24 Jul 2002 11:00:20 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Scanned-By: MIMEDefang 2.15 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hai, We are facing a problem in configuring the portforwarding on our gateway. We are having a gateway with two network cards one with external ip(xxx.xxx.xxx.170) and another one with internal ip(192.168.0.200). We Created an alias ip for another external ip(xxx.xxx.xxx.172) and we had done portforwarding 443 to another internal ip (192.168.0.203) on another fbsd machine. We added the following line in the natd.conf on 192.168.0.200 redirect_port tcp 192.168.0.203:443 xxx.xxx.xxx.172:443 redirect_port tcp 192.168.0.203:22 xxx.xxx.xxx.172:22 We are running ipfw on the 192.168.0.200. We are running httpd on both the machines. After doing portforwarding when we are trying to access the application from outside xxx.xxx.xxx.172 is working fine. But we are not able to access the application on 172 from inside with public ip and we are able to access the application with 192.168.0.203. Also the name does not resolve for the IP xxx.xxx.xxx.172 from the internal network where as the same thing happens from outside. How do we solve this? Please Give the solution as early as possible and plz help us. Regards, Naga Suresh B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message