IPFilter and IPnat

Me d3javu1978 at yahoo.com
Wed Mar 3 17:23:01 PST 2004


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


More information about the freebsd-newbies mailing list