Print advertised DNS servers on vpn connection
This commit is contained in:
parent
462a50c120
commit
4ee194be6c
1 changed files with 2 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ let
|
||||||
vpnc-script = pkgs.writeShellScript "vpnc-script-tb" ''
|
vpnc-script = pkgs.writeShellScript "vpnc-script-tb" ''
|
||||||
cisco_split_inc="$CISCO_SPLIT_INC"
|
cisco_split_inc="$CISCO_SPLIT_INC"
|
||||||
export CISCO_SPLIT_INC=0
|
export CISCO_SPLIT_INC=0
|
||||||
|
|
||||||
|
echo "DNS server sent by vpn: $INTERNAL_IP4_DNS"
|
||||||
unset INTERNAL_IP4_DNS
|
unset INTERNAL_IP4_DNS
|
||||||
|
|
||||||
route_in_whitelist() {
|
route_in_whitelist() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue