Print advertised DNS servers on vpn connection

This commit is contained in:
Jakob Lechner 2023-10-18 14:01:45 +00:00 committed by Jakob Lechner
parent 462a50c120
commit 4ee194be6c
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() {