I have set up my N66U running the latest Merlin fork with Astrill VPN which comes with a handy router applet that takes care of VPN connectivity (Uses OpenVPN ). All my devices on the network (Phones/PCs) are able to use this VPN tunnel perfectly well with the exception of my Chromecast. After extensive email exchanges with Astrill I have narrowed down the problem to configuration issues that aren't able to redirect 100% of Google DNS queries to the Astrill DNS server (since the Chromecast is hard-coded to use Google DNS). Here's what I've tried so far;
Iptables rules to forward all google dns queries to the VPN provider's DNS server x.x.x.x (this is a dynamic IP on the VPN tunnel network segment once VPN gets connected)
Does anyone have an idea of what could be causing the Chromecast to get a DNS resolution bypassing the above?
Iptables rules to forward all google dns queries to the VPN provider's DNS server x.x.x.x (this is a dynamic IP on the VPN tunnel network segment once VPN gets connected)
Code:
iptables -I PREROUTING -t nat -p udp -d 8.8.4.4 --dport 53 -j DNAT --to-destination x.x.x.x
iptables -I PREROUTING -t nat -p udp -d 8.8.8.8 --dport 53 -j DNAT --to-destination x.x.x.x
Does anyone have an idea of what could be causing the Chromecast to get a DNS resolution bypassing the above?