mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-13 12:34:00 +08:00
Update tun2socks.sh
This commit is contained in:
@@ -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 \
|
||||||
|
Reference in New Issue
Block a user