Git Product home page Git Product logo

Comments (8)

8227846265 avatar 8227846265 commented on June 26, 2024 1

That's different. That's a "Launch on Startup" wherein you have to see the "Sign In Page" on Windows before the VPN program starts.

The "Connect on System Boot" on the other hand loads the VPN program earlier before the login page on Windows even appears.

PIA right now on the auto-start on launch functionality will have few seconds upon login that it kills the internet connection while it's connecting when you have Kill Switch to "Always".

This causes "cannot connect / no internet" errors on other startup programs that doesn't have auto-reconnect feature.

Back to the feature being requested.

If "Connect on System Boot" is enabled as a feature on PIA, you won't see those few seconds of disconnection when booting up your computation while Kill Switch is set to "Always"

And ensures other startup program gets connected on a VPN every boot up of your computer even before you logged in.

from desktop.

8227846265 avatar 8227846265 commented on June 26, 2024 1

In short.
"Launch on Startup" = VPN connects after login page appears
image

While "Connect on System Boot" = VPN is allowed to have the connection up and running right after system boot even when nobody is logged on (e.g. early startup)
image

from desktop.

faireOwl avatar faireOwl commented on June 26, 2024

This feature has always been available, titled "Launch on System Startup" in the UI.

from desktop.

archerallstars avatar archerallstars commented on June 26, 2024

I am also trying to find a way to make this work.

from desktop.

archerallstars avatar archerallstars commented on June 26, 2024

I found the solution. The magic is that you will have to enable the PIA daemon to run in the background. Otherwise, you won't be able to make PIA's connection.

I can enable the background daemon (in my session while the client GUI is running) with this:

piactl background enable

Now, I can log out of my session (PIA will be disconnected). Then, I log in to my session locally through an SSH tunnel. Since I already enabled the background daemon with the code above, now I can run this:

piactl connect

Next, I check the connection with this:

piactl get connectionstate

If the above command returned "Connected", it should be OK.

Now, in order to connect to my session over the internet, I will have to know both my VPN's IP and forward port number. I can do it with this code respectively:

piactl get vpnip          
piactl get portforward

Now, I can get PIA running and remote my session through RDP without ever having to log in again. Moreover, PIA won't disconnect even after I logged out of my session. Extremely happy!

I am very happy with the service. However, I hope this feature will be implemented in the GUI client soon. I am on Ubuntu by the way.

from desktop.

8227846265 avatar 8227846265 commented on June 26, 2024

Indeed, this is only the feature missing to ensure Kill Switch is fully working without disconnection upon startup.

from desktop.

archerallstars avatar archerallstars commented on June 26, 2024

Indeed, this is only the feature missing to ensure Kill Switch is fully working without disconnection upon startup.

With the above setup, not only PIA will connect at boot but it won't disconnect even after I logged out of my session. Extremely happy!

from desktop.

banister avatar banister commented on June 26, 2024

Closing as solved in comments, thanks!

from desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.