yunohost/src
Léo Le Bouter 42f3ff6b00 firewall: force source port for UPnP.
miniupnpc uses a random source port by default, the issue is that the
firewall rule to allow destination port 1900 incoming is unused because
the UPnP server will use the random source port as destination port in
the reply which iptables will block. Forcing the source port to be 1900
will ensure the UPnP server also uses that as destination port in the
reply and pass the firewall.

python-miniupnpc 2.0 or later is required for this change to have any
effect, it is otherwise silently ignored. A debian package upgrade is in
the works for official Yunohost repos.
2020-12-21 00:21:50 +01:00
..
yunohost firewall: force source port for UPnP. 2020-12-21 00:21:50 +01:00