chore: add wireguard tunnel for camille

This commit is contained in:
Julien Malka 2024-06-25 10:11:17 +02:00
parent e7b7a6586e
commit 519dacccc1
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -46,7 +46,7 @@
networkConfig.DHCP = "yes";
linkConfig.RequiredForOnline = "routable";
};
wg0 = {
"30-wg0" = {
matchConfig.Name = "wg0";
address = [
"10.100.45.1/24"
@ -60,7 +60,7 @@
};
netdevs = {
"50-wg0" = {
"10-wg0" = {
netdevConfig = {
Kind = "wireguard";
Name = "wg0";
@ -77,6 +77,13 @@
AllowedIPs = [ "10.100.45.2/32" ];
};
}
{
wireguardPeerConfig = {
PublicKey = "ElVrxNiYvV13hEDtqZNw4kLF7UiPTXziz8XgqABB0AU=";
AllowedIPs = [ "10.100.45.3/32" ];
};
}
];
};
};