From owner-freebsd-questions Tue Jun 30 19:56:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA05426 for freebsd-questions-outgoing; Tue, 30 Jun 1998 19:56:42 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from topgun.asiapac.net ([202.188.0.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05384 for ; Tue, 30 Jun 1998 19:56:29 -0700 (PDT) (envelope-from khwong@asiapac.net) Received: from topgun ([202.188.0.106]) by topgun.asiapac.net (Netscape Messaging Server 3.52) with SMTP id AAA7FC for ; Wed, 1 Jul 1998 10:53:57 +0800 Date: Wed, 1 Jul 1998 10:53:57 +0800 (SGT) From: Wong Keng Har X-Sender: khwong@topgun To: freebsd-questions@FreeBSD.ORG Subject: natd Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, I am running natd and ipfw on 2.2.5 machine. I am able to redirect my private network to outside but I am not able to do it in the other way. (private net (firewall) (public net) ep1 ep0 172.1.1.2 --------172.1.1.1 202.188.0.98------ 202.188.0.x how do i redirect from 202.188.0.98 to my internal server(172.1.1.2) ? my settings =========== /etc/natd.cf redirect_address 172.1.1.2 202.188.0.98 redirect_port 172.1.1.2:80 202.188.0.98:80 /etc/services natd 6668/divert firewall rules ipfw -f flush ipfw add divert natd all from any to any via ep0 ipfw add pass all from any to any running natd natd -f natd.cf anything wrong for my settings ? Please email to me . TIA Alice To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message