diff options
Diffstat (limited to 'hosts/sif')
-rw-r--r-- | hosts/sif/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 3417d53e..a03b79ec 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix | |||
@@ -179,7 +179,7 @@ in { | |||
179 | }; | 179 | }; |
180 | wireguardPeers = [ | 180 | wireguardPeers = [ |
181 | { wireguardPeerConfig = { | 181 | { wireguardPeerConfig = { |
182 | AllowedIPs = [ "10.200.116.1/32" ] ++ mwnSubnetsPrivate ++ mwnSubnetsPublic; | 182 | AllowedIPs = [ "10.200.116.1/32" "10.163.88.40/32" ] ++ mwnSubnetsPrivate ++ mwnSubnetsPublic; |
183 | PublicKey = "YlRFLc+rD2k2KXl7pIJbOKbcPgdJCl8ZTsv0xlK4VEI="; | 183 | PublicKey = "YlRFLc+rD2k2KXl7pIJbOKbcPgdJCl8ZTsv0xlK4VEI="; |
184 | PersistentKeepalive = 25; | 184 | PersistentKeepalive = 25; |
185 | Endpoint = "wg.math.lmu.de:51820"; | 185 | Endpoint = "wg.math.lmu.de:51820"; |
@@ -228,6 +228,12 @@ in { | |||
228 | Priority = 200; | 228 | Priority = 200; |
229 | }; | 229 | }; |
230 | } | 230 | } |
231 | { routingPolicyRuleConfig = { | ||
232 | Table = "wgrz"; | ||
233 | To = "10.163.88.40"; | ||
234 | Priority = 200; | ||
235 | }; | ||
236 | } | ||
231 | ] ++ map (To: { routingPolicyRuleConfig = { | 237 | ] ++ map (To: { routingPolicyRuleConfig = { |
232 | Table = "wgrz"; | 238 | Table = "wgrz"; |
233 | inherit To; | 239 | inherit To; |