From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 13:20:18 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0771316A4CE for ; Wed, 28 Jan 2004 13:20:18 -0800 (PST) Received: from guard.polynet.lviv.ua (guard.polynet.lviv.ua [217.9.2.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 08BCC43D3F for ; Wed, 28 Jan 2004 13:20:14 -0800 (PST) (envelope-from akorud@polynet.lviv.ua) Received: (qmail 11712 invoked from network); 28 Jan 2004 21:20:05 -0000 Received: from eaux.polynet.lviv.ua (HELO localhost) (217.9.2.4) by 217.9.2.1 with SMTP; 28 Jan 2004 21:20:04 -0000 Received: from pv239.neoplus.adsl.tpnet.pl (pv239.neoplus.adsl.tpnet.pl [80.50.53.239]) by isp.polynet.lviv.ua (IMP) with HTTP for <.akorud.netadmin.lp@guard>; Wed, 28 Jan 2004 23:20:03 +0200 Message-ID: <1075324803.401827837ff00@isp.polynet.lviv.ua> Date: Wed, 28 Jan 2004 23:20:03 +0200 From: Andriy Korud To: rmkml References: <1075275264.401766007d839@isp.polynet.lviv.ua> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 cc: freebsd-net@freebsd.org Subject: Re: Large scale NAT - problem resolved X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 21:20:18 -0000 Quoting rmkml : > Hi Andriy, > > You use ipnat (ipfilter) > Well, I'm using ipnat. In order to make it work properly, I have to: - install ipfilter 3.4.32 (it claims to have some bugs fixed in NAT code, in stock system you'll find 3.4.31); - define in _proper_ :-) ip_nat.h: #define LARGE_NAT #define NAT_SIZE 80809 #define RDR_SIZE 80809 #define NAT_TABLE_SZ 262143 #define HOSTMAP_SIZE 32767 don't ask me from where I've taken those number - mostly they was found in mailing lists. regards, Andriy Korud