내용으로 건너뛰기

Vsftp passive mode configuration

0

Hi,
I'm trying to configure a vsftp server on one of my ec2 instances but when I try to connect via a ftp client in passive mode I receive the error message "Server sent passive reply with unroutable address. Passive mode failed."

I have added to my vsftpd.conf file the following lines

pasv_enable=YES
pasv_min_port=1024
pasv_max_port=1048
port_enable=YES
pasv_address=xxx.xxx.xxx.xxx

and I have configured the ports 20,21 and 1024-1048 in my security group.
What am I missing?

질문됨 7년 전916회 조회
1개 답변
0

I find the solution to the problem...
If the instance has and ipv6 address associated vsftpd will always return 0.0.0.0 as remote address.

You can avoid this behaviour setting this parameters:

listen=YES
listen_ipv6=NO
답변함 7년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠