Skip to content
/ autovpn Public

Connect to your VPN through Ivanti Secure Access Client (formerly Pulse Secure Client) automatically when logging in to Windows!

License

Notifications You must be signed in to change notification settings

AngeIo/autovpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autovpn logo

autoVPN

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!

Features / To-do list

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

Installation

Please make sure you have the following prerequisites:

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

Downloading the source code

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

Usage

Dependencies

Download all the required packages for the script by running the following command in your terminal:

pip install -r requirements.txt

Encryption of your password

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

Variables configuration

You have to:

  • Rename variables.py.template to variables.py.
  • Copy and paste your encrypted password in the vpn_pw variable.
  • Modify all other variables in variables.py to match your environment.

Compile & install

Run the compiler and installation scripts using the following command:

python utils/make.py

Run the Script

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!

License

The source code for "autovpn" is Public Domain.

Authors

About

Connect to your VPN through Ivanti Secure Access Client (formerly Pulse Secure Client) automatically when logging in to Windows!

Topics

Resources

License

Stars

Watchers

Forks

Languages