Tailscale version 1.12.1
I have an OpenWRT router at 192.168.2.1, this router is also been set as an exit node.
There is a clash proxy on 192.168.2.1, on the router, I can use
curl google.com to access google.
I have added 192.168.2.1 as a
Global Nameserver in the admin DNS panel, and have set
override local DNS.
When I use this router as the exit node on another node.
The DNS setting is working, since
nslookup command show it used
But I can’t access google with
curl google.com. BTW, if I
export http_proxy='http://192.168.2.1:7890' first, I can assess google.
I want to access google on other nodes as well. Is this possible?
Anyway, if I use WireGuard, I just need to use a config like below, and it works
[Interface] Address = 192.168.2.x/32 # IPV4 address client is allowed to connect as PrivateKey = privatekey # Client private key goes here DNS = 192.168.2.1 # DNS client should use for resolution (Cloudflare here) [Peer] PublicKey = publickey # Server public key Endpoint = some-domain:51820 # Where the server is at + the listening port AllowedIPs = 0.0.0.0/0, ::/0 # Forward all traffic to server