[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

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"?>
  <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"/>

Best regards,
Andrey Skvortsov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20171029/6b645e3a/attachment.sig>

Reply to: