From owner-freebsd-questions Tue Aug 8 15:32:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from vcnet.com (mail.vcnet.com [209.239.239.15]) by hub.freebsd.org (Postfix) with SMTP id 2CF9E37B64E for ; Tue, 8 Aug 2000 15:32:28 -0700 (PDT) (envelope-from jon@vcnet.com) Received: (qmail 20827 invoked by uid 1001); 8 Aug 2000 22:32:26 -0000 Date: Tue, 8 Aug 2000 15:32:26 -0700 From: Jon Rust To: freebsd-questions@freebsd.org Subject: restarting natd remotely Message-ID: <20000808153226.A16088@mail.vcnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i X-Operating-System: http://www.freebsd.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? Thanks, jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message