Created
September 3, 2017 22:19
-
-
Save aconz2/d07f34e4a515afc59234b1b5002b5a9d to your computer and use it in GitHub Desktop.
Add firewall rules for minidlna
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firewall-cmd --permanent --new-service minidlna | |
firewall-cmd --permanent --service minidlna --add-port 8200/tcp | |
firewall-cmd --permanent --service minidlna --add-port 1900/udp | |
firewall-cmd --permanent --add-service minidlna | |
firewall-cmd --reload | |
firewall-cmd --list-services |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment