final v1
This commit is contained in:
parent
c6db4f3d59
commit
bfa9605322
4 changed files with 15 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue