From owner-freebsd-questions Mon Jan 29 9:17:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from omta05.mta.everyone.net (reports.everyone.net [216.200.145.62]) by hub.freebsd.org (Postfix) with ESMTP id 3047A37B402 for ; Mon, 29 Jan 2001 09:16:53 -0800 (PST) Received: from sitemail.everyone.net (reports [216.200.145.62]) by omta05.mta.everyone.net (Postfix) with ESMTP id 1C7CA47E95; Mon, 29 Jan 2001 09:16:53 -0800 (PST) Received: by sitemail.everyone.net (Postfix, from userid 99) id 26F1E3ED3; Mon, 29 Jan 2001 09:16:49 -0800 (PST) Content-Type: text/plain Content-Disposition: inline Mime-Version: 1.0 X-Mailer: MIME-tools 4.104 (Entity 4.117) Date: Mon, 29 Jan 2001 09:16:49 -0800 (PST) From: Benjamin Ossei To: "DINKEY,GENE (HP-Loveland,ex1)" , "'ben@cahostnet.net'" , "'freebsd-questions@freebsd.org'" Subject: RE: NATd configurations- where? Reply-To: ben@cahostnet.net X-Originating-Ip: [162.6.224.88] Message-Id: <20010129171649.26F1E3ED3@sitemail.everyone.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks to all. I will give this a shot. I think I know what I need to do now. Ben --- "DINKEY,GENE (HP-Loveland,ex1)" > wrote: >> -----Original Message----- >> From: Benjamin Ossei [mailto:ben@cahostnet.net] >> Sent: Monday, January 29, 2001 8:44 AM >> To: questions@freebsd.org >> Subject: NATd configurations- where? >> >> >> Where are the configuration files located for natd? I need to >> setup some nating rules. > >In your /etc/rc.conf you should have a fw lines that look like this. > > >natd_program="/sbin/natd" # path to natd, if you want a different one. >natd_enable="YES" # Enable natd (if firewall_enable == YES). >natd_interface="ed1" # Public interface or IPaddress to use. >natd_flags="-f /usr/local/etc/natd.conf" # Additional flags for natd. > > >The line that says natd_flags is what you want to add your config file to. >-f tells natd to use the specified config file (in my case it's >/usr/local/etc/natd.conf) > >Then just add your configs to the conf file. If you don't want to reboot >the server just kill natd and restart it using: > >natd -f /usr/local/etc/natd.conf > >IIRC natd does not respond to SIGHUP so you need to kill and restart. > > >Gene > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message _____________________________________________________________ ========GET YOUR FREE E-MAIL============ http://freemail.cahostnet.net Web Hosting http://www.cahostnet.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message