From owner-freebsd-questions Mon Jan 13 8:57: 6 2003 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 E333637B401 for ; Mon, 13 Jan 2003 08:57:04 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C1F243F5F for ; Mon, 13 Jan 2003 08:57:02 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a231.otenet.gr [212.205.215.231]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h0DGuQb1011922; Mon, 13 Jan 2003 18:56:46 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id h0DGuGQH001066; Mon, 13 Jan 2003 18:56:16 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id h0DGuGIF001065; Mon, 13 Jan 2003 18:56:16 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 13 Jan 2003 18:56:16 +0200 From: Giorgos Keramidas To: Jeff LaMarche Cc: "Jack L. Stone" , freebsd-questions@FreeBSD.org Subject: Re: Can't telnet or FTP Message-ID: <20030113165616.GA933@gothmog.gr> References: <86B3B446-2708-11D7-B33F-003065CD9124@mac.com> <3.0.5.32.20030113093706.02ee0328@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3.0.5.32.20030113093706.02ee0328@mail.sage-one.net> 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 On 2003-01-13 09:37, jackstone@sage-one.net (Jack L. Stone) wrote: > At 10:06 AM 1.13.2003 -0500, Jeff LaMarche wrote: > >I just did a clean install of 4.7 (I was running 4.0 previously) on > >a machine that I'm using as primarily as a network gateway and > >firewall and also as a file server. It installed fine and is > >working natd & ipfw are working beautifully. However, I am unable > >to telnet or ftp into the box using either adaptor's ip address - I > >get a "connection refused" message. I did set up anonymous ftp > >access during the install. > > Whoops! I meant "ftp and telnet".... not "ftp and ftp" although you've > probably know this by now. 1. Check your ipfw rules to make sure that the firewall setup will not block incoming telnet or ftp connections. 2. Edit /etc/rc.conf and enable inetd (if it isn't enabled already). 3. Edit /etc/inetd.conf and uncomment ftp & telnet services. 4. Start (or restart, if it's already running) inetd. Done :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message