From owner-freebsd-questions@FreeBSD.ORG Mon Jul 21 12:30:03 2003 Return-Path: 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 F3B9E37B412 for ; Mon, 21 Jul 2003 12:30:02 -0700 (PDT) Received: from web40604.mail.yahoo.com (web40604.mail.yahoo.com [66.218.78.141]) by mx1.FreeBSD.org (Postfix) with SMTP id 4C8A443F85 for ; Mon, 21 Jul 2003 12:30:02 -0700 (PDT) (envelope-from deesto@yahoo.com) Message-ID: <20030721193002.9828.qmail@web40604.mail.yahoo.com> Received: from [143.48.14.233] by web40604.mail.yahoo.com via HTTP; Mon, 21 Jul 2003 12:30:02 PDT Date: Mon, 21 Jul 2003 12:30:02 -0700 (PDT) From: John DeStefano To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: configure ftpd port range X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 19:30:03 -0000 Due to ISP restrictions, I must change the default port on which ftpd runs in order to enable ftp access to and from my machine. I had to do the same for my httpd server, but that information was a bit more accessible. Reading material has been sparse, but I've read that adding a port number/range to the ftpd entry /etc/services and /etc/inetd.conf might do the trick. Is this an acceptible way of going about changing the ftp ports? If this box is sitting behind a hardware firewall (Linksys router), what range would you recommend I open in the firewall for a maximum of 5 ftp users? Same question for security on the FBSD box itself? Quick sidebar: DNS is setting my domainname to my ISP's domain, not my local domain, which is causing some problems. "man domainname" tells me " The super-user can set the domain name by supplying an argument", which I assume means "domainname ". But this setting does not stick on reboot. Is there an easy fix? Thanks and regards, John $ uname -a FreeBSD gandalf.Optonline.net 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 --------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!