rc10b wrote:I've taken a look at the theory of iptables but I find it difficult to grasp how to safely use them and I don't want to "re-invent the wheel" of how Shorewall is set up in Mageia, I just want to enable UPnP on my home network. I have examined the iptables with and without the firewall enabled, and with the default firewall enabled there are two entries for UPnP, which are associated with the DROP command, so it looks like they could be changed ?
I've tried opening ports in the advanced settings but all to no avail.
lsof -i
vlc 22991 steve 10u IPv4 389114 0t0 TCP *:49152 (LISTEN)
vlc 22991 steve 11u IPv4 389115 0t0 UDP localhost.localdomain:xxxxx
vlc 22991 steve 12u IPv4 389116 0t0 UDP *:yyyyy
vlc 22991 steve 13u IPv4 389117 0t0 UDP *:1900
30000:60000/udp
-A Drop -p udp -m udp --dport 1900 -m comment --comment UPnP -j DROP
[...]
-A Reject -p udp -m udp --dport 1900 -m comment --comment UPnP -j DROP
iptables --list-rules
rc10b wrote:I'm using ethernet over power line, so not Wi-Fi.
Sorry, I don't know what zeroconf is, so I can't comment
rc10b wrote:... as with the firewall disabled VLC can see my media server and I can receive the video stream perfectly.
rc10b wrote:Ref. the ports, see post 4 in this thread. The server has a fixed IP.
rc10b wrote:So my assumption is that the default firewall is blocking these (or an even larger range) of ports. I could leave this range of ports open and I would no longer have a problem but I am trying to understand whether this is a bug in the shorewall implementation or if it is intended to work this way.
As doktor5000 has suggested, I probably don't need to use shorewall at all, as I'm behind a router firewall, but I'm trying to improve my understanding of the shorewall firewall.
Users browsing this forum: No registered users and 1 guest