mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
openconnect: automatically enable rebind for DNS servers sent by VPN server
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user