From owner-freebsd-net@FreeBSD.ORG Fri Jul 18 12:58:35 2003 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 B0F2037B401 for ; Fri, 18 Jul 2003 12:58:35 -0700 (PDT) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7AF943F75 for ; Fri, 18 Jul 2003 12:58:34 -0700 (PDT) (envelope-from zel@free.fr) Received: from impt3-2.proxad.net (impt3-2.free.fr [213.228.0.204]) by postfix4-1.free.fr (Postfix) with ESMTP id 8F7A14205F for ; Fri, 18 Jul 2003 21:58:33 +0200 (CEST) Received: by impt3-2.proxad.net (Postfix, from userid 33) id 87FB8C112; Fri, 18 Jul 2003 21:58:33 +0200 (MEST) Received: from AAmiens-107-1-4-173.w81-49.abo.wanadoo.fr (AAmiens-107-1-4-173.w81-49.abo.wanadoo.fr [81.49.111.173]) by impt3-2.free.fr (IMP) with HTTP for ; Fri, 18 Jul 2003 21:58:33 +0200 Message-ID: <1058558313.3f18516964d52@impt3-2.free.fr> Date: Fri, 18 Jul 2003 21:58:33 +0200 From: zel@free.fr To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 Subject: Problem of newbee !!! 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: Fri, 18 Jul 2003 19:58:36 -0000 Here is my problem: My config is described below: P100 + FreeBSD 4.4 for DMZ job ep0 (10.0.0.1) to Internet ed1 (10.1.0.254) gateway for 10.1.0.0/24 network (servers...) ed2 (192.168.1.254) gateway for 192.168.1.0/24 network (workstations...) So currently, connected with an ethernet ADSL modem to the Internet, I 'natd' all packets out and incoming... But now, I would like transfer all ftp request to one server behind DMZ... ftpd is running (on 10.1.0.1) I read man and some informations on forums about natd and so, I tried: natd -redirect_port tcp 10.1.0.1:20-21 20-21 I tried few other commands but I always have the same answer: natd: aliasing address not given ... What can I do ? Is the soft I currently try to use, the good one to do what I want to do ??? Please, help... Thanks.. Sylvain