<div dir="ltr"><div>Hi Andrey,<br><br></div>Restarting the firewall service did the trick. <br><br>>> sudo systemctl restart firewalld<div><br></div><div> I also see the ports now when running:<br></div><div><br></div><div>>> sudo firewall-cmd --zone=internal --list-ports</div><div><br></div><div>and they are also listed in: /etc/firewalld/zones/internal.xml</div><div><br></div><div>Thanks for your help!</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-29 18:39 GMT+01:00 Andrey Skvortsov <span dir="ltr"><<a href="mailto:andrej.skvortzov@gmail.com" target="_blank">andrej.skvortzov@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jan,<br>
<span class=""><br>
On 17-10-29 18:19, Jan Costermans wrote:<br>
> Hi all,<br>
><br>
> I have kodi (mediacenter) installed on my freedombox.<br>
> It is also configured as home router.<br>
><br>
> I would like to use the kore remote control app for android to control the<br>
> kodi mediacenter from a tablet which is on the local wifi.<br>
><br>
> So I need to open some firewall ports.<br>
><br>
><br>
> I have tried this:<br>
><br>
><br>
> sudo firewall-cmd --zone=internal --add-port=8090/tcp<br>
> ><br>
><br>
> but this didn't work.<br>
<br>
</span>What have command returned?<br>
I get 'success'.<br>
<span class=""><br>
<br>
> Also<br>
><br>
> sudo firewall-cmd --zone=internal --list-ports<br>
> ><br>
><br>
> returns nothing.<br>
</span>You commands look correct. I tried them on my FB, they work.<br>
Check firewalld status.<br>
<br>
systemctl status firewalld<br>
<span class=""><br>
<br>
> Can anyone point me in the right direction to add a port manually?<br>
><br>
> I am running freedombox version 0.13.1<br>
<br>
</span>You can add port manually to firewalld configuration and then restart<br>
firewalld (systemctl restart firewalld).<br>
<br>
Edit /etc/firewalld/zones/internal.<wbr>xml<br>
<br>
<?xml version="1.0" encoding="utf-8"?><br>
<zone><br>
  <short>Internal</short><br>
  <description>For use on internal networks. You mostly trust the other computers on the networks to not harm your computer. Only selected incoming connections are accepted.</description><br>
  ...<br>
  <port port="8090" protocol="tcp"/><br>
</zone><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Best regards,<br>
Andrey Skvortsov<br>
<br>
<br>
</font></span></blockquote></div><br></div>