Does the "net.ipv4.ip_local_port_range" parameter setting have any relation to FTP port settings?
Issue
- Even though
net.ipv4.ip_local_port_range = 32768-60999
is set, FTP (passive mode) still utilizes ports above61000
. - Is the
net.ipv4.ip_local_port_range
parameter not associated with the allocation of FTP (passive) data transfer ports? - The issue was resolved by restricting the port range in the
vsftpd.conf
file or opening up firewall ports. - Provide a comprehensive explanation of the
net.ipv4.ip_local_port_range
parameter.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.