Add jellyfin configuration

This commit is contained in:
sonny 2024-08-03 17:05:56 +02:00
parent ce697edcc9
commit c165df6c8e
3 changed files with 10 additions and 0 deletions

View file

@ -29,3 +29,4 @@
- 'vars/syncthing.yml'
- 'vars/mpd.yml'
- 'vars/radicale.yml'
- 'vars/jellyfin.yml'

View file

@ -32,5 +32,11 @@ table ip filter {
iifname "{{ vpn_interface }}" tcp dport { {{ syncthing_gui_port }}, {{ syncthing_protocol_port }} } ip saddr {{ vpn_source_range }} ip daddr {{ vpn_destination_range }} accept comment "Syncthing"
iifname "{{ vpn_interface }}" tcp dport {{ mpd_port }} ip saddr {{ vpn_source_range }} ip daddr {{ vpn_destination_range }} accept comment "MPD"
iifname "{{ vpn_interface }}" tcp dport {{ mpd_http_stream_port }} ip saddr {{ vpn_source_range }} ip daddr {{ vpn_destination_range }} accept comment "MPD HTTP stream"
iifname "{{ vpn_media_interface }}" tcp dport {{ jellyfin_http_port }} ip saddr {{ vpn_media_source_range }} ip daddr {{ vpn_media_destination_range }} accept comment "Jellyfin HTTP"
iifname "{{ vpn_media_interface }}" tcp dport {{ jellyfin_service_port }} ip saddr {{ vpn_media_source_range }} ip daddr {{ vpn_media_destination_range }} accept comment "Jellyfin service discovery"
iifname "{{ vpn_media_interface }}" tcp dport {{ jellyfin_client_port }} ip saddr {{ vpn_media_source_range }} ip daddr {{ vpn_media_destination_range }} accept comment "Jellyfin client discovery"
}
}

3
vars/jellyfin.yml Normal file
View file

@ -0,0 +1,3 @@
jellyfin_http_port: 8096
jellyfin_service_port: 1900
jellyfin_client_port: 7359