From owner-freebsd-questions Wed Mar 21 11:54:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id 9E81E37B725 for ; Wed, 21 Mar 2001 11:54:31 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.11.3) with SMTP id f2LJqb592247; Wed, 21 Mar 2001 14:52:41 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <008501c0b240$495badd0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Ben" , References: <004b01c0b22f$1aa2fc70$6102a00a@nhqadmin17> Subject: Re: NATD ? Date: Wed, 21 Mar 2001 14:51:10 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Can I do this. I want to redirect port 21 and 20 to one of my > internal servers on port 10003. I already have port 21 and 20 being > used on another server through the nat. Shouldn't this work? > > redirect_port tcp 192.168.1.14:21 10003 > redirect_port udp192.168.1.14:20 10003 This should work as expected -- I have a similar setup. However, I am redirecting tcp for port 20, not udp. That may be the cause of your problem. > Also doesn't the natd config file gets read > on the fly. Or do I need to reload anything? You need kill natd and start it again when your natd configuration file changes. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message