-
|
Hi, I use Xray-core as a proxy service for hev-socks5-tunnel. When I set routing rules there for IP ranges from geoip.dat file everything works fine. If I try to set rules for domains from geosite.dat these rules work as intended but only if I connect to proxy ports from a browser, connections through hev-socks5-tunnel don't work. It looks like hev-socks5-tunnel doesn't convey those domain names to the proxy. I wonder is it a bug or a feature? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
You should enable the mapped DNS feature in hev-socks5-tunnel and use the DNS server mapdns:
# Mapped DNS address
address: 198.18.0.2
# Mapped DNS port
port: 53
# Mapped IP network base
network: 240.0.0.0
# Mapped IP network mask
netmask: 240.0.0.0
# Mapped DNS cache size
cache-size: 10000 |
Beta Was this translation helpful? Give feedback.
You should enable the mapped DNS feature in hev-socks5-tunnel and use the DNS server
198.18.0.2if you want to pass the domain name through to the SOCKS5 server.