ComputerSteve
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.