From owner-freebsd-stable Mon Jan 1 2:25:53 2001 From owner-freebsd-stable@FreeBSD.ORG Mon Jan 1 02:25:51 2001 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from shark.harmonic.co.il (jupiter.harmonic.co.il [192.116.140.62]) by hub.freebsd.org (Postfix) with ESMTP id C163B37B400 for ; Mon, 1 Jan 2001 02:25:49 -0800 (PST) Received: from localhost (roman@localhost) by shark.harmonic.co.il (8.9.3/8.9.3) with ESMTP id MAA22189; Mon, 1 Jan 2001 12:25:40 +0200 Date: Mon, 1 Jan 2001 12:25:40 +0200 (IST) From: Roman Shterenzon To: Mike Tancsa Cc: stable@FreeBSD.ORG Subject: Re: slow NAT ? In-Reply-To: <4.2.2.20001231124602.01d21878@marble.sentex.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 31 Dec 2000, Mike Tancsa wrote: > > I upgraded my home firewall today to sources as of last night and noticed > that traffic via NAT is rather slow. For example, an ftp from a machine > being nat'd I guess about 300Kbps. From the FreeBSD box, I get about 1Mb > on my DSL connection. If I use squid or a proper proxy, its not an > issue. This is both with the built in NAT on PPP and NATD by itself. Any > ideas as to how to track this down ? > 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Dec 30 09:37:21 EST 2000 > Its only a CPU: Pentium/P55C (167.05-MHz 586-class CPU) with 96M of RAM. Was it that slow before the upgrade? As a workaround you can use ipnat which performs NAT in kernel-space rather than in user-space (as libalias does). --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message