Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - AlondraReed

Pages: [1]
1
CentOS 7 Problems / Re: CWP Server FTP Connection Error
« on: March 03, 2025, 08:17:33 AM »
You mentioned that you’ve checked the firewall, but FTP can still face issues if certain ports aren't open or if IP filtering is blocking connections.

To check firewall settings:
Check firewall rules on the CWP server, particularly if you're using firewalld or iptables. Run:
Code: [Select]
sudo firewall-cmd --list-allEnsure ports 21 (FTP), 20 (FTP data), and the PASV port range (if configured) are open. Example:
Code: [Select]
sudo firewall-cmd --zone=public --add-port=21/tcp --permanent
sudo firewall-cmd --zone=public --add-port=20/tcp --permanent
sudo firewall-cmd --zone=public --add-port=1024-65535/tcp --permanent  # PASV port range
sudo firewall-cmd --reload
SELinux settings: Sometimes, SELinux can block FTP access even if firewall settings are correct. Try checking the SELinux status:
Code: [Select]
getenforceIf it's enabled, try setting it to permissive mode temporarily:
Code: [Select]
sudo setenforce 0Then, test the FTP connection again.

Pages: [1]