안녕하세요.
/etc/vsftpd.conf가 환경설정파일인 것 같은데 포트번호 바꾸는 부분을 모르겠습니다.
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
라고하는 부분이 있긴한데 여러모로 바꾸어 봐도 안되는군요.
이프로그램 원래 포트 바꿀 수 없게되어 있는건지?
vsftpd.conf 에 listen_port=2121 처럼 지정하세요. 단 standalone 모드(listen=YES)로 실행해야 적용되고 xinetd 로 돌리면 xinetd 의 포트 설정을 바꿔야 합니다.
connect_from_port_20 은 능동 모드 데이터 연결의 출발 포트입니다.