whonix ws does not work through VPN

I’m fairly new to Qubes and Whonix but have used other linux flavours for a long time.

I’m trying to set up user → Tor → VPN → Internet and in terms of VMs I have anon-whonix->sys-vpn->sys-whonix->sys-firewall->sys-net.

From inside sys-vpn there are no issues. I can also have a regular debian VM use sys-vpn, again with no issues. My problems arise when I use a whonix-ws VM.

I would not expect onion sites to work as this is impossible and I have installed librewolf. However even from terminal I am not getting a usable connection.

The problems appear to be DNS related. I can pull back pages for say however nothing with a domain name.

I’ve disabled the uwt wrapper and dug through as much documentation as I can find but from what I can find it suggests that there should be no DNS issue.

I’ve updated resolv.conf to be the DNS of my VPN provider.

nslookup times out suggesting no servers can be reached

I’m a bit stuck. Any suggestions?

There is a few steps i take with the templates for all of the networking templates i use which includes the template for the VPN.
systemctl disable systemd-resolved
systemctl enable NetworkManager
Also i would recommend using this setup.
Set up a ProxyVM as a VPN gateway using iptables and CLI scripts

additionaly in /rw/config you can make a file called close.vpn and “chmod +x close.vpn”
sudo pkill -9 openvpn

and after your done go to dom0 system tools keyboard and add an application shortcut with qvm-run sys-vpn “sudo /rw/config/close.vpn” and link it to a keyboard shortcut for when your ready to shutdown your system or close the VPN when your done. This is more Qubes involved and not with whonix. Take your time and check your settings.

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Contributors] [Investors] [Priority Support] [Professional Support]