Unable to access to FTP via Windows11
Hello,
After upgrading by 'elevate-cpanel', Windows10 can access to ftp server, however, Windows11 cannot access. Pure-FTPd server and CSF is equipped.
I read the reference site.
https://docs.cpanel.net/knowledge-base/ftp/how-to-enable-ftp-passive-mode/
It mentions as follows.
Add the desired changes to the file. If your FTP server exists behind a NAT configuration, set the ForcePassiveIP option to the FTP server’s public IP address, as in the following example:
ForcePassiveIP: 203.0.113.0
If your server does not exist in a NAT configuration, set the `ForcePassiveIP` option to the following entry:
ForcePassiveIP: ~
How can I check whether the server exists behind a NAT configuration?
I checked '/var/cpanel/conf/pureftpd/main' file, and confirmed that passive ports 49152 through 65534 for Pure-FTPd server was enabled.
[root@server ~]# less /var/cpanel/conf/pureftpd/main
---
PassivePortRange: 49152 65534
---
Does '49152 through 65534' mean, 49152 port and 65534 port or, from 49152 to 65534?
so in CSF, is it 49152:65534 at TCP_IN at 'Firewall Configurtion > IPv4 Port Settings'?
Currently, 49152:65534 at TCP_IN is not configured at CSF TCP_IN, however, Widows10 can access to ftp, only Windows11 cannot access to ftp.
Any advice would be appreciated.
-
it's from 49152 to 65534
Add 49152:65534 to TCP_IN, and if your server uses IPv6 add the same to TCP6_IN
2 -
Sorry for the late reply. I did the above setting and restarted csf.
After upgrading by 'elevate-cpanel', windows11 could connect to the ftp server itself now, however, it still cannot get a file list. The server indicates the only '/' like the image.
No folder like 'public_html' does not appear. With this condition, when uploading any files, the server reponds 'Error 10060'.
Is there any countermeasure?
cPanel version is 120.0.5.
Thank you.
0 -
I'd think this a firewall issue.
Disable csf in the server, if it still does not work then the problem is most likely with Windows computer's firewall.
0 -
I cannot disable csf because it is too riskey. I'm looking for a way to deal with this by adjusting the CSF.
Thank you.
0 -
You wouldn't permanently disable CSF - just for a short time to perform your test to rule that out as the issue.
0
Please sign in to leave a comment.
Comments
5 comments