From owner-freebsd-net@FreeBSD.ORG Wed Feb 16 12:53:02 2005 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 C50D716A4CE for ; Wed, 16 Feb 2005 12:53:02 +0000 (GMT) Received: from hotmail.com (bay21-f28.bay21.hotmail.com [65.54.233.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 995CE43D54 for ; Wed, 16 Feb 2005 12:53:02 +0000 (GMT) (envelope-from haas_hugo@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 16 Feb 2005 04:52:01 -0800 Message-ID: Received: from 200.228.143.148 by by21fd.bay21.hotmail.msn.com with HTTP; Wed, 16 Feb 2005 12:51:59 GMT X-Originating-IP: [200.228.143.148] X-Originating-Email: [haas_hugo@hotmail.com] X-Sender: haas_hugo@hotmail.com From: "Hugo Leonardo Haas" To: freebsd-net@freebsd.org Date: Wed, 16 Feb 2005 09:51:59 -0300 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 16 Feb 2005 12:52:01.0491 (UTC) FILETIME=[4EE59A30:01C51426] Subject: Ftp with natd is slow 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, 16 Feb 2005 12:53:02 -0000 Hi, I install the Natd in may Internet gateway to access Internet and the Internet access my ftp server into my network. I do the steps at the http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html It functioned, but with out performance. To information: In my internal network the FTP functioned perfectly (is a Linux Enterprise WS Server). My file /etc/natd.conf is: -redirect_port tcp 192.168.1.1:20 20 -redirect_port tcp 192.168.1.1:21 21 My inicialization command is: /sbin/natd -s -interface xl0 -config /etc/natd.conf My ipfw configuration file is: /sbin/ipfw add 0001 divert 8668 all from 192.168.1.0/24 to any via xl0 out /sbin/ipfw add 0002 divert 8668 all from any to 200.x.x.x via xl0 in Any body was correct this problem, please help me. _________________________________________________________________ MSN Messenger: instale grátis e converse com seus amigos. http://messenger.msn.com.br