From owner-freebsd-questions Wed Jul 3 0:46:30 2002 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 4240937B405 for ; Wed, 3 Jul 2002 00:46:18 -0700 (PDT) Received: from mta-1.gci.net (mta-1.gci.net [208.138.130.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CC5843E67 for ; Wed, 3 Jul 2002 00:46:15 -0700 (PDT) (envelope-from mark@outlander.us) Received: from mmp-1.gci.net ([208.138.130.80]) by mta-1.gci.net (Netscape Messaging Server 4.15) with ESMTP id GYNXKU00.T5B for ; Tue, 2 Jul 2002 23:46:06 -0800 Received: from laptop2 ([24.237.13.121]) by mmp-1.gci.net (Netscape Messaging Server 4.15) with SMTP id GYNXKV02.ZBI; Tue, 2 Jul 2002 23:46:07 -0800 Message-ID: <000b01c22265$34d60e00$790ded18@Workgroup> From: "Mark Weisman" To: "Masood Ahmad Shah" , References: <20020703045146.58653.qmail@mail.com> Subject: Re: IPNAT Redirect_Port issue Date: Tue, 2 Jul 2002 23:42:39 -0800 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.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Masood, I'm not 100% sure where you've got everything plugged into so I'll give you both sides: If you're going to make your natd call from the rc.conf file the string looks like; natd_flags="-redirect_port tcp 192.168.0.10:http 80" If you do like I did, I created a separate file that holds all my redirects then you would do: In rc.conf natd_flags="-f /etc/filename" In filename redirect_port tcp 192.168.0.10:http 80 Dumb question here, but I've got to ask? You've already got the kernel recompiled right? I thought you had said you did. That should do for you. His Faithful Servant, Mark ----- Original Message ----- From: "Masood Ahmad Shah" To: Sent: Tuesday, July 02, 2002 8:51 PM Subject: IPNAT Redirect_Port issue > Hi all, just got my FreeBSD 4.4 firewall up and running. Im having some IPNAT issues Im hoping you can help with. I want to use the redirect_port command, but I get some errors. > Actually I want to do if some one click on http://202.124.200.194:81/ > it will redirect to my local web server 192.168.0.10 > If I try it this way: > > jahil# natd -redirect_port tcp 192.168.0.10:80 81 > > This happens: > > natd: aliasing address not given > > any idea > > > -- > _______________________________________________ > Sign-up for your own FREE Personalized E-mail at Mail.com > http://www.mail.com/?sr=signup > > > 1 cent a minute calls anywhere in the U.S.! > > http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http:// www.getpennytalk.com > > > > 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