[Freedombox-discuss] Open ports manually (for kodi and kore)

Jan Costermans jancostermans at gmail.com
Mon Oct 30 21:32:01 UTC 2017


Hi Andrey,

Restarting the firewall service did the trick.

>> sudo systemctl restart firewalld

 I also see the ports now when running:

>> sudo firewall-cmd --zone=internal --list-ports

and they are also listed in: /etc/firewalld/zones/internal.xml

Thanks for your help!

2017-10-29 18:39 GMT+01:00 Andrey Skvortsov <andrej.skvortzov at gmail.com>:

> Hi Jan,
>
> On 17-10-29 18:19, Jan Costermans wrote:
> > Hi all,
> >
> > I have kodi (mediacenter) installed on my freedombox.
> > It is also configured as home router.
> >
> > I would like to use the kore remote control app for android to control
> the
> > kodi mediacenter from a tablet which is on the local wifi.
> >
> > So I need to open some firewall ports.
> >
> >
> > I have tried this:
> >
> >
> > sudo firewall-cmd --zone=internal --add-port=8090/tcp
> > >
> >
> > but this didn't work.
>
> What have command returned?
> I get 'success'.
>
>
> > Also
> >
> > sudo firewall-cmd --zone=internal --list-ports
> > >
> >
> > returns nothing.
> You commands look correct. I tried them on my FB, they work.
> Check firewalld status.
>
> systemctl status firewalld
>
>
> > Can anyone point me in the right direction to add a port manually?
> >
> > I am running freedombox version 0.13.1
>
> You can add port manually to firewalld configuration and then restart
> firewalld (systemctl restart firewalld).
>
> Edit /etc/firewalld/zones/internal.xml
>
> <?xml version="1.0" encoding="utf-8"?>
> <zone>
>   <short>Internal</short>
>   <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>
>   ...
>   <port port="8090" protocol="tcp"/>
> </zone>
>
>
>
> --
> Best regards,
> Andrey Skvortsov
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20171030/9e82a152/attachment.html>


More information about the Freedombox-discuss mailing list