小编Vic*_*c85的帖子

Vsftpd 被动回复 0,0,0,0 地址,即使 pasv_address 正确

我在 vsftpd 中有以下配置

listen_ipv6=YES
allow_writeable_chroot=YES
seccomp_sandbox=NO
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
pasv_enable=YES
pasv_min_port=1024
pasv_max_port=1048
pasv_address=<Elastic ip from amazon aws ec2 instance>
pasv_promiscuous=YES
Run Code Online (Sandbox Code Playgroud)

但是,当尝试使用 FTP 连接到服务器时,我收到以下警告,

Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,4,1).
Status: Server sent passive reply with unroutable address. Using server address instead.
Command: LIST
Response: 150 Here comes the directory listing.
Response: 226 Directory send OK.
Directory listing of "/" successful …
Run Code Online (Sandbox Code Playgroud)

selinux ftp vsftpd

4
推荐指数
1
解决办法
6112
查看次数

标签 统计

ftp ×1

selinux ×1

vsftpd ×1