mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
dnstun: remove dustun proxy, use dns and dnsserver settings instead
This commit is contained in:
1 parent
f6a578f849
commit
40f3315007
8 files changed
+12
-85
No files matched your search
@@ -14,9 +14,6 @@ verbose
|
||||
# listen on 8443, serve as http/socks5 proxy on the same port.
|
||||
listen=:8443
|
||||
|
||||
# listen on udp port 5353, forward dns requests via tcp protocol
|
||||
listen=dnstun://:5353=8.8.8.8:53
|
||||
|
||||
# upstream forward proxy
|
||||
forward=socks5://192.168.1.10:1080
|
||||
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
|
||||
## 8. Transparent Proxy with dnsmasq
|
||||
|
||||
#### Setup a redirect proxy and a dnstunnel with glider
|
||||
#### Setup a redirect proxy and a dns server with glider
|
||||
glider.conf
|
||||
```bash
|
||||
verbose=True
|
||||
listen=redir://:1081
|
||||
listen=dnstun://:5353=8.8.8.8:53
|
||||
forward=http://forwarder1:8080,socks5://forwarder2:1080
|
||||
forward=http://1.1.1.1:8080
|
||||
dns=:5353
|
||||
dnsserver=8.8.8.8:53
|
||||
strategy=rr
|
||||
checkwebsite=www.apple.com
|
||||
checkduration=30
|
||||
|
||||
@@ -3,11 +3,14 @@
|
||||
verbose=True
|
||||
|
||||
listen=redir://:1081
|
||||
listen=dnstun://:5353=8.8.8.8:53
|
||||
|
||||
forward=http://forwarder1:8080,socks5://forwarder2:1080
|
||||
forward=http://1.1.1.1:8080
|
||||
|
||||
dns=:5353
|
||||
dnsserver=8.8.8.8:53
|
||||
|
||||
|
||||
strategy=rr
|
||||
checkwebsite=www.apple.com
|
||||
checkduration=30
|
||||
@@ -55,12 +55,6 @@ listen=socks5://:1080
|
||||
# listen on 1084 as a udp over tcp tunnel, all requests to :1084 will be forward to 1.1.1.1:53
|
||||
# listen=uottun://:1084=1.1.1.1:53
|
||||
|
||||
# a dnstun is a special dns forwarder server with a fixed remote dns
|
||||
# listen on udp port 5353, act as a local dns server,
|
||||
# forward all requests to 8.8.8.8:53 via tcp protocol
|
||||
# listen=dnstun://:5353=8.8.8.8:53
|
||||
|
||||
|
||||
# FORWARDERS
|
||||
# ----------
|
||||
# Forwarders, we can setup multiple forwarders.
|
||||
|
||||
Reference in new issue
Block a user