From owner-freebsd-questions Tue Feb 15 18:25: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sasknow.com (h139-142-245-96.ss.fiberone.net [139.142.245.96]) by builder.freebsd.org (Postfix) with ESMTP id 57A8B46AF for ; Tue, 15 Feb 2000 18:18:09 -0800 (PST) Received: from localhost (freebsd@localhost) by sasknow.com (8.9.3/8.9.3) with ESMTP id UAA64724; Tue, 15 Feb 2000 20:02:43 -0600 (CST) (envelope-from freebsd@sasknow.com) Date: Tue, 15 Feb 2000 20:02:43 -0600 (CST) From: Ryan Thompson To: Brian Anderson Cc: "Fred J. Lomas" , "freebsd-questions@freebsd.org" Subject: Re: Natd In-Reply-To: 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 On Tue, 15 Feb 2000, Brian Anderson wrote: > On Tue, 15 Feb 2000, Fred J. Lomas wrote: > > > Hi, > > how do I go about editing my natd every time i open it up it > > comes up all encrypted > > > what are you trying to open? are you editing the file with the natd > configuration rules in it (rc.firewall?)m or are you trying to open up the > natd program itself. /etc/rc.firewall contains no natd rules, and only contains an entry for enabling packets through the natd interface. From /etc/rc.firewall: ############ # These rules are required for using natd. All packets are passed to # natd before they encounter your remaining rules. The firewall rules # will then be run again on each packet after translation by natd, # minus any divert rules (see natd(8)). if [ "X${natd_enable}" = X"YES" -a "X${natd_interface}" != X"" ]; then $fwcmd add divert natd all from any to any via ${natd_interface} fi natd configuration can be placed directly in /etc/rc.conf via the natd_flags="..." line, or it can be externalized by using natd_flags="-f /etc/natd.conf", and putting the options, one per line, into /etc/natd.conf, without preceding dashes. > > i use ipfilter/ipnat myself, but from what i remember, to change your natd > setup, you'd either create your own script file, or modify > /etc/rc.firewall... > > brian > See above -- Ryan Thompson 50% Owner, Sysadmin SaskNow Technologies http://www.sasknow.com #106-380 3120 8th St E Saskatoon, SK S7H 0W2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message