Compare commits
2 Commits
7cf15e05bd
...
0d5d98a5ba
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d5d98a5ba | |||
| 241ea69e11 |
@@ -71,7 +71,7 @@
|
||||
"fe80::2574/128"
|
||||
];
|
||||
postSetup = ''
|
||||
ip addr replace dev wg1718 fe80::2574/128 peer fe80::1240:11/128
|
||||
ip addr replace dev wg1240 fe80::2574/128 peer fe80::1240:11/128
|
||||
'';
|
||||
listenPort = 51240;
|
||||
allowedIPsAsRoutes = false;
|
||||
@@ -84,24 +84,6 @@
|
||||
];
|
||||
privateKeyFile = config.sops.secrets.wg1240.path;
|
||||
};
|
||||
wg1241 = {
|
||||
ips = [
|
||||
"fe80::2574/128"
|
||||
];
|
||||
postSetup = ''
|
||||
ip addr replace dev wg1718 fe80::2574/128 peer fe80::1240:1/128
|
||||
'';
|
||||
listenPort = 51241;
|
||||
allowedIPsAsRoutes = false;
|
||||
peers = [
|
||||
{
|
||||
allowedIPs = [ "fe80::/10" "fd00::/8" ];
|
||||
endpoint = "uk-01.prefixlabs.net:22574";
|
||||
publicKey = "Yu1Y4qdSaf+OWPbAoh7PvuM2eWCVbNg84+EX5Q2Zjl4=";
|
||||
}
|
||||
];
|
||||
privateKeyFile = config.sops.secrets.wg1241.path;
|
||||
};
|
||||
# fooker
|
||||
wg1271 = {
|
||||
ips = [
|
||||
@@ -248,13 +230,6 @@
|
||||
remoteAsn = "4242421240";
|
||||
localAddress = "fe80::2574";
|
||||
}
|
||||
{
|
||||
peerName = "peer_1240_uk_01";
|
||||
remoteAddress = "fe80::1240:1";
|
||||
interfaceName = "wg1241";
|
||||
remoteAsn = "4242421240";
|
||||
localAddress = "fe80::2574";
|
||||
}
|
||||
{
|
||||
peerName = "peer_1271_north";
|
||||
remoteAddress = "fe80::2";
|
||||
|
||||
Reference in New Issue
Block a user