From 5acfd4e657970450db17cccb4b2ccd778483f2f0 Mon Sep 17 00:00:00 2001 From: Sophie Schiller Date: Wed, 5 Jan 2022 22:46:40 +0100 Subject: [PATCH] htz-hel.backup-sophie: open mosh and iperf ports --- nodes/htz-hel/backup-sophie.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nodes/htz-hel/backup-sophie.py b/nodes/htz-hel/backup-sophie.py index 0d74b67..655863a 100644 --- a/nodes/htz-hel/backup-sophie.py +++ b/nodes/htz-hel/backup-sophie.py @@ -10,6 +10,7 @@ nodes['htz-hel.backup-sophie'] = { 'metadata': { 'apt': { 'packages': { + 'mosh': {}, 'borgbackup': {}, }, 'unattended-upgrades': { @@ -39,6 +40,14 @@ nodes['htz-hel.backup-sophie'] = { 'backup-server': { 'zfs-base': 'tank/backups', }, + 'nftables': { + 'rules': { + '50-sophie-misc': [ + 'inet filter input udp dport { 60000-61000 } accept', + 'inet filter input tcp dport 5201 accept', + ], + }, + }, 'zfs': { 'datasets': { 'tank/ejgwthink': {