From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boryan Yotov Subject: Re: HTTP slower than SSH on client behind iptables Date: Tue, 31 Jan 2006 10:18:26 +0100 Message-ID: <43DF2B62.5030205@prosyst.com> References: <20060131033519.GA32564@bostoncoop.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060131033519.GA32564@bostoncoop.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@lists.netfilter.org Adam Rosi-Kessel wrote: > I have a standard NAT box; the essential configuration for discussion > purposes on the box is just IP masquerading. > > On the NAT box, my Internet connection goes up to about 700 kilobytes per > second, regardless of the protocol used (e.g., ssh or http). > > On clients behind the NAT box, however, HTTP connections seem to top out > around 70 kilobytes per second. ssh connections (e.g., rsync) get the > full throughput of the Internet connection. > > As far as NAT goes, I don't hvae any special settings. > > Can anyone think of an explanation for this behavior? It doesn't make any > sense to me. Are you sure, you don't have some kind of a traffic shaping active on the NAT gateway's internal interface? For example: If tc is used, you could check that using: tc class show dev and tc filter show dev