목차

How To Configure Vsftpd Server With Passive Mode Port Range

Install VsFtpd Server

  1. vsftpd 를 설치한다.
    root@admin:/home/starlits# apt-get install vsftpd 

Configure VsFtpd Server

  1. vsftpd.conf 를 수정한다.
    root@admin:/home/starlits# vi /etc/vsftpd.conf 
  2. vsftpd.conf 아래의 다음 내용들이 존재하여야 한다.
    # os account
    local_enable=YES
    write_enable=YES
    
    #This function is to enable passive mode 
    pasv_enable=YES 
    
    #This function is to limite passive mode range from 50000 to 51000 TCP ports
    pasv_min_port=5001
    pasv_max_port=5010
    port_enable=YES

Restart VsFtpd Server

  1. vsftpd 데몬을 재시작한다.
    root@admin:/home/starlits# /etc/init.d/vsftpd restart