Freya: open firewall for syncthing
This commit is contained in:
parent
16b97f1e3f
commit
3f4dbf3d9c
1 changed files with 20 additions and 1 deletions
|
|
@ -19,7 +19,26 @@
|
|||
i18n.defaultLocale = "it_IT.UTF-8";
|
||||
|
||||
networking.hostName = "freya";
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
# networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowPing = true;
|
||||
allowedTCPPorts = [
|
||||
# 445 # SAMBA
|
||||
# 139 # SAMBA
|
||||
# 5357 # SAMBA-WSDD
|
||||
# 8123 # HOME ASSISTANT
|
||||
8384 # SYNCTHING
|
||||
# 8385 # SYNCTHING
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
137 # SYNCTHING
|
||||
138 # SYNCTHING
|
||||
# 3702 # SAMBA-WSDD
|
||||
];
|
||||
# extraCommands =
|
||||
# "iptables -t raw -A OUTPUT -p udp -m udp --dport 137 -j CT --helper netbios-ns";
|
||||
};
|
||||
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue