Page 1 of 1

OpenVPN and Dnsmasq

Posted: Sun Dec 12, 2021 3:49 am
by drravi1110
I have seen about these DNS proxies for watching geo blocked contents (Netflix etc)
I have tried to figure out the working, now my plan is to do similar with OpenVPN and Dnsmasq
The architecture will be like
Client => OpenVPN access server => Dnsmasq => Requested Website => Client
So once the client makes request and it is resolved by DNS, the stream goes straight to the client, bypassing OpenVPN server (removes encryption, lag etc)
Is this possible ?
Requesting comments from all, let's do it !!!!

Thanks

Re: OpenVPN and Dnsmasq

Posted: Sun Dec 12, 2021 4:45 am
by openvpn_inc
If all you want is dnsmasq, you can run that at home. How/why is OpenVPN Access Server a piece of this?

Anyway, it's simple, just push the DNS server to your client[s]. If you don't push any other routes, you won't have any route other than the VPN itself. Full tunnel (equivalent of --redirect-gateway in openvpn(8) community version) is not the default:

Code: Select all

"vpn.client.routing.reroute_gw": "false"
hth, regards, rob0