How do I set custom DNS servers for a proxy? #660
-
I'm trying to set a public DNS server such as Cloudflare on my proxy (I don't own the server or have access to server configs, I'm just the client) but whatever I try it doesn't work! Here's my sslocal config json:
I check with browserleaks.com and they are not taking over! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
The |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, what you want to accomplish is best to be done on the server side (in |
Beta Was this translation helpful? Give feedback.
-
nat a virtual ip such as 255.255.255.53,then set your proxy nameserver 255.255.255.53 |
Beta Was this translation helpful? Give feedback.
nat a virtual ip such as 255.255.255.53,then set your proxy nameserver 255.255.255.53
iptables -t nat -A OUTPUT -p udp --dport 53 -d 255.255.255.53 -j DNAT --to-destination 1.1.1.1:53
iptables -t nat -A OUTPUT -p tcp --dport 53 -d 255.255.255.53 -j DNAT --to-destination 1.1.1.1:53