kodi - Step to add ufw rules for remote, jsonrpc and cli

This commit is contained in:
2022-08-16 21:35:56 +02:00
parent 5c82177ce8
commit 98486714c7

View File

@@ -173,6 +173,14 @@ step_12() {
exe systemctl start "$kodiSyslogName" exe systemctl start "$kodiSyslogName"
} }
step_14_info() { echo "Add ufw rules for kodi"; }
step_14_alias() { echo "ufw"; }
step_14() {
exe ufw allow in on eth0 to any proto tcp port 8080 comment "kodi remote"
exe ufw allow in on eth0 to any proto tcp port 9090 comment "kodi jsonrpc"
exe ufw allow in on eth0 to any proto udp port 9777 comment "kodi event client"
}
step_40_info() { echo "Reset music database"; } step_40_info() { echo "Reset music database"; }
step_40_alias() { echo "resetmusic"; } step_40_alias() { echo "resetmusic"; }
step_40() { step_40() {