Elevate your VPN management with the Global Protect Controller – a sleek, command-line shell script designed for effortless control of the Palo Alto Global Protect VPN/Network filter. Perfect for users seeking a streamlined, single-command solution for Global Protect VPN connectivity, this lightweight script excels in simplicity and efficiency.
For a more advanced VPN automation experience, check out my auto_vpn_connect project.
- One-Command Automation: Seamlessly connect or disconnect from the Global Protect VPN with a single command, enhancing your workflow.
- Policy Circumvention: Navigate around strict policies requiring constant VPN connection by unloading and forcefully terminating the Global Protect service when needed.
- Lightweight & Fast: As a shell script, it runs with minimal resource usage, ensuring quick execution and low system impact.
- Automated VPN Management: Perfect for frequent VPN users, this script automates connection and disconnection, saving time and effort.
- Selective VPN Use: Ideal for users under stringent network policies, providing the flexibility to temporarily disable the VPN for greater control over network connections.
Clone the repository and set up the script with the following commands:
git clone https://github.com/dhi13man/global_protect_controller.git
cd global-protect-controller
chmod +x global_protect_controller.sh
Control the Global Protect VPN with these simple commands:
-
To start the Global Protect VPN:
./global_protect_controller.sh --start # Or ./global_protect_controller.sh -s # Or ./global_protect_controller.sh start
-
To stop the Global Protect VPN:
./global_protect_controller.sh --stop # Or ./global_protect_controller.sh -t # Or ./global_protect_controller.sh stop
Join the open-source community and make a difference! Contributions are greatly appreciated and help us all learn, inspire, and create together.
This project is licensed under the MIT License. See the LICENSE file for more details.