summaryrefslogtreecommitdiff
path: root/hosts/sif
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-05-13 23:40:12 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2023-05-13 23:40:12 +0200
commitd92abb87c06b83088d7693e025d8ad624e7deaea (patch)
treed91f2f8d23ca3d9568dc2ac62301b94daf71541e /hosts/sif
parent82ab04745075cc7ca4d1abef55c4c88163709c99 (diff)
downloadnixos-d92abb87c06b83088d7693e025d8ad624e7deaea.tar
nixos-d92abb87c06b83088d7693e025d8ad624e7deaea.tar.gz
nixos-d92abb87c06b83088d7693e025d8ad624e7deaea.tar.bz2
nixos-d92abb87c06b83088d7693e025d8ad624e7deaea.tar.xz
nixos-d92abb87c06b83088d7693e025d8ad624e7deaea.zip
...
Diffstat (limited to 'hosts/sif')
-rw-r--r--hosts/sif/default.nix8
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;