<div dir="ltr"><div class="gmail_extra">I&#39;m not sure if I completely understand what you&#39;re asking but as far as I know (unless it&#39;s changed) firewalld can&#39;t handle source ports, only destination ports.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I have a home build DVR where I use HDHomeRun network based tuners. For them the source port is specified and the destination port it random (coming back to the computer) and after some research found that they could not be used with firewalld because of it so I had to switch back to iptables with something like:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">-A INPUT -m state --state NEW -m udp -p udp --sport 5002 -j ACCEPT</div><div class="gmail_extra">-A INPUT -m state --state NEW -m udp -p udp --sport 5004 -j ACCEPT</div><div class="gmail_extra">-A INPUT -m state --state NEW -m udp -p udp --sport 65001 -j ACCEPT</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Richard</div><div><br></div></div></div>