My killswitch 'kills' tor traffic on Whonix

I have problem with kill switch ( I am using UFW firewall and openvpn on Linux). I have installed virtualbox with configuration: Whonix Gateway -> Whonix Workstation. When I run killswitch for my VPN my tor network does not work. I have no conenction on Whonix Gateway and Whonix Workstation. Without killswitch it works fine.
I am firewall amatour but I am trying to solve it since a week.
I asume that killswitch(UFW settings blocks Whonix), am I right? I am not sure what should I do now. Should I made changes in UFW script or should I change something(what?) in Virtual Box settings?

Here is my UFW script:
sudo ufw restart
sudo ufw default deny incoming
sudo ufw deny outgoing
sudo ufw allow in on tun0
sudo ufw allow out on tun0
sudo ufw allow in on wlp2s0 from 192.168.1.0/24
sudo ufw allow out on wlp2s0 to 192.168.1.0/24
sudo ufw allow out on wlp2s0 to 194.36.108.75/27 port 1194 proto udp
sudo ufw allow out on wlp2s0 to 194.36.108.75/27 port 1194 proto udp
ufw enable

Hi mallo

Tor uses tcp not udp. Your rule set does not have a rule to allow Tor traffic.

Also be careful when post logs and other information on the forum or elsewhere.

https://whonix.org/wiki/DoNot#Post_Full_System_Logs_or_Configuration_Files

If you are trying to configure the VPN with a failed-closed mechanism on your host, this can be answered as per: https://whonix.org/wiki/Support#Free_Support_Principle

If you are setting up your VPN in Whonix-Gateway a failed-closed configuration is already available.

https://whonix.org/wiki/Tunnels/Connecting_to_a_VPN_before_Tor

2 Likes