From owner-freebsd-questions@FreeBSD.ORG Thu Feb 23 12:37:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 AA22716A420 for ; Thu, 23 Feb 2006 12:37:06 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A42243D45 for ; Thu, 23 Feb 2006 12:37:06 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([69.172.31.117]) by mta10.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20060223123705.QTNZ13051.mta10.adelphia.net@barbish>; Thu, 23 Feb 2006 07:37:05 -0500 From: "fbsd_user" To: "ross" , Date: Thu, 23 Feb 2006 07:37:00 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-reply-to: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Importance: Normal Cc: Subject: RE: changeing the port of the ftp server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 12:37:06 -0000 You would edit /etc/services to change the standard port numbers FTP uses. Say change port 20 & 21 to 35520 & 35521. You also must realize that your public internet users who want to access your FTP server must also change their FTP port numbers to the same ones you used in /etc/services before that can gain access to your FTP server. This method is one way to hide your FTP server from attack because you would only tell your trusted remote users what the new port numbers are. All public attackers would be using the standard port 20 & 21 to attack you. If you want your public remote users to access your FTP server without having to know the new port number, then this is no solution for you. Now I have not heard of any ISP blocking ports 20/21 before, so I am thinking maybe your firewall is blocking those port number. What test did you run to verify your ISP is blocking those ports? Does your ISP usage agreement say those ports are blocked? -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of ross Sent: Wednesday, February 22, 2006 11:59 PM To: freebsd-questions@freebsd.org Subject: changeing the port of the ftp server I can't for the life of me figure out how to change the port of my ftp server. My (crummy) ISP blocks port 21 and I would like to change the default port of the ftp server in order to give access to the outside world. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"