From owner-freebsd-questions Fri Mar 14 5:35:15 2003 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 4D3A137B401 for ; Fri, 14 Mar 2003 05:35:13 -0800 (PST) Received: from catflap.home.slightlystrange.org (pc1-cmbg1-4-cust43.cmbg.cable.ntl.com [62.253.133.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC12743FBF for ; Fri, 14 Mar 2003 05:35:11 -0800 (PST) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 18tpKy-0000H1-00 for freebsd-questions@FreeBSD.ORG; Fri, 14 Mar 2003 13:35:04 +0000 Date: Fri, 14 Mar 2003 13:35:04 +0000 From: Daniel Bye To: freebsd-questions@FreeBSD.ORG Subject: Re: Port Forwarding FreeBSD 4.7_Release Message-ID: <20030314133504.GA709@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Scanner: exiscan *18tpKy-0000H1-00*40XVFsp3c6Y* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) 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 On Fri, Mar 14, 2003 at 01:07:42PM +0000, Matthew Ryan wrote: > Thanks Dan > > Unfortunately that doesn't seem to work either. Rats! > I get this when I enter on the command line: > > natd -n ep0 -redirect_port tcp 192.168.1.241:xxxx xxxx > > natd: Unable to create divert socket.: Operation not permitted Silly question, I'm almost blushing to ask - you are running the command as root, yes? > and no results using the following in /etc/rc.conf: > > natd_flags="-n ep0 -redirect_port tcp 192.168.1.241:xxxx xxxx" > > By the way, the interface is specified already in /etc/rc.conf as > follows?: > > natd_interface="ep0" This will ensure it's picked up at boot time, as Bill stated, but won't affect the stuff you do on the commandline. > any other ideas? If it's not because you are running as a non-root user, no, not really. > > Ta > > Matthew Ryan > > Matt@overdose.com -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message