Date: Thu, 23 Feb 2006 07:37:00 -0500 From: "fbsd_user" <fbsd_user@a1poweruser.com> To: "ross" <ross_@telus.net>, <freebsd-questions@freebsd.org> Subject: RE: changeing the port of the ftp server Message-ID: <MIEPLLIBMLEEABPDBIEGGEJKHCAA.fbsd_user@a1poweruser.com> In-Reply-To: <op.s5etfyzbh6fndz@ross.inet>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGGEJKHCAA.fbsd_user>