Jigsaw-Code / outline-apps

Outline Client and Manager, developed by Jigsaw. Outline Manager makes it easy to create your own VPN server. Outline Client lets you share access to your VPN with anyone in your network, giving them access to the free and open internet.
https://getoutline.org/
Apache License 2.0
8.22k stars 1.35k forks source link

want to disable auto-connect #492

Open satyadeepk opened 5 years ago

satyadeepk commented 5 years ago

Hi, Thanks for the super-easy VPN setup tool. I am wondering if there is a way to turn off the auto-connect feature on system start in Mac. We are planning to use Outline to connect to our private services on AWS and we don't always want to start VPN by default.

If not, it will be a great little feature addition in Outline client settings page.

trevj commented 5 years ago

@satyadeepk Thanks for trying Outline and for this suggestion.

To clarify: Outline will only try to connect to the VPN on startup if it was connected on logout or system shutdown. Are you seeing different behaviour?

trevj commented 5 years ago

Possibly related: https://github.com/Jigsaw-Code/outline-client/issues/183

satyadeepk commented 5 years ago

@trevj Yes, I noticed it's working as you described. So quitting Outline before shutdown seems to be a good workaround for my issue.

sarunint commented 5 years ago

@trevj I'm seeing a different behaviour on Windows. I disconnect from the server, but on the system tray the icon still indicates that I'm still connected. I checked and I'm really disconnected. When I restart my computer, Outline tried to reconnect on startup every time regardless of whether I disconnect or not.

trevj commented 5 years ago

@sarunint Correct, the issue of the system tray not updating on disconnection is a bug that was introduced recently. I submitted a fix a couple of days ago and hope to release it later today: https://github.com/Jigsaw-Code/outline-client/pull/506

HazyFish commented 5 years ago

It may be better to provide an option in the app for users to turn off the feature, because some users are just not aware that the device is connected to Outline server at boot, although there is already a notice telling the user about it after installation.

trevj commented 5 years ago

Folks, apologies for the slow reply. I'm going to add this as a feature request - we'll have to think about how this will work across platforms.