This commit is contained in:
Brian Zalewski 2023-12-25 03:15:54 +00:00
parent ff76261f58
commit d37d90a0bd

View file

@ -301,7 +301,7 @@ configureNetworkManagerVPNProfiles() {
WG_PROFILE_NAME="$(echo "$WG_FILENAME" | sed 's/.nmconnection$//')"
nmcli connection modify "$WG_PROFILE_NAME" +ipv4.routes "$EXCLUDED_SUBNET" | sudo tee -a /etc/network/if-up.d/routeadd
nmcli connection modify "$WG_PROFILE_NAME" -ipv4.routes "$EXCLUDED_SUBNET" | sudo tee -a /etc/network/if-post-down.d/routedel
fi
done
RESTART_NM=true
done
else