juniorsweet
Occasional Visitor
I've been happily using @Odkrys' implementation of Wireguard on my AC86U for a while now.
Recently I've run into an issue with leaking DNS requests that I haven't been able to figure out. I've followed @Odkrys tutorial and have modified the S50wireguard code to run in policy mode, and have included my VPN's DNS address.
Here's the weird part...the VPN provider's DNS is correctly used for VPN traffic if I have
Does anyone have any suggestions for how to troubleshoot or fix this?
[Experimental] WireGuard for HND platform (4.1.x kernels)
1. Install WireGuard You need Entware-aarch64-3.10 to use wireguard without a new firmware build. ㅡ Kernel Module ㅡ RT-AC86U, GT-AC2900 - 4.1.27 https://github.com/odkrys/entware-makefile-for-merlin/raw/main/wireguard-kernel_1.0.20210219-k27_1_aarch64-3.10.ipk opkg install...
www.snbforums.com
Recently I've run into an issue with leaking DNS requests that I haven't been able to figure out. I've followed @Odkrys tutorial and have modified the S50wireguard code to run in policy mode, and have included my VPN's DNS address.
Code:
Mode=client
export LocalIP=***
Route=policy #default or policy
export wgdns=***
export Nipset=wgvpn
Here's the weird part...the VPN provider's DNS is correctly used for VPN traffic if I have
Route
set to default
, but not when set to policy
. This is a problem because I only have a few clients on my network that I want to route through the VPN tunnel, and right now they are leaking DNS queries by using the standard DNS specified by my router for all other clients.Does anyone have any suggestions for how to troubleshoot or fix this?