Does anyone know how to make a VPN killswitch in Fedora? It should only allow traffic in and out of Tun0 when the firewall is enabled
On Ubuntu I'd just use ufw for this, but it not supported
>>53706539
>Not coding your own shell scripts around iptables like god intended
>>53706555
>making an autistic shell script instead of entering 4 ufw commands
>>53706539
dnf install vpndemon
disclaimer: I have no idea if it's in Fedora's repos. It's in Debian's.
I installed UFW from source and I disabled firewalld.
It seems to work like it did in Ubuntu
I'd fully uninstall firewalld but when I try to it tells me it'll also install anaconda, so I don't know what to do next
>>53707385
For anyone to cares, I tested it and UFW does it's job on Fedora. My real IP doesn't leak when the VPN connection is killed, and all torrenting traffic goes through tun0.