Skip to content

Commit 8d4db3e

Browse files
authored
Merge pull request #22 from EESSI/firewall_docs
Firewall instructions
2 parents 72df58e + 9745c6c commit 8d4db3e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ ansible-playbook -i hosts -b -K <name of playbook>.yml
6666
Before you run any of the commands below, make sure that you updated the file `group_vars/all.yml`
6767
and include the new/extra URLs of any server you want to change/add (e.g. add your Stratum 1).
6868

69+
### Firewalls
70+
To make all communication between the CVMFS services possible, some ports have to be opened on the Stratum 0 (default: port 80),
71+
Stratum 1 (default: port 80 and 8000), and local proxy (default: port 3128).
72+
These default port numbers are listed in `roles/cvmfs/defaults/main.yml`, but can be overridden elsewhere.
73+
74+
The Ansible playbook can update your firewall rules automatically (`firewalld` on Redhat systems, `ufw` on Debian systems),
75+
but by default it will not do this. If you want to enable this functionality, set `cvmfs_manage_firewall` to `true`.
76+
This can be done in either `group_vars/all.yml`, or in a vars section in your hosts or playbook file, or by passing
77+
`-e cvmfs_manage_firewall=true` to the `ansible-playbook` command.
6978

7079
### Stratum 0
7180
First install the Stratum 0 server:

0 commit comments

Comments
 (0)