From 0bc59119ec341697a47063c2fd95844ddce872c7 Mon Sep 17 00:00:00 2001 From: nocci Date: Sun, 10 Aug 2025 15:59:04 +0200 Subject: [PATCH] erst vpn, dann killswitch - ich dussel --- install.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index db66c55..62d2aee 100644 --- a/install.sh +++ b/install.sh @@ -469,6 +469,16 @@ create_directories() { # Install killswitch script install_killswitch() { log "Installing permanent killswitch..." + warning "⚠️ KILLSWITCH WILL BLOCK ALL INTERNET ACCESS AFTER ACTIVATION!" + warning "⚠️ Only VPN connections will be allowed!" + echo "" + read -p "Activate killswitch now? This cannot be undone! (y/N): " -n 1 -r + echo "" + if [[ ! $REPLY =~ ^[Yy]$ ]]; then + warning "Killswitch installation skipped. System is NOT protected!" + warning "Run 'systemctl start vpn-killswitch' to activate later." + return + fi # Create killswitch script cat > /usr/local/bin/vpn-killswitch.sh << 'EOFSCRIPT' @@ -1175,8 +1185,8 @@ main() { install_dependencies create_directories - install_killswitch - install_vpn_provider # Replaces install_mullvad + install_vpn_provider # Install VPN first (needs internet) + install_killswitch # Then activate killswitch (blocks internet) install_backend install_webui setup_services