My salt-master is version 2015.5.5 (which I update asap).
Some of my minions are behind a firewall.
The firewall admin wants this table from me:
| Source | Destination | Port | Type |
|--------+-------------+------+------|
| | | | |
I assume a firewall opens a port depending on the direction (source --> destination).
After reading
https://docs.saltstack.com/en/latest/topics/tutorials/firewall.html I don't understand:
do I need to allow TCP ports 4505 and 4506 in both directions?
| Source | Destination | Port | Type |
|---------+-------------+------+------|
| minion1 | master | 4505 | TCP |
| minion1 | master | 4506 | TCP |
| master | minion1 | 4505 | TCP |
| master | minion1 | 4506 | TCP |
or is it enough to allow TCP ports 4505 and 4506 only in direction from minion to master (because the ports
"need to be accessible on the master only" and they are
"incoming connections")?
| Source | Destination | Port | Type |
|---------+-------------+------+------|
| minion1 | master | 4505 | TCP |
| minion1 | master | 4506 | TCP |
Thank you,
Markus