I'm using an RT-AC86U with Asuswrt-Merlin version 384.6; I'm experimenting with routing a specific device through the router's VPN connection while all others go to the WAN.
Initially I added a rule for the device's IP address, destination address 0.0.0.0, with iFace set to VPN. With the VPN connected, the device in question then couldn't access web pages.
After tearing my hair out for a bit, I finally figured out why - the router was sending the device's DNS requests to the VPN connection, which (not surprisingly) wasn't forwarding them.
I added two new rules, specifying "WAN" for the IP addresses of the device's DNS servers, and everything now works; but I'm pretty sure this isn't the right way to do it! Is there a way to configure either the device or the router so that I only need a single routing rule instead of 3? (For example, could the device use the router itself as a DNS server, and the router relay the DNS request to its servers?)
Initially I added a rule for the device's IP address, destination address 0.0.0.0, with iFace set to VPN. With the VPN connected, the device in question then couldn't access web pages.
After tearing my hair out for a bit, I finally figured out why - the router was sending the device's DNS requests to the VPN connection, which (not surprisingly) wasn't forwarding them.
I added two new rules, specifying "WAN" for the IP addresses of the device's DNS servers, and everything now works; but I'm pretty sure this isn't the right way to do it! Is there a way to configure either the device or the router so that I only need a single routing rule instead of 3? (For example, could the device use the router itself as a DNS server, and the router relay the DNS request to its servers?)