Commit b3032b85 authored by Maria Arsuaga Rios's avatar Maria Arsuaga Rios
Browse files

FTS-1267: Documentation

parent aee9c629
Pipeline #662697 passed with stage
in 32 seconds
...@@ -5,27 +5,8 @@ For more detailed information about installation, usage, etc... please, check th ...@@ -5,27 +5,8 @@ For more detailed information about installation, usage, etc... please, check th
## Firewalld: How to set up a firewall using firewalld on centos7 ## Firewalld: How to set up a firewall using firewalld on centos7
Firewalld is installed by default on some Linux distributions, including many images of CentOS 7. However, it may be necessary for you to install firewalld yourself:
sudo yum install firewalld When running fts-rest, we can allow this traffic for interfaces in our "public" zone for this session by typing:
After you install firewalld, you can enable the service and reboot your server. Keep in mind that enabling firewalld will cause the service to start up at boot. It is best practice to create your firewall rules and take the opportunity to test them before configuring this behavior in order to avoid potential issues.
sudo systemctl enable firewalld
sudo reboot
When the server restarts, your firewall should be brought up, your network interfaces should be put into the zones you configured (or fall back to the configured default zone), and any rules associated with the zone(s) will be applied to the associated interfaces.
We can verify that the service is running and reachable by typing:
sudo firewall-cmd --state
output
running
This indicates that our firewall is up and running with the default configuration.
When running fts-rest, we can allow this traffic for interfaces in our "public" zone for this session by copying first fts3rest.xml in /usr/lib/firewalld/services and then typing:
sudo firewall-cmd --zone=public --add-service=fts3rest sudo firewall-cmd --zone=public --add-service=fts3rest
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment