From 70bb65de034285df57c016d14f46dcffd0e78b9c Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 10 May 2020 20:14:04 +0800 Subject: [PATCH] Update tun2socks.sh --- tun2socks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tun2socks.sh b/tun2socks.sh index f400123..2be63d4 100644 --- a/tun2socks.sh +++ b/tun2socks.sh @@ -29,7 +29,7 @@ done # DNS settings echo "nameserver $TUNGW" > /etc/resolv.conf -tun2socks -loglevel $LOGLEVEL \ +exec tun2socks -loglevel $LOGLEVEL \ -tunName $TUN -proxyServer $PROXY \ -monitor -monitorAddr $MONITOR \ -fakeDNS -hosts $HOSTS \