mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
chore: add wireguard tunnel for camille
This commit is contained in:
parent
e7b7a6586e
commit
519dacccc1
1 changed files with 9 additions and 2 deletions
|
@ -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" ];
|
||||
};
|
||||
}
|
||||
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue