Browse Source

openconnect: automatically enable rebind for DNS servers sent by VPN server

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
lilik-openwrt-22.03
Nikos Mavrogiannopoulos 10 years ago
parent
commit
387ec8dbe8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      net/openconnect/files/vpnc-script

+ 1
- 0
net/openconnect/files/vpnc-script View File

@ -92,6 +92,7 @@ do_connect() {
if [ -n "$INTERNAL_IP6_DNS" ];then
echo "server=/$i/$INTERNAL_IP6_DNS" >> $DNSMASQ_FILE
fi
echo "rebind-domain-ok=$i" >> $DNSMASQ_FILE
done
/etc/init.d/dnsmasq restart
else


Loading…
Cancel
Save