Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2000 19:20:19 -0700
From:      "Greg S. Wirth" <greg@beldamar.com>
To:        "Dan O'Connor" <dan@mostgraveconcern.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re[2]: DHCP & Stuff
Message-ID:  <40385815.20000707192019@beldamar.com>
In-Reply-To: <009601bfe87a$d5cb7c40$0200000a@danco>
References:  <009601bfe87a$d5cb7c40$0200000a@danco>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Dan,

Ok, i have ipf installed. and nat setup as far as i know.

ipnat.conf------------
map dc0 192.168.0.0/24 -> 24.234.134.184/32 portmap tcp 10000:50000
map dc0 192.168.0.0/24 -> 24.234.0.0/16

when i do ipf -l i see:
map 192.168.0.40 137 <- -> 24.234.0.1 137 [24.234.0.7 53]
map 192.168.0.40 137 <- -> 24.234.0.1 137 [24.234.0.5 53]

I still can not get outside.
Can you help me please? :)

Friday, July 07, 2000, 6:21:07 PM, you wrote:

>>rc.conf
>>       gateway_enable="YES"
>>       hostname="creep.myisp.com"
>>       defaultrouter="24.234.18.1"
>>       ifconfig_dc0="DHCP"
>>       ifconfig_dc1="inet 192.168.0.50 netmask 255.255.255.0"
>>
>>I have ipf installed. v3.4.6
>>Defaults to "open"
>>I am not running NAT.
>>
>>I use a cable modem, with DHCP assigned IP's.
>>IP 192.168.0.40 (98 Box) can ping 192.168.0.50

DOC> Since you're using 192.168.x.x addresses, which are private and
DOC> non-routable, you need to run IPFW and NATD (or IPFILTER, et al).

DOC> It's not all that hard to do, see my cheat sheet at
DOC> http://www.mostgraveconcern.com/freebsd/sheet.cgi?ipfw

DOC> --Dan

DOC> --
DOC> Dan O'Connor
DOC> On Matters of Most Grave Concern
DOC> http://www.mostgraveconcern.com


-- 
Greg S. Wirth




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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