Fuck that tables malarky this works

This commit is contained in:
Bun 2025-03-18 06:25:55 -04:00
parent d3a7fe8158
commit 77c2076bbd
3 changed files with 3 additions and 27 deletions

View file

@ -7,15 +7,7 @@
port = 8060;
rtmp-port = 1945;
};
networking.nftables.tables.owncast = {
family = "inet";
content = ''
chain input {
type filter hook input priority filter; policy drop;
ip saddr 10.0.0.0/8 tcp dport 1945 accept comment "Accept RTMP"
}
'';
};
networking.firewall.extraInputRules = "ip saddr 10.0.0.0/8 tcp dport 1945 accept";
environment.persistence."/persist".directories = [ "/var/lib/owncast" ];
};
}