From owner-freebsd-newbies@FreeBSD.ORG Wed Mar 3 17:23:01 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7988616A4CE for ; Wed, 3 Mar 2004 17:23:01 -0800 (PST) Received: from web42004.mail.yahoo.com (web42004.mail.yahoo.com [66.218.93.172]) by mx1.FreeBSD.org (Postfix) with SMTP id 39FE343D31 for ; Wed, 3 Mar 2004 17:23:01 -0800 (PST) (envelope-from d3javu1978@yahoo.com) Message-ID: <20040304012257.67135.qmail@web42004.mail.yahoo.com> Received: from [66.169.209.60] by web42004.mail.yahoo.com via HTTP; Wed, 03 Mar 2004 17:22:56 PST Date: Wed, 3 Mar 2004 17:22:56 -0800 (PST) From: Me To: freebsd-newbies@freebsd.org In-Reply-To: <1078351798.683.6.camel@falter> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: IPFilter and IPnat X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 01:23:01 -0000 Hello every one, I'm trying to use ipnat to redirect in comming http connections to my server running apache. I can connect to it internally http://192.168.1.1 this is my setup. xl0 = NIC connected to ISP vr0 = 192.168.1.2 (my gateway) my ipnat.conf file looks like this: map xl0 0/32 -> 192.168.1.0/24 rdr xl0 0/32 port 80 -> 192.168.1.1 port 80 I have added the following rule at the biggining of my ipf.conf incomming connections group on xl0: pass in quick on xl0 proto tcp from any to 192.168.1.1 port = 80 flags S keep state but i'm still not able to connect to my http server externally. It shows port 80 open when i do a nmap from outside on my IP. any help is greatly appreciated. let me know if you need more info BR, Jose Lima __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com