#1 2023-02-21 09:40

Charma
Member
Registered: 2023-02-21
Posts: 1

Network kill switch

Hi, I've been thinking for several days about how to configure a kind of killswitch with shutter but I can't find the option.

I want when it disconnects from a vpn to block the internet connection until it reconnects. Is it possible to configure a killswitch with shutter?

Thanks

Offline

#2 2023-02-21 12:25

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,370

Re: Network kill switch

You could try disabling the network adapter, which can be done via command line.

netsh interface set interface 'INTERFACE NAME' disable

See https://superuser.com/questions/1689648 … windows-10

Such actions usually require administrative privilege, but otherwise you can call this from within Shutter.

Another idea is to configure a global proxy to a non-existent server (e.g. localhost on a random port), but applications can easily work around it by not using system proxy settings.

Offline

Board footer

Powered by FluxBB