Compare commits
2 Commits
448e4dfda8
...
b73c35dc3b
Author | SHA1 | Date | |
---|---|---|---|
b73c35dc3b | |||
043f2514eb |
@ -10,14 +10,14 @@
|
|||||||
server string = samba
|
server string = samba
|
||||||
netbios name = samba
|
netbios name = samba
|
||||||
security = ${config.services.samba.securityType}
|
security = ${config.services.samba.securityType}
|
||||||
hosts allow = 192.168.1 localhost
|
hosts allow = 10.0.1 localhost
|
||||||
hosts deny = 0.0.0.0/0
|
hosts deny = 0.0.0.0/0
|
||||||
guest account = nobody
|
guest account = nobody
|
||||||
map to guest = bad user
|
map to guest = bad user
|
||||||
'';
|
'';
|
||||||
shares.public = {
|
shares.public = {
|
||||||
# FIXME Change path accordingly
|
# FIXME Change path accordingly
|
||||||
sharepath = "/mnt/Shares/Public";
|
sharepath = "/vault/samba";
|
||||||
browseable = "yes";
|
browseable = "yes";
|
||||||
"read only" = "no";
|
"read only" = "no";
|
||||||
"guest ok" = "yes";
|
"guest ok" = "yes";
|
||||||
|
@ -61,12 +61,18 @@
|
|||||||
listenPort = 1194;
|
listenPort = 1194;
|
||||||
privateKeyFile = "/home/coace/.wg/keys/privatekey";
|
privateKeyFile = "/home/coace/.wg/keys/privatekey";
|
||||||
peers = [
|
peers = [
|
||||||
# Fernando
|
# Amin
|
||||||
{
|
{
|
||||||
# Placeholder public key
|
# Placeholder public key
|
||||||
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
|
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
|
||||||
allowedIPs = [ "10.9.0.2/32" ];
|
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