What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Easily turning vpn client on/off

sobeitjedi

New Around Here
Hi.

Is there an easy way (an app or feature) where I can easily turn the vpn client on or off?

I find my vpn (via express vpn) speed decreases over connection time - I'd like to switch vpn on or off via my android phone, but I cannot. The web gui doesn't render properly so I have to boot up windows on my laptop, login and toggle the vpn.

Please tell me there's an easy solution?
 
I use an app called JuiceSSH which lets you save homescreen shortcuts with code snippets. So you could have a shortcut for say,
Code:
service restart_vpnclient1
exit
to restart client 1.

EDIT: can''t remember if the free version supports snippets or if it's the pro/paid version only.
 
Thanks for the reply. I use the GUI so the coding is a bit beyond me. Can anyone help with this coding or alternative solution?
 
Windows shortcut with the following

Code:
C:\path\to\putty.exe -load [putty_named_session] -l [user] -pw [password] -m C:\path\to\commands.txt

You don't have to save your password in plaintext if you use ssh certificates.

You can assign icons to windows shortcuts.
 
Last edited:

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top