From owner-freebsd-questions Wed Aug 9 6:14:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from c528925-a.plano1.tx.home.com (c528925-a.plano1.tx.home.com [24.21.161.123]) by hub.freebsd.org (Postfix) with ESMTP id D708F37B594 for ; Wed, 9 Aug 2000 06:14:56 -0700 (PDT) (envelope-from jeff@kreska.org) Received: from kreska.org (c528925-a.plano1.tx.home.com [24.21.161.123]) by c528925-a.plano1.tx.home.com (8.9.3/8.9.3) with ESMTP id IAA01569; Wed, 9 Aug 2000 08:14:54 -0500 (CDT) (envelope-from jeff@kreska.org) Message-ID: <39915958.E904FB76@kreska.org> Date: Wed, 09 Aug 2000 08:15:04 -0500 From: Jeff X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Jon Rust Cc: freebsd-questions@FreeBSD.ORG Subject: Re: restarting natd remotely References: <20000808153226.A16088@mail.vcnet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I had the same experience. You have to use kill -9 or else natd won't exit. Jon Rust wrote: > I've got a client that uses a firewall I made for them with FreeBSD 3S. > Sometimes this customer calls and needs to change a port mapping. I ssh > in and change my natd config file. (I start natd with the -f flag.) How > would I restart it at that point? If I kill the current daemon, I get > locked out. I just tried this: > > # kill [pid of natd] && /sbin/natd -f /usr/local/etc/natd.conf -n mx1 > > And also got locked out, with no access to the box. Had to walk the guy > through restarting it from their side (the box usually has no kb or vid > connected). Is sending a "restart" command the only good way to restart > natd remotely? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message