This commit is contained in:
Porta 2026-10-16 06:38:58 +10:00
parent c6db4f3d59
commit bfa9605322
4 changed files with 15 additions and 0 deletions

View file

@ -19,8 +19,15 @@
networking.firewall = {
allowedTCPPorts = [ 8384 ];
allowedUDPPorts = [ 8384 ];
extraCommands = ''
iptables -I INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -A INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -I INPUT -p udp -m udp --match multiport --dports 1990,2021 -j ACCEPT
'';
};
# system level syncthing options go here
services.syncthing = {
enable = true;