Add section about allowing FTP connections in firewalld
This commit is contained in:
parent
ab6efeff25
commit
645a2f3e25
1 changed files with 18 additions and 0 deletions
|
|
@ -112,6 +112,24 @@ To conditionally restart the server, as `root` type:
|
|||
|
||||
By default, the [command]#vsftpd# service does *not* start automatically at boot time. To configure the [command]#vsftpd# service to start at boot time, use a service manager such as [command]#systemctl#. See xref:../infrastructure-services/Services_and_Daemons.adoc#ch-Services_and_Daemons[Services and Daemons] for more information on how to configure services in {MAJOROS}.
|
||||
|
||||
[[s3-ftp-firewalld]]
|
||||
==== Configuring the Firewall for FTP
|
||||
By default, `firewalld` blocks incoming FTP connections. To allow FTP connections, as `root` type:
|
||||
|
||||
[subs="quotes, macros"]
|
||||
----
|
||||
[command]#firewall-cmd --add-service=ftp#
|
||||
----
|
||||
|
||||
The change will be applied immediately, but will be lost next time `firewalld` is reloaded or the system restarted. To make it permanent, type:
|
||||
|
||||
[subs="quotes, macros"]
|
||||
----
|
||||
[command]#firewall-cmd --permanent --add-service=ftp#
|
||||
----
|
||||
|
||||
For more information on configuring `firewalld`, see the link:++https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Security_Guide/++[Red{nbsp}Hat Enterprise{nbsp}Linux{nbsp}7 Security Guide].
|
||||
|
||||
[[s3-ftp-vsftpd-start-multi]]
|
||||
==== Starting Multiple Copies of [command]#vsftpd#
|
||||
indexterm:[vsftpd,starting multiple copies of]indexterm:[vsftpd,multihome configuration]
|
||||
|
|
|
|||
Reference in a new issue