Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 1999 13:34:51 -0500
From:      "Mark Einreinhof" <mark@cx559415-a.ftwal1.fl.home.com>
To:        "akhar" <akhar@videotron.ca>, <questions@FreeBSD.ORG>
Subject:   RE: need help with ipnat!!
Message-ID:  <000c01bef184$03bdcca0$0201010a@cmr.net>
In-Reply-To: <37C82669.BEA3163A@videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Comment out the first map line and see if that helps. I had problems with
portmaps. Plus, you are using incorrect numbers for that entry, (10000:6000
wont work). And finally, change x10/32 to read 0/32.

Try:

map xl0 192.168.0.0/24 -> 0/32 portmap 40000:60000
map xl0 192.168.0.0/24 -> 0/32

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of akhar
Sent: Saturday, August 28, 1999 1:12 PM
To: questions@FreeBSD.ORG
Subject: need help with ipnat!!


I know it is not the openbsd questions mailing list but I need help and
fast!!! I have installed openbsd as my server and gateway to the
internet via cable modem. I have xl0 that is connected to the cable
modem (DHCP) and ne0 to my intratnet I configure ipnat.rules:
map xl0 192.168.0.0/24 -> xl0/32 portmap 10000:6000
map xl0 192.168.0.0/24 -> xl0/32
and ipf.rules
pass in any to any
pass out any to any
and a new kernel for my server but I cannot communicate with the net
from any machine in the intranet! What should I do! need help fast!!!
Akhar



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



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?000c01bef184$03bdcca0$0201010a>