Skip to content

Instantly share code, notes, and snippets.

@aconz2
Created September 3, 2017 22:19
Show Gist options
  • Save aconz2/d07f34e4a515afc59234b1b5002b5a9d to your computer and use it in GitHub Desktop.
Save aconz2/d07f34e4a515afc59234b1b5002b5a9d to your computer and use it in GitHub Desktop.
Add firewall rules for minidlna
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