Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to secure ftp port  (Read 2436 times)

0 Members and 1 Guest are viewing this topic.

vyshakhv

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
How to secure ftp port
« on: September 29, 2017, 02:25:22 am »
Making the secure FTP port is more important as you already know that vsftpd use default port 21 for making the connection with the server. So anybody (hacker) can try with the same port for connecting to the server. But what if he/she doesn’t know the port for vsftpd for connection. Yes, there is a way to make secure FTP port.

Step 1: Edit the /etc/vsftpd/ vsftpd.conf file using vi editor to change the  secure ftp port using “listen_port” entry.

Code: [Select]
vi /etc/vsftpd/vsftpd.conf
 Add/modify below entry:
 listen_port=201

Step 2. Once you changed the secure FTP port restart the service.

Code: [Select]
#service vsftpd restart
 Shutting down vsftpd:                                      [  OK  ]
 Starting vsftpd for vsftpd:                                 [  OK  ]