From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 03:21:32 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0D8F16A41F for ; Mon, 2 Jan 2006 03:21:32 +0000 (GMT) (envelope-from lauasanf@wilderness.homeip.net) Received: from mxsf16.cluster1.charter.net (mxsf16.cluster1.charter.net [209.225.28.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F76D43D4C for ; Mon, 2 Jan 2006 03:21:32 +0000 (GMT) (envelope-from lauasanf@wilderness.homeip.net) Received: from mxip26a.cluster1.charter.net (mxip26a.cluster1.charter.net [209.225.28.181]) by mxsf16.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id k023LVdV025993 for ; Sun, 1 Jan 2006 22:21:31 -0500 Received: from 24-183-196-66.dhcp.jcsn.tn.charter.com (HELO [192.168.1.6]) ([24.183.196.66]) by mxip26a.cluster1.charter.net with ESMTP; 01 Jan 2006 22:21:31 -0500 X-IronPort-AV: i="3.99,319,1131339600"; d="scan'208"; a="616029366:sNHT25023664" Message-ID: <43B896A1.1010005@wilderness.homeip.net> Date: Sun, 01 Jan 2006 20:57:37 -0600 From: Laurence Sanford User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051224) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: natd -redirect_port question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2006 03:21:32 -0000 I have natd set up on a 4.10 box to get the rest of my network on the internet. I have an application that requires connections to be able to be established on a specific port. The problem is, sometimes I run this app on system A and sometimes on system B. The port stays the same. So in my rc.conf I have included in natd_flags -redirect_port tcp systemA:port port ; currently if I want to use the app on system B I'm having to reboot the natd box. Obviously this seems silly, however, I've found that trying to reset this information using a command line like: natd -n dc0 -redirect_port systemB:port port results in an errror stating redirect can't bind to that port, because it's already in use. I'm convinced I'm overlooking an easy way to change this redirect on the fly without having to reboot the natd box. Anyone care to point me the right direction? Thanks in advance.