aplysia: fix transmission and samba services
This commit is contained in:
parent
52417ce7f2
commit
cc519b2308
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user