Contents
To connect to the FTP server, we have to type in the terminal window ‘ftp’ and then the domain name ‘domain.com’ or IP address of the FTP server. Note: for this example we used an anonymous server. Replace the IP and domain in the above examples with the IP address or domain of your FTP server.
How do I open an FTP port in Linux?
Allowing FTP ports 20/21 in iptables
- Edit file /etc/sysconfig/iptables-config and add “ip_conntrack_ftp“” module to the section “IPTABLES_MODULES=“. …
- Edit file /etc/sysconfig/iptables and make sure iptables rules are added for port 20/21. …
- Restart iptables service.
Where is my FTP user Linux?
conf . To list virtual users, check file in folder /etc/pam. d/ starting with vsftpd, my is vsftpd. virtual but most probably you have once created this file.