Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 09:16:49 -0800 (PST)
From:      Benjamin Ossei <ben@cahostnet.net>
To:        "DINKEY,GENE (HP-Loveland,ex1)" <gene_dinkey@hp.com>, "'ben@cahostnet.net'" <ben@cahostnet.net>, "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   RE: NATd configurations- where?
Message-ID:  <20010129171649.26F1E3ED3@sitemail.everyone.net>

next in thread | raw e-mail | index | archive | help
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)" <gene_dinkey@hp.com>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010129171649.26F1E3ED3>