From owner-freebsd-questions Wed Jul 3 2:41:37 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 3D1C537B400 for ; Wed, 3 Jul 2002 02:41:34 -0700 (PDT) Received: from ws1-11.us4.outblaze.com (205-158-62-80.outblaze.com [205.158.62.80]) by mx1.FreeBSD.org (Postfix) with SMTP id D6ABD43E09 for ; Wed, 3 Jul 2002 02:41:33 -0700 (PDT) (envelope-from jahil@mail.com) Received: (qmail 90859 invoked by uid 1001); 3 Jul 2002 09:40:47 -0000 Message-ID: <20020703094047.90858.qmail@mail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [202.124.200.194] by ws1-11.us4.outblaze.com with http for jahil@mail.com; Wed, 03 Jul 2002 04:40:47 -0500 From: "Masood Ahmad Shah" To: freebsd-questions@FreeBSD.ORG Date: Wed, 03 Jul 2002 04:40:47 -0500 Subject: IPNAT Redirect_Port problems exists X-Originating-Ip: 202.124.200.194 X-Originating-Server: ws1-11.us4.outblaze.com 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 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 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: my /etc/rc.conf file # Created: Wed Jun 12 12:55:23 2002 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. gateway_enable="YES" hostname="jahil1.gurulinux.net" ifconfig_rl0="inet 192.168.0.237 netmask 255.255.255.0" ifconfig_rl0_alias0="inet 192.168.0.238 netmask 255.255.255.255" kern_securelevel_enable="NO" linux_enable="YES" moused_enable="NO" moused_type="NO" nfs_reserved_port_only="NO" sendmail_enable="NO" sshd_enable="NO" usbd_enable="NO" # -- sysinstall generated deltas -- # Wed Jul 3 09:34:46 2002 nis_client_enable="NO" nisdomainname="NO" natd_enable="YES" natd_interface="tun0" natd_flags=="-redirect_port tcp 192.168.0.10:http 81" I don't know what to do more please tell me how can i do that any idea -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Save up to $160 by signing up for NetZero Platinum Internet service. http://www.netzero.net/?refcd=N2P0602NEP8 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message