simplify VPN network config
This commit is contained in:
parent
e15cd2091e
commit
268dbf181a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user