diff --git a/systems/x86_64-linux/sgx/default.nix b/systems/x86_64-linux/sgx/default.nix index 579bdfe..6357a5d 100644 --- a/systems/x86_64-linux/sgx/default.nix +++ b/systems/x86_64-linux/sgx/default.nix @@ -93,13 +93,12 @@ in aio read size = 16384 aio write size = 16384 workgroup = WORKGROUP - server string = smbnix - netbios name = smbnix + server string = sgx + netbios name = sgx security = user #max protocol = smb2 - # note: localhost is the ipv6 localhost ::1 - hosts allow = 192.168.178. 127.0.0.1 localhost - hosts deny = 0.0.0.0/0 + hosts allow = 192.168.178. 127.0.0.1 localhost 2003::/16 ::1 + hosts deny = ALL guest account = nobody 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; services.samba.openFirewall = true;