Compare commits
2 Commits
448e4dfda8
...
b73c35dc3b
Author | SHA1 | Date | |
---|---|---|---|
b73c35dc3b | |||
043f2514eb |
@ -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";
|
||||
|
@ -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" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user