defiant/wireguard: deprecate old peers
This commit is contained in:
@@ -1,10 +1,4 @@
|
|||||||
[
|
[
|
||||||
{ # Sulu
|
|
||||||
publicKey = "j6YVekgGS4nhL5zUiOTeK2BVQkYGlTQaiUpwcqQyfRk=";
|
|
||||||
allowedIPs = [
|
|
||||||
"10.100.0.3/32"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{ # Worf
|
{ # Worf
|
||||||
publicKey = "kW8SyzCh2tw8GzZV6bPn+IQVNUoUhseNfEm3rHnR1So=";
|
publicKey = "kW8SyzCh2tw8GzZV6bPn+IQVNUoUhseNfEm3rHnR1So=";
|
||||||
allowedIPs = [
|
allowedIPs = [
|
||||||
|
|||||||
@@ -22,17 +22,7 @@ in {
|
|||||||
${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -s 10.100.0.0/24 -d 192.168.10.0/24 -o eth0 -j MASQUERADE
|
${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -s 10.100.0.0/24 -d 192.168.10.0/24 -o eth0 -j MASQUERADE
|
||||||
'';
|
'';
|
||||||
|
|
||||||
peers = [
|
peers = (import ../../../common/wireguard-peers.nix);
|
||||||
{ # Burnham
|
|
||||||
publicKey = "JcfyrMoZmnbibVLaIKuGSARAX2alFv4kwLbJaLBNbzo=";
|
|
||||||
persistentKeepalive = 60;
|
|
||||||
allowedIPs = [
|
|
||||||
"10.100.0.2/32"
|
|
||||||
"192.168.11.0/24"
|
|
||||||
];
|
|
||||||
#endpoint = "site2.feal.no:51902";
|
|
||||||
}
|
|
||||||
] ++ (import ../../../common/wireguard-peers.nix);
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user