aplysia: fix transmission and samba services

This commit is contained in:
Gabriel Ebner 2017-08-05 17:48:15 +02:00
parent 52417ce7f2
commit cc519b2308
2 changed files with 8 additions and 0 deletions

@ -51,6 +51,7 @@
shares = { shares = {
export = { export = {
"guest ok" = "no"; "guest ok" = "no";
"read only" = "no";
path = "/mnt/aplysia"; path = "/mnt/aplysia";
}; };
}; };
@ -61,12 +62,15 @@
settings = { settings = {
download-dir = "/mnt/aplysia/torrents"; download-dir = "/mnt/aplysia/torrents";
incomplete-dir = "/mnt/aplysia/torrents"; incomplete-dir = "/mnt/aplysia/torrents";
peer-port = 51413;
}; };
}; };
networking.firewall = { networking.firewall = {
allowedTCPPorts = [ allowedTCPPorts = [
445 139 # samba 445 139 # samba
config.services.transmission.settings.peer-port
]; ];
allowedUDPPorts = [ allowedUDPPorts = [
137 138 # samba 137 138 # samba

@ -41,6 +41,7 @@
shares = { shares = {
export = { export = {
"guest ok" = "no"; "guest ok" = "no";
"read only" = "no";
path = "/mnt/vaccaria"; path = "/mnt/vaccaria";
}; };
}; };
@ -51,12 +52,15 @@
# settings = { # settings = {
# download-dir = "/mnt/aplysia/torrents"; # download-dir = "/mnt/aplysia/torrents";
# incomplete-dir = "/mnt/aplysia/torrents"; # incomplete-dir = "/mnt/aplysia/torrents";
#
# peer-port = 51413;
# }; # };
# }; # };
networking.firewall = { networking.firewall = {
allowedTCPPorts = [ allowedTCPPorts = [
445 139 # samba 445 139 # samba
# config.services.transmission.settings.peer-port
]; ];
allowedUDPPorts = [ allowedUDPPorts = [
137 138 # samba 137 138 # samba