From owner-freebsd-questions Thu Oct 17 22:36:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E2E637B401 for ; Thu, 17 Oct 2002 22:36:32 -0700 (PDT) Received: from pioneernet.net (mail.pioneernet.net [207.115.64.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9BAD43E88 for ; Thu, 17 Oct 2002 22:36:31 -0700 (PDT) (envelope-from chip@wiegand.org) Received: from chip.wiegand.org [66.114.152.128] by pioneernet.net with ESMTP (SMTPD32-6.06) id ADD92A140090; Thu, 17 Oct 2002 22:36:25 -0700 Date: Thu, 17 Oct 2002 22:36:47 -0700 From: Chip Wiegand To: freebsd-questions@freebsd.org Subject: natd not allowing incoming ftp connections, but web is okay Message-Id: <20021017223647.2551651e.chip@wiegand.org> Organization: Alternative Operating Systems X-Mailer: Sylpheed version 0.8.2claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a server set up to run both web server and ftp server. The web server is working great, internet connect to it just fine. The ftpd server is running, it works great on the intranet, but from the internet connections are not allowed - according to wsftp the message is connection refused I have a dsl connection, and use an old 28.8 modem occasionally to test this stuff. When I try to connect, as anonymous, to the outside ip address that's when I get the refused error, when I connect to the inside ip address I connect fine. My natd.conf looks like this - use sockets yes port 8668 alias address xx.xx.xx.xxx log unregistered only redirect_port tcp 192.168.1.14:20-21 20-21 redirect_port tcp 192.168.1.14:80 80 I don't understand why the port 80 line works and the port 20-21 line does not. Even though it says log, there is no log file being written to, all log items show on the local display, I don't know why. Any ideas what to check? -- Chip To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message