aboutsummaryrefslogtreecommitdiff
path: root/tools/Linux
diff options
context:
space:
mode:
authorPeter Oliver <git@mavit.org.uk>2018-05-02 17:49:04 +0100
committerPeter Oliver <git@mavit.org.uk>2018-05-03 10:01:42 +0100
commit0142d7789d7109dc8cad6e0c703f6f810410a940 (patch)
treec19a216afa002324f093af4abad1f0aca171fcfc /tools/Linux
parent26e043b14a57d4adcc248d5ae9ed0f2f4c6ed2e7 (diff)
Provide firewalld service definitions
On some Linux distributions, including these files will cause the associated network ports to appear in the distribution’s `firewall-config` GUI for opening or closing.
Diffstat (limited to 'tools/Linux')
-rw-r--r--tools/Linux/firewalld-services/kodi-eventserver.xml6
-rw-r--r--tools/Linux/firewalld-services/kodi-http.xml6
-rw-r--r--tools/Linux/firewalld-services/kodi-jsonrpc.xml6
3 files changed, 18 insertions, 0 deletions
diff --git a/tools/Linux/firewalld-services/kodi-eventserver.xml b/tools/Linux/firewalld-services/kodi-eventserver.xml
new file mode 100644
index 0000000000..68cdb3c666
--- /dev/null
+++ b/tools/Linux/firewalld-services/kodi-eventserver.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<service>
+ <short>Kodi EventServer</short>
+ <description>Kodi is a free cross-platform media-player jukebox and entertainment hub. Enable this option to remotely control Kodi via its EventServer API.</description>
+ <port protocol="udp" port="9777"/>
+</service>
diff --git a/tools/Linux/firewalld-services/kodi-http.xml b/tools/Linux/firewalld-services/kodi-http.xml
new file mode 100644
index 0000000000..863c251a93
--- /dev/null
+++ b/tools/Linux/firewalld-services/kodi-http.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<service>
+ <short>Kodi web interface</short>
+ <description>Kodi is a free cross-platform media-player jukebox and entertainment hub. Enable this option to remotely control Kodi via its web interface.</description>
+ <port protocol="tcp" port="8080"/>
+</service>
diff --git a/tools/Linux/firewalld-services/kodi-jsonrpc.xml b/tools/Linux/firewalld-services/kodi-jsonrpc.xml
new file mode 100644
index 0000000000..08ed2afa78
--- /dev/null
+++ b/tools/Linux/firewalld-services/kodi-jsonrpc.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<service>
+ <short>Kodi JSON-RPC</short>
+ <description>Kodi is a free cross-platform media-player jukebox and entertainment hub. Enable this option to remotely control Kodi via its JSON-RPC API.</description>
+ <port protocol="tcp" port="9090"/>
+</service>