Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2001 22:53:31 -0500 (CDT)
From:      Nick Rogness <nick@rogness.net>
To:        Matthew Emmerton <matt@gsicomp.on.ca>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: getting nat to refresh its rules
Message-ID:  <Pine.BSF.4.21.0108282251440.67736-100000@cody.jharris.com>
In-Reply-To: <001301c13037$64fad820$1200a8c0@gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Aug 2001, Matthew Emmerton wrote:

> I've been keeping myself busy over the past 3 weeks installing FreeBSD
> servers configured with NAT & ipfw to act as corporate gateways to the
> Internet.  So far I've deployed 3 systems, with 4 more to do in the
> next month.  My boss and the companies that we're doing this for are
> more than impressed with how well it is all working.
> 
> However, I have one big beef with the current setup, and that is there
> is no easy way short of a reboot to get natd to re-read its
> configuration, as given by the -f option.  This means that if I add a
> new forwarding rule, I have to reboot the box to get natd to use its
> new configuration.
> 
> Does anyone know of a way to get natd to re-read it's configuration
> file, preferably without interrupting any sessions that are in
> progress?

	Restarting the natd process will do the trick...it may be
	difficult from outside though.  You could write a shell script to
	do it pretty easily.


Nick Rogness <nick@rogness.net>
 - Keep on Routing in a Free World...
  "FreeBSD: The Power to Serve!"


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.21.0108282251440.67736-100000>