From owner-freebsd-questions Wed Mar 21 13:57:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from host2.hostmatters.com (host2.hostmatters.com [209.239.36.156]) by hub.freebsd.org (Postfix) with ESMTP id 80B3037B71E for ; Wed, 21 Mar 2001 13:57:41 -0800 (PST) (envelope-from ben@cahostnet.com) Received: from laptop ([208.143.52.83]) by host2.hostmatters.com (8.10.2/8.10.2) with SMTP id f2LLvLH06635; Wed, 21 Mar 2001 16:57:21 -0500 Message-ID: <00e701c0b252$02340580$0d01a8c0@casystems.net> From: "Ben O." To: "Matthew Emmerton" , References: <004b01c0b22f$1aa2fc70$6102a00a@nhqadmin17> <008501c0b240$495badd0$1200a8c0@gsicomp.on.ca> Subject: Re: NATD ? Date: Wed, 21 Mar 2001 16:58:04 -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.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thank you I'll give that a try. Ben ----- Original Message ----- From: "Matthew Emmerton" To: "Ben" ; Sent: Wednesday, March 21, 2001 2:51 PM Subject: Re: NATD ? > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message