open ports 80/443
This commit is contained in:
@@ -8,6 +8,8 @@ FIREWALL_SERVICES=(
|
|||||||
ssh # remote login
|
ssh # remote login
|
||||||
dhcpv6-client # IPv6 address from the router
|
dhcpv6-client # IPv6 address from the router
|
||||||
mdns # Avahi: <hostname>.local
|
mdns # Avahi: <hostname>.local
|
||||||
|
http # web, port 80/tcp
|
||||||
|
https # web, port 443/tcp
|
||||||
cockpit # Cockpit web console, port 9090
|
cockpit # Cockpit web console, port 9090
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -117,9 +117,9 @@ siblings, so anything `install.sh` set up elsewhere stays.
|
|||||||
### Firewall
|
### Firewall
|
||||||
|
|
||||||
MiniServer runs firewalld, which blocks incoming connections except for the
|
MiniServer runs firewalld, which blocks incoming connections except for the
|
||||||
services it allows (SSH, mDNS, Cockpit and a few ports). If the project serves
|
services it allows (SSH, mDNS, HTTP, HTTPS, Cockpit and a few ports). If the
|
||||||
anything other machines connect to, list its ports in `firewall.conf` at the
|
project serves anything other machines connect to, list its ports in
|
||||||
top of the repo:
|
`firewall.conf` at the top of the repo:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Ports other machines need to reach. Format: <port>/<protocol> or
|
# Ports other machines need to reach. Format: <port>/<protocol> or
|
||||||
|
|||||||
Reference in New Issue
Block a user