From owner-freebsd-questions Wed Jan 3 22:59:30 2001 From owner-freebsd-questions@FreeBSD.ORG Wed Jan 3 22:59:28 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mjollnir.rocklines.oyeindia.com (unknown [202.169.133.50]) by hub.freebsd.org (Postfix) with ESMTP id 349D337B400 for ; Wed, 3 Jan 2001 22:59:17 -0800 (PST) Received: (from suresh@localhost) by mjollnir.rocklines.oyeindia.com (8.11.2/8.11.2/mjollnir-1.0) id f046sNx22798 for questions@FreeBSD.ORG; Thu, 4 Jan 2001 12:24:23 +0530 Date: Thu, 4 Jan 2001 12:24:23 +0530 From: Suresh Ramasubramanian To: questions@FreeBSD.ORG Subject: Re: ftpd-problem Message-ID: <20010104122423.A22779@oyeindia.com> Mail-Followup-To: questions@FreeBSD.ORG References: <8354A754F252D211ACB60008C7A4597504D272CC@eseis01nok> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <8354A754F252D211ACB60008C7A4597504D272CC@eseis01nok>; from sampsa.kostia@nokia.com on Thu, Jan 04, 2001 at 08:54:55AM +0200 Organization: Hopelessly Disorganized X-Operating-System: Linux mjollnir.rocklines.oyeindia.com 2.2.18 i686 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sampsa.kostia@nokia.com rearranged electrons thusly: > It works on ports 20/21 as normal. But - when I change the control-port to > anything else, inbound connections work fine, but I'm no longer able to > connect anywhere outside. It just says connection refused to _every_ address > I try. > I change the port in /etc/services : > ftp 666/tcp > ftp 666/udp Which means that your BSD now assumes that all ftp daemons listen on port 666 - not just your lan > Like said, it works just fine when connecting from outside, but if I just > try ftp ftp.funet.fi it immediately hangs to Connection refused. If the port > is changed back to 21, everything works normally. Try ftp ftp.funet.fi:21 in case you _really_ want to edit /etc/services for this. Or else, just do ftp localhost:666 -- Suresh Ramasubramanian <--> mallet efn org EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message