From owner-freebsd-questions Sat Aug 28 11:35:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cx559415-a.ftwal1.fl.home.com (cx559415-a.ftwal1.fl.home.com [24.6.55.158]) by hub.freebsd.org (Postfix) with ESMTP id 5813D14F0A for ; Sat, 28 Aug 1999 11:35:09 -0700 (PDT) (envelope-from mark@cx559415-a.ftwal1.fl.home.com) Received: from camelot (camelot.cmr.net [10.1.1.2]) by cx559415-a.ftwal1.fl.home.com (8.9.3/8.9.3) with SMTP id GAA09206; Sun, 29 Aug 1999 06:30:13 -0500 (CDT) (envelope-from mark@cx559415-a.ftwal1.fl.home.com) Reply-To: From: "Mark Einreinhof" To: "akhar" , Subject: RE: need help with ipnat!! Date: Sat, 28 Aug 1999 13:34:51 -0500 Message-ID: <000c01bef184$03bdcca0$0201010a@cmr.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-reply-to: <37C82669.BEA3163A@videotron.ca> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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