Caution
For now, this project's way of operating could be insecure because your password is sent without encryption to the pulselauncher.exe
in the command line and could expose it to a potential hacker if your computer has breached.
Also, it's not good practice to automatically connect to an organization's VPN on your session's startup, especially if you don't have to enter a password. If your PC is compromised, it could make your company's internal network potentially vulnerable.
Please proceed with caution!
Connect to your VPN through Ivanti Secure Access Client (formerly Pulse Secure Client) automatically when logging in to Windows!
- Auto-connect to the VPN when logging-in to your Windows computer!
- Easy installation using included script!
- Secure your password in a encrypted format!
- Even easier installation (improve first time setup with password generation, prompting user through the script to auto-fill the variables.py file, etc.)
- Support for Linux (only tested on Windows)
Please make sure you have the following prerequisites:
- Git
- Python 3 (tested with 3.10.11)
- Ivanti Secure Access Client (tested with 22.6.1 - 26825)
Show details for Ivanti
Name: Ivanti Secure Access Client for Desktop 22.6R1 Build 26825
File name: ps-pulse-win-22.6r1.0-b26825-64bit-installer.msi
File Size: 57 MB
SHA-256 Checksum: bb7571e84941cd6018d47c2fff25a13dfa0846dd593bc8070d41458f5ff70778
Last Updated: 2023-09-24
Clone the repository:
git clone https://github.com/AngeIo/autovpn
To update the source code to the latest commit, run the following command inside the autovpn
directory:
git pull
Download all the required packages for the script by running the following command in your terminal:
pip install -r requirements.txt
Utilize the dedicated script in the utils
directory to generate an encrypted version of your Horoquartz password. Save the result for later use. Run the following command:
python utils/pwgen.py "MyStrongPassword"
Or type the same command without the password at the end to type it hidden:
python utils/pwgen.py
You have to:
- Rename
variables.py.template
tovariables.py
. - Copy and paste your encrypted password in the
vpn_pw
variable. - Modify all other variables in
variables.py
to match your environment.
Run the compiler and installation scripts using the following command:
python utils/make.py
To execute the script, start your Windows PC to run autovpn
!
You can also click on the taskbar or desktop shortcut if you were disconnected for some reason!
The source code for "autovpn" is Public Domain.
- 0x546F6D (pttb)
- Google Fonts (logo)
- A lot of open source contributors
- Angelo