Restart resolved & close Jellyfin ports
This commit is contained in:
parent
8d8ae8f892
commit
465a5d2887
3 changed files with 8 additions and 2 deletions
|
|
@ -5,6 +5,13 @@
|
|||
state: restarted
|
||||
enabled: true
|
||||
|
||||
- name: restart systemd-resolved
|
||||
become: true
|
||||
systemd:
|
||||
name: systemd-resolved
|
||||
state: restarted
|
||||
enabled: true
|
||||
|
||||
- name: regenerate initramfs
|
||||
become: true
|
||||
command: update-initramfs -u -k all
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
dest: '/etc/systemd/resolved.conf'
|
||||
mode: '0644'
|
||||
owner: root
|
||||
notify: restart systemd-resolved
|
||||
|
||||
- name: Copy firewall template
|
||||
become: true
|
||||
|
|
|
|||
|
|
@ -44,8 +44,6 @@ table ip filter {
|
|||
iifname "{{ vpn_media_interface }}" udp dport 53 ip saddr {{ vpn_media_source_range }} ip daddr {{ vpn_media_destination_range }} accept comment "DNS UDP"
|
||||
|
||||
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"
|
||||
|
||||
log
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue