Add dns_port_t context

This commit is contained in:
root
2025-02-11 11:41:59 +03:00
parent 675582776d
commit 2de39d7e23

View File

@@ -1,14 +1,16 @@
# SELinux
## Nginx
## Nginx and other
```
# Allow open local port
semanage port -a -t http_port_t -p tcp 28081
# or
semanage port -a -t openvpn_port_t -p tcp 2222
semanage port -a -t openvpn_port_t -p udp 2222
# or
semanage port -a -t dns_port_t -p tcp 5353
semanage port -a -t dns_port_t -p udp 5353
# Allow open remote port