Compare commits

..

2 Commits

Author SHA1 Message Date
b73c35dc3b
Change LAN and mountpoint in samba configuration 2021-03-12 16:03:08 +01:00
043f2514eb
Add Amin peer to Wireguard 2021-03-12 12:43:22 +01:00
2 changed files with 9 additions and 3 deletions

View File

@ -10,14 +10,14 @@
server string = samba
netbios name = samba
security = ${config.services.samba.securityType}
hosts allow = 192.168.1 localhost
hosts allow = 10.0.1 localhost
hosts deny = 0.0.0.0/0
guest account = nobody
map to guest = bad user
'';
shares.public = {
# FIXME Change path accordingly
sharepath = "/mnt/Shares/Public";
sharepath = "/vault/samba";
browseable = "yes";
"read only" = "no";
"guest ok" = "yes";

View File

@ -61,12 +61,18 @@
listenPort = 1194;
privateKeyFile = "/home/coace/.wg/keys/privatekey";
peers = [
# Fernando
# Amin
{
# Placeholder public key
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
allowedIPs = [ "10.9.0.2/32" ];
}
# Fernando
{
# Placeholder public key
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
allowedIPs = [ "10.9.0.3/32" ];
}
];
};
};