From owner-freebsd-questions Tue Jul 31 4: 3: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.ehsrealtime.com [213.52.146.137]) by hub.freebsd.org (Postfix) with ESMTP id 6CEDA37B405 for ; Tue, 31 Jul 2001 04:02:58 -0700 (PDT) (envelope-from waynep@pan.ehsrealtime.com) Received: from pan.ehsrealtime.com ([213.52.146.196]) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 15RXIb-0007im-01 for freebsd-questions@freebsd.org; Tue, 31 Jul 2001 12:02:53 +0100 Received: from waynep by pan.ehsrealtime.com with local (Exim 3.22 #1) id 15RXHr-0000Nn-00 for freebsd-questions@freebsd.org; Tue, 31 Jul 2001 12:02:07 +0100 From: Wayne Pascoe To: freebsd-questions@freebsd.org Subject: Nat with ipf Reply-To: wayne.pascoe@realtime.co.uk Date: 31 Jul 2001 12:02:07 +0100 Message-ID: <86n15l2wgg.fsf@pan.ehsrealtime.com> Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I have a machine doing nat for a 192.168.2.0/24 network. My ipnat.rules file looks as follows: map xl1 192.168.2.0/24 -> 213.52.146.242/32 portmap tcp/udp 1025:65000 map xl1 192.168.2.0/24 -> 213.52.146.242/32 # handle ICMP, etc. I am using ipf 3.4.20 to do this. This translates all outgoing connections from the 192.168.2.0 network. Is there any way to do NAT to all addresses BUT my own public range? I am seeing INCREDIBLY slow copy's and connections from machines in the public range to machines in the NAT range. Thanks, -- - Wayne Pascoe E-mail: wayne.pascoe@realtime.co.uk Phone : +44 (0) 20 7544 4668 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message