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 # Wireguard ARN network configuation
"10-wg0" = let "10-wg0" = {
vpnIPv4 = "89.234.141.196/32";
vpnIPv6 = "2a00:5881:8119:400::1/128";
in {
matchConfig.Name = "wg0"; matchConfig.Name = "wg0";
address = [ address = [
vpnIPv4 "89.234.141.196/32"
vpnIPv6 "2a00:5881:8119:400::1/128"
]; ];
routingPolicyRules = [ routingPolicyRules = [
# Route outgoing emails to VPN table # Route outgoing emails to VPN table