Fuck that tables malarky this works
This commit is contained in:
parent
d3a7fe8158
commit
77c2076bbd
3 changed files with 3 additions and 27 deletions
|
@ -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" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue