How to Setup Your Raspberry PI As A VPN Router With A Kill Switch
This is all the source code you need to get your raspi into a vpn router with a kill switch.
You can find a full step by step guide on how to do this here:
https://unbiased-coder.com/setup-raspi-vpn-router-kill-switch