What's new

Would someone be able to make a Kill Switch script that works with x3mrouting ?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!


Senior Member
So the problem is that currently when the router reboots, or you stop the vpn client. Devices that are policy routed through the vpn using vpn director still retain internet access. I have tried the script located at https://www.snbforums.com/threads/vpn-client-and-killswitch.74170/#post-707860. This script doesn't work while using x3mrouting. With this enabled in firewall-start script x3mrouting ipset rules do not bypass the vpn and go to wan. I would like a way for this script just to start when the vpn is down or stopped or at reboot when there is not initial vpn & then be removed when the vpn starts.

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!