Date: Tue, 15 Feb 2000 20:02:43 -0600 (CST) From: Ryan Thompson <freebsd@sasknow.com> To: Brian Anderson <bunicula@rcn.com> Cc: "Fred J. Lomas" <aj@8hill.com>, "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG> Subject: Re: Natd Message-ID: <Pine.BSF.4.10.10002151959200.63285-100000@sasknow.com> In-Reply-To: <Pine.BSF.4.21.0002151648570.8185-100000@asmodeus.diabolis.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ryan@sasknow.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10002151959200.63285-100000>