Skip to content

Commit 05fb4b2

Browse files
committed
~tproxy dns
1 parent 0320512 commit 05fb4b2

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

xray-tproxy/README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## What it does?
33

44
* A [XRAY](https://github.com/XTLS/Xray-core) docker image with tproxy support.
5-
* A built-in DNS service. All DNS requests are re-directed to xray to prevent DNS leaking.
5+
* A built-in DNS service. All DNS requests are re-directed to xray to [prevent DNS leaking](#about-dns).
66

77
## How to use it?
88

@@ -130,10 +130,9 @@ All the environment variables that you can set in `docker-compose.yaml` file:
130130
131131
## Other topics
132132

133-
### DNS redirection
133+
### About DNS
134134

135-
* `xray-tproxy` container doesn't serve a DNS service.
136-
* To protect your DNS requests from leaking, use a **DNS outbound** in xray configuration to make it redirects all requests via proxy.
137-
* In this way, set your devices' DNS server to `114.114.114.114` or `8.8.8.8` has the same result.
138-
* However, don't use your LAN DNS server, e.g. `192.168.1.1`. The DNS traffic doesn't route to `xray-tproxy`, and thus is not protected.
135+
* `xray-tproxy` container uses `dnsmasq` to provide DNS service.
136+
* All the DNS requests are re-directed to `xray` via `nftables`.
137+
* Thus, you can safely speicify the IP address of `xray-tproxy` container on your client devices (Phone, PC, etc).
139138

0 commit comments

Comments
 (0)