IPFilter and IPnat

From: Me (d3javu1978_at_yahoo.com)
Date: 03/04/04

  • Next message: Nikolas Britton: "Re: IPFilter and IPnat"
    Date: Wed, 3 Mar 2004 17:22:56 -0800 (PST)
    To: freebsd-newbies@freebsd.org
    
    

    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
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Nikolas Britton: "Re: IPFilter and IPnat"