Print advertised DNS servers on vpn connection

This commit is contained in:
Jakob Lechner 2023-11-22 14:49:48 +00:00
parent eada2f8bb8
commit b15d3903c0
No known key found for this signature in database
GPG key ID: 996082EFB5906C10

View file

@ -17,6 +17,8 @@ let
vpnc-script = pkgs.writeShellScript "vpnc-script-tb" ''
cisco_split_inc="$CISCO_SPLIT_INC"
export CISCO_SPLIT_INC=0
echo "DNS server sent by vpn: $INTERNAL_IP4_DNS"
unset INTERNAL_IP4_DNS
route_in_whitelist() {