sgx: samba
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
3638391894
commit
7ffd2b5128
|
@ -93,13 +93,12 @@ in
|
||||||
aio read size = 16384
|
aio read size = 16384
|
||||||
aio write size = 16384
|
aio write size = 16384
|
||||||
workgroup = WORKGROUP
|
workgroup = WORKGROUP
|
||||||
server string = smbnix
|
server string = sgx
|
||||||
netbios name = smbnix
|
netbios name = sgx
|
||||||
security = user
|
security = user
|
||||||
#max protocol = smb2
|
#max protocol = smb2
|
||||||
# note: localhost is the ipv6 localhost ::1
|
hosts allow = 192.168.178. 127.0.0.1 localhost 2003::/16 ::1
|
||||||
hosts allow = 192.168.178. 127.0.0.1 localhost
|
hosts deny = ALL
|
||||||
hosts deny = 0.0.0.0/0
|
|
||||||
guest account = nobody
|
guest account = nobody
|
||||||
map to guest = bad user
|
map to guest = bad user
|
||||||
'';
|
'';
|
||||||
|
@ -237,7 +236,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#networking.firewall.allowedTCPPorts = [ 80 443 1883 548 ];
|
networking.firewall.allowedTCPPorts = [ 548 ];
|
||||||
networking.firewall.allowPing = true;
|
networking.firewall.allowPing = true;
|
||||||
services.samba.openFirewall = true;
|
services.samba.openFirewall = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue