Sunday, November 10, 2019

Ubuntu UFW fules for uPnP client

I'm trying to use VLC on Ubuntu PC to access minidlna on Raspberry Pi.

uPnP seems requires bi-directional UDP.

minidlna will listen to UDP packets at port 1900 and also reply with source port 1900.

So, to allow VLC to receive reply from minidlna, we have to allow UDP packets from source port 1900.

> sudo ufw allow from 192.168.0.0/24 port 1900 proto udp