From owner-freebsd-questions Tue Aug 28 20:53:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 0679F37B408 for ; Tue, 28 Aug 2001 20:53:37 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f7T3rVM69033; Tue, 28 Aug 2001 22:53:32 -0500 (CDT) (envelope-from nick@rogness.net) Date: Tue, 28 Aug 2001 22:53:31 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Matthew Emmerton Cc: freebsd-questions@FreeBSD.ORG Subject: Re: getting nat to refresh its rules In-Reply-To: <001301c13037$64fad820$1200a8c0@gsicomp.on.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 - 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