I have configured VSFTPD in a CentOS machine to run on two instances, with vsftpd.conf and vsftpd2.conf. Here the content of the second conf file:anonymous_enable=NOchroot_list_enable=YESchroot_list_file=/etc/vsftpd/chroot_listchroot_local_user=YESconnect_from_port_20=YESdirmessage_enable=YESforce_local_data_ssl=YESforce_local_logins_ssl=YESftpd_banner=Hello.listen=YESlisten_port=30local_enable=YESlocal_umask=022pam_service_name=vsftpdpasv_enable=YESpasv_address=192.168.100.162pasv_max_port=389pasv_min_port=389rsa_cert_file=/etc/vsftpd/vsftpd.pemssl_enable=YESssl_sslv2=NOssl_sslv3=NOssl_tlsv1=YESssl_ciphers=HIGHuser_config_dir=/etc/vsftpd/user_confuserlist_enable=NOwrite_enable=YESxferlog_enable=YESxferlog_file=/var/log/xferlog2xferlog_std_format=NOdual_log_enable=YESlog_ftp_protocol=YESThe fist conf file is identical excepting the xferlog file, and the listen_port that is missing, and the pasv_max_port/pasv_min_port that are 65000/60000So I have one FTPS working on port 21 and the other on port 30. Both are working fine, but I want to make sure that 389 is really being used. So, I started a session with Wireshark, where I could see all my TCP packets to port 30, but no one to 389. Instead, I see packets to my remote server on port 49276.How can I make sure that this is working fine?
Two vsftpd instances - check passive port on FTPS
ftp;vsftpd;vsftp