Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2004 17:22:56 -0800 (PST)
From:      Me <d3javu1978@yahoo.com>
To:        freebsd-newbies@freebsd.org
Subject:   IPFilter and IPnat
Message-ID:  <20040304012257.67135.qmail@web42004.mail.yahoo.com>
In-Reply-To: <1078351798.683.6.camel@falter>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040304012257.67135.qmail>