From owner-freebsd-questions Mon Dec 30 17:26: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C43A37B401 for ; Mon, 30 Dec 2002 17:26:00 -0800 (PST) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14AE543EC2 for ; Mon, 30 Dec 2002 17:26:00 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id gBV1PxZs002714; Mon, 30 Dec 2002 17:25:59 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id gBV1Pxhr002713; Mon, 30 Dec 2002 17:25:59 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Mon, 30 Dec 2002 17:25:59 -0800 From: David Schultz To: Ralph Freibeuter Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mac os x 10.2.3 jaguar and port forwarding? Message-ID: <20021231012559.GB2607@HAL9000.homeunix.com> Mail-Followup-To: Ralph Freibeuter , freebsd-questions@FreeBSD.ORG References: <845D531A-1C56-11D7-9EF4-0005028311B7@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <845D531A-1C56-11D7-9EF4-0005028311B7@gmx.de> 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 Thus spake Ralph Freibeuter : > Ho can I exactly define a rule (and where?) that forwards > incoming requests to port 445 (samba?) to an internal machine > with lan ip 192.168.2.50 ? > > The routing Macs IP is 192.168.2.1 and the external IP is > given by ISP via pppoe. > > Please help me. > > I've already tried: > > sudo natd -redirect_port tcp 192.168.2.50:445 445 > > But all I get are messages about errors and addresses > that already have been given. This isn't an OS X list, but... have you tried killing any existing natd instances before you try the command above? I just use natd_flags in rc.conf to specify the -redirect_port options, and it works fine. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message