Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kurtis318/ffd2daf9651814d2152ba96a22c41246 to your computer and use it in GitHub Desktop.
Save kurtis318/ffd2daf9651814d2152ba96a22c41246 to your computer and use it in GitHub Desktop.
MiniDLNA server needs UDP port 1900 open on firewall

Issue:

Latest version of VLC on Linux and Windows 10 did not see miniDLNA server on my CentOS 7 machine.

Solution:

Determined that TCP port 8200 and UDP port 1900 need to be open on my CentOS 7 server. I was missing the UDP port.

firewall-cmd --permanent --add-port=1900/udp
firewall-cmd --permanent --add-port=8200/tcp
firewall-cmd --reload
firewall-cmd --list-all

Don't forget the client

Discovered that UDP port 1900 must be open on the CLIENT machine also. On my Fedora 30 system, the following commands did it for me. VLC was able to disover my MiniDLNA server.

[kurtis@xps15 ~] $ sudo firewall-cmd --permanent --add-port 1900/udp
success
[kurtis@xps15 ~] $ sudo firewall-cmd --reload
success
[kurtis@xps15 ~] $ sudo firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: enp62s0u1u1
  sources: 
  services: dhcpv6-client mdns ssh
  ports: 1900/udp
  protocols: 
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment