Update tun2socks.sh

This commit is contained in:
Jason
2020-05-10 20:14:04 +08:00
parent bf8fbf86fc
commit 70bb65de03

View File

@@ -29,7 +29,7 @@ done
# DNS settings # DNS settings
echo "nameserver $TUNGW" > /etc/resolv.conf echo "nameserver $TUNGW" > /etc/resolv.conf
tun2socks -loglevel $LOGLEVEL \ exec tun2socks -loglevel $LOGLEVEL \
-tunName $TUN -proxyServer $PROXY \ -tunName $TUN -proxyServer $PROXY \
-monitor -monitorAddr $MONITOR \ -monitor -monitorAddr $MONITOR \
-fakeDNS -hosts $HOSTS \ -fakeDNS -hosts $HOSTS \