This is my setup in qubes:
fedora-29-vpn (templatevm- has openvpn installed)
VPN-appvm (has openvpn running in it. It is using fedora-29-vpn template)------> vpn-sys-whonix(ProxyVM based on whonix-gw-14 template and its NETVM is VPN-appVM------>Internet AppVM(based on template whonix-ws-14. Its NETVM is set as vpn-sys-whonix).
I have been following this guide https://www.qubes-os.org/doc/vpn/#set-up-a-proxyvm-as-a-vpn-gateway-using-iptables-and-cli-scripts when I was setting up VPN-appvm which I followed to a tee and completed without too much trouble.
The Issue is, I have DNS leaks by doing some online DNS checks with VPN-appvm. Any Idea why/how to possibly fix this.
wouldnt this way be User -> TOR -> VPN -> Internet? Sorry if it was a bit confusing my explanation of the setup. maybe this is better explained.
whonix-ws -->Whonix-gw---->sys-vm------>sys-firewall
Internet VPN
Internet(NETVM=vpn-sys-whonix)---->vpn-sys-whonix(NETVM=sys-vm)----->sys-vm (NETVM=sys-firewall)
(whonix-ws template) (whonix-gw template) (fedora-29-vpn template)
>
> It also matters precisely where you are checking for DNS packets.
>
> >
> > I have been following this guide https://www.qubes-os.org/doc/vpn/#set-up-a-proxyvm-as-a-vpn-gateway-using-iptables-and-cli-scripts when I was setting up VPN-appvm which I followed to a tee and completed without too much trouble.
> >
> > The Issue is, I have DNS leaks by doing some online DNS checks with VPN-appvm. Any Idea why/how to possibly fix this.
>
> A vpn vm may still send out DNS packets in the clear to look up its own
> servers. Beyond that, you shouldn't see any.
>
> You can try a more thorough vpn setup here:
>
> https://github.com/tasket/Qubes-vpn-support
>
> This will check that the anti-leak firewall rules are in place before
> starting the vpn client, and generally keep the link running more smoothly.
I can try this method see the difference.
>
> However, I should note there is at least one issue open there for Fedora
> 29 weirdness. In general, I recommend using Debian (which is what Whonix
> is based on) as it has been better behaved than Fedora overall. Its also
> the case that Fedora is intended to be a testbed, NON-production OS and
> Qubes has plans to migrate away from it.
Yes I can switch over to debian and see if that fixes the problem aswell.