Dhi13man / global_protect_controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Global Protect Controller

License Contributors GitHub forks GitHub Repo stars Last Commit

Buy Me A Coffee

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.

✨ Features

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

πŸ“š Use Cases

  1. Automated VPN Management: Perfect for frequent VPN users, this script automates connection and disconnection, saving time and effort.
  2. Selective VPN Use: Ideal for users under stringent network policies, providing the flexibility to temporarily disable the VPN for greater control over network connections.

πŸš€ Getting Started

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

πŸ”§ Usage

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

🀝 Contributing

Join the open-source community and make a difference! Contributions are greatly appreciated and help us all learn, inspire, and create together.

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

License:MIT License


Languages

Language:Shell 100.0%