I setup Fedora Server 25 in a VM and used SaltStack to install NextCloud via this walk-thru. The issue I am having is the firewall is too restrictive and is blocking ports 22, 80 and 443. Per the walk-thru creator's suggestion, I edited the SaltStack "nextcloud.sls" file as follows, but it did not help:
#line108
FedoraServer:
firewalld.present:
- name: FedoraServer
- block_icmp:
- echo-reply
- echo-request
- default: False
- masquerade: True
- ports:
- 22/tcp
- 80/tcp
- 443/tcp
- 9090/tcp
What can I do to open these ports so I don't have to keep stopping the firewalld service at each boot? Thank you.
EDIT: So, even after removing - firewalld
from the nextcloud.sls script (under install_network_packages: pk.installed:
the firewall is still starting up and blocking all the ports I need. There must be something else in Fedora Server that is overriding the SaltStack script and enabling the firewall...??