Skip to content
This repository has been archived by the owner on Mar 1, 2020. It is now read-only.
/ PiaManager Public archive

Program to start and stop the PIA VPN from a fixed location so firewalls can whitelist it

License

Notifications You must be signed in to change notification settings

erik434/PiaManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: this program is no longer necessary with the modern PIA app, but I'm leaving this project up in case it's still useful to someone.

Purpose

Every time the PIA VPN starts, it deploys some Ruby files to a random temp directory and then launches those. The random path prevents it from being whitelisted by firewalls. This program helps to run PIA from a fixed location so it can be whitelisted in firewalls.

First-time Setup

  1. Start PIA as usual so it can deploy its files to a random temp directory.
  2. Find this directory. It seems to match the pattern %USERPROFILE%\AppData\Local\Temp\ocr*.tmp and should contain bin, lib, and src folders.
  3. Copy the contents of this directory into a new directory called pia_ruby_files inside your PIA install folder (probably %PROGRAMFILES%\pia_manager unless you changed it). So when you're done you should have pia_manager\pia_ruby_files\src etc.
  4. Rename the existing pia_manager.exe inside your PIA install folder to something like pia_manager.exe.backup.
  5. Build this project and copy the output pia_manager.exe into your PIA install folder. That should be it!

Usage

Calling this program with no arguments will have it first kill any existing PIA processes and then start up PIA using the fixed pia_ruby_files location. If you had PIA set to automatically start with Windows before, that should continue to work - it will call pia_manager.exe with no arguments and PIA should start up as usual, but from this fixed path.

If you call pia_manager.exe with the --stop argument, it will just kill any existing PIA processes. This may be useful for automation applications to give you a way to start/stop PIA at will.

About

Program to start and stop the PIA VPN from a fixed location so firewalls can whitelist it

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages