From owner-freebsd-questions Tue Jul 16 21:37:40 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 6D33E37B400 for ; Tue, 16 Jul 2002 21:37:38 -0700 (PDT) Received: from tsvnet.ozdaq.com.au (tsvnet.ozdaq.com.au [203.220.27.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 438F943E64 for ; Tue, 16 Jul 2002 21:37:37 -0700 (PDT) (envelope-from allan@ozdaq.com.au) Received: from TSV (tsv.ozdaq.com.au [203.220.27.227]) by tsvnet.ozdaq.com.au (8.12.3/8.12.3) with SMTP id g6H4Ykg4047118; Wed, 17 Jul 2002 14:34:46 +1000 (EST) (envelope-from allan@ozdaq.com.au) From: "Allan McDonald" To: "'Grant Cooper'" Cc: Subject: RE: rc.conf and adding a command Date: Wed, 17 Jul 2002 14:22:33 +1000 Message-ID: <0F08B228C722D311B5FC00A0C9FB2C7322B4E4@casserver.ozdaq.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <0F08B228C722D311B5FC00A0C9FB2C733BD2E0@casserver.ozdaq.com.au> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Disposition-Notification-To: "Allan McDonald" 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 Hi, I use the following, it works for me.. natd_program="/sbin/natd" natd_enable="YES" natd_interface="xl0" # Public interface or IPaddress to use. natd_flags="-s -m -redirect_port tcp 10.0.1.60:http 8080" Regards Allan McDonald -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Grant Cooper Sent: Saturday, 6 July 2002 2:17 AM To: FreeBSD-questions Subject: rc.conf and adding a command I've been working on this for awhile. From the command line I can run /sbin/natd -n vr0 but I have read I can put this line into rc.conf. I've tried alot of combinations but can seem to get it to click. I currently have, natd_interface="vr0" I wrote a script to do this but I want to know what I'm doing wrong. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message