Help with firewall VPN killswitch

hey everyone,

i’m trying to set up a special zone in firewalld that will only route my traffic through the vpn interface, but i can’t figure out how to do it. i wanted to do this for a couple reasons. firstly, i don’t want apps phoning home on boot before i can activate my VPN. also, i want to make sure all traffic is cut off if connection drops.

right now the zone i am using is drop, but i have created a new zone that is supposed to function as the killswitch.

i’ve tried to provide as much as i know, and i apologise if i’ve missed anything. this is my first question and i’m pretty new to fedora linux. (~2.5 months)

thanks.

How can I configure a killswitch for OpenVPN using firewalld? - #7 by purrr