Placeholder %i not supportet in nixos
This commit is contained in:
parent
93b4b7c9ef
commit
ae5aa34724
@ -38,8 +38,8 @@
|
||||
# peer fe80::42:42:1/128
|
||||
];
|
||||
postSetup = ''
|
||||
ip -6 route flush dev %i
|
||||
ip addr del dev wg0197 fe80::42:1/128 && ip addr add dev %i fe80::42:1/128 peer fe80::42:42:1/128
|
||||
ip -6 route flush dev wg0197
|
||||
ip addr del dev wg0197 fe80::42:1/128 && ip addr add dev wg0197 fe80::42:1/128 peer fe80::42:42:1/128
|
||||
'';
|
||||
listenPort = 50197;
|
||||
allowedIPsAsRoutes = false;
|
||||
@ -59,8 +59,8 @@
|
||||
# peer fe80::43:1/128
|
||||
];
|
||||
postSetup = ''
|
||||
ip -6 route flush dev %i
|
||||
ip addr del dev wg0565 fe80::43:43:1/128 && ip addr add dev %i fe80::43:43:1/128 peer fe80::43:1/128
|
||||
ip -6 route flush dev wg0565
|
||||
ip addr del dev wg0565 fe80::43:43:1/128 && ip addr add dev wg0565 fe80::43:43:1/128 peer fe80::43:1/128
|
||||
'';
|
||||
listenPort = 50565;
|
||||
allowedIPsAsRoutes = false;
|
||||
@ -80,8 +80,8 @@
|
||||
# peer fe80::2/128
|
||||
];
|
||||
postSetup = ''
|
||||
ip -6 route flush dev %i
|
||||
ip addr del dev wg1271 fe80::1/128 && ip addr add dev %i fe80::1/128 peer fe80::2/128
|
||||
ip -6 route flush dev wg1271
|
||||
ip addr del dev wg1271 fe80::1/128 && ip addr add dev wg1271 fe80::1/128 peer fe80::2/128
|
||||
'';
|
||||
listenPort = 51271;
|
||||
allowedIPsAsRoutes = false;
|
||||
@ -100,8 +100,8 @@
|
||||
# peer fe80::1:2/128
|
||||
];
|
||||
postSetup = ''
|
||||
ip -6 route flush dev %i
|
||||
ip addr del dev wg1272 fe80::1:1/128 && ip addr add dev %i fe80::1:1/128 peer fe80::1:2/128
|
||||
ip -6 route flush dev wg1272
|
||||
ip addr del dev wg1272 fe80::1:1/128 && ip addr add dev wg1272 fe80::1:1/128 peer fe80::1:2/128
|
||||
'';
|
||||
listenPort = 51272;
|
||||
allowedIPsAsRoutes = false;
|
||||
|
Loading…
Reference in New Issue
Block a user