simplify VPN network config

This commit is contained in:
nyanloutre 2024-11-28 15:30:55 +01:00
parent e15cd2091e
commit 268dbf181a

View File

@ -283,14 +283,11 @@
#######
# Wireguard ARN network configuation
"10-wg0" = let
vpnIPv4 = "89.234.141.196/32";
vpnIPv6 = "2a00:5881:8119:400::1/128";
in {
"10-wg0" = {
matchConfig.Name = "wg0";
address = [
vpnIPv4
vpnIPv6
"89.234.141.196/32"
"2a00:5881:8119:400::1/128"
];
routingPolicyRules = [
# Route outgoing emails to VPN table