deanishe 1,376 Posted September 1, 2015 Share Posted September 1, 2015 (edited) VPN Connection Manager Manage your Tunnelblick or Viscosity VPN connections from Alfred. Usage vpn [<query>] — View and filter Tunnelblick/Viscosity VPN connections. - ↩ — Connect/disconnect selected connection. vpnconf [<query>] — View and edit workflow configuration. Workflow Update Available! / Workflow Is up to Date — Workflow update availablity. ↩ or ⇥ — Check for and install update. App Name (active) — The currently selected VPN application. App Name (not installed) — Supported, but not installed, VPN application. ↩ — Go to this application's website. App Name — Installed, but unused, application. ↩ — Use this application to manage VPN connections. Online Docs — Workflow README. ↩ — Open in your default browser. Help — This forum thread. ↩ — Open in your default browser. Report Problem — Workflow's GitHub issues. ↩ — Open in your default browser. If you haven't entered a query, any active VPN connections will be shown at the top of the list. Action an active connection to disconnect it. If you are connected to multiple VPNs, an additional "Disconnect All" item will be shown first. Download & Installation Get the workflow from GitHub releases. Edited October 10, 2018 by deanishe Remove Packal link HuskyHerder, thec13 and lid 2 1 Link to post
lid 0 Posted September 11, 2015 Share Posted September 11, 2015 This is awesome, and works great. Thanks. Link to post
deanishe 1,376 Posted November 23, 2015 Author Share Posted November 23, 2015 Updated today to work properly with just one VPN and with smarter sorting (i.e. Alfred's knowledge applied) when not connected to a VPN. Link to post
deanishe 1,376 Posted April 2, 2017 Author Share Posted April 2, 2017 Updated today to stop the hanging background processes. Link to post
schmkr 0 Posted June 6, 2017 Share Posted June 6, 2017 Hi, I recently manually updated your workflow by downloading the latest release from Github and opening the .workflow with Alfred. Although the workflow shows the VPN connection I have configured in Viscosity, it keeps on saying there is an update available. Hitting <enter> on that item just doesn't seem to be doing anything. Any idea on how to fix this? Link to post
deanishe 1,376 Posted June 7, 2017 Author Share Posted June 7, 2017 Screenshots are not enough to diagnose issues. Please open Alfred's debugger, run vpn workflow:update, and post the debug output. Link to post
schmkr 0 Posted June 20, 2017 Share Posted June 20, 2017 Can't seem to reproduce this anymore. I had removed the settings.json file containing the version information and installed the latest version of the workflow downloaded from Github. When I run into the issue again, I'll try to provide debug output! Link to post
piggah 1 Posted December 26, 2017 Share Posted December 26, 2017 [2017-12-26 00:44:29][ERROR: input.scriptfilter] Code 1: . 00:44:29 workflow.py:2055 DEBUG ---------- VPN Manager (3.0.1) ---------- 00:44:29 workflow.py:1462 DEBUG reading settings from /Users/nickferguson/Library/Application Support/Alfred 3/Workflow Data/net.deanishe.alfred.vpn.manager/settings.json 00:44:29 workflow.py:2339 DEBUG update check not due 00:44:29 vpn.py:523 DEBUG args : {'--all': False, '--help': False, '<name>': None, '<query>': u'', 'conf': True, 'connect': False, 'disconnect': False, 'list': False} 00:44:29 workflow.py:1689 DEBUG loading cached data: /Users/nickferguson/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred.vpn.manager/__workflow_update_status.cpickle 00:44:29 workflow.py:2269 DEBUG update_data: {u'available': False} 00:44:29 vpn.py:120 DEBUG appinfo=AppInfo(name=u'Tunnelblick', path=u'/Applications/Tunnelblick.app', bundleid=u'net.tunnelblick.tunnelblick') 00:44:29 vpn.py:120 DEBUG appinfo=None 00:44:29 workflow.py:2074 ERROR 'NoneType' object has no attribute 'path' Traceback (most recent call last): File "/Users/nickferguson/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.5272EA93-6E91-458E-8E16-68480B7C094B/workflow/workflow.py", line 2067, in run func(self) File "./vpn.py", line 535, in main return do_config(args.get('<query>')) File "./vpn.py", line 343, in do_config icon=app.info.path, AttributeError: 'NoneType' object has no attribute 'path' 00:44:29 workflow.py:2097 DEBUG ---------- finished in 0.143s ---------- I'm trying to use with tunnelbrick ... I'm not knowledgeable enough to diagnose this. Link to post
deanishe 1,376 Posted December 26, 2017 Author Share Posted December 26, 2017 @piggah Download the latest version of the workflow. The issue is fixed. piggah 1 Link to post
Davide 9 Posted December 27, 2017 Share Posted December 27, 2017 Hi deanishe, great workflow, any chance to make such a workflow for the VPN App Shimo? Link to post
deanishe 1,376 Posted December 28, 2017 Author Share Posted December 28, 2017 5 hours ago, Davide said: any chance to make such a workflow for the VPN App Shimo? Very unlikely. I don't have it and it's expensive. Link to post
Davide 9 Posted January 2, 2018 Share Posted January 2, 2018 I understand. For students it's free and for Tiger VPN User (now 77% new year discount period) Link to post
deanishe 1,376 Posted January 2, 2018 Author Share Posted January 2, 2018 Have you got a link for that? I have a TigerVPN account. Link to post
deanishe 1,376 Posted January 2, 2018 Author Share Posted January 2, 2018 Never mind. I've had a look, and it's not included with the account I have (a low-end, but lifetime, account from some bundle). I've had a look at the app (via the demo), and it does look like it would work. I'll ask the developers if they'll give me a licence for free, so I can support it in the workflow. Link to post
deanishe 1,376 Posted January 2, 2018 Author Share Posted January 2, 2018 Actually, you can forget it. Shimo's supposed AppleScript support is broken. It throws an error if you try to get a list of its connections, so it won't work. If you want Shimo to be supported by the workflow, you'll first have to get the developer(s) to fix the AppleScript support. Link to post
Januz 1 Posted April 3, 2018 Share Posted April 3, 2018 Hi, I wanted to test your workflow, but get the error message that Viscosity is not installed. It is actually installed, but I used `brew cask` to install it (the .app resides in /Applications though). Might that be the reason your workflow doesn't recognize it? Link to post
deanishe 1,376 Posted April 3, 2018 Author Share Posted April 3, 2018 Sounds a lot like this issue. Are you sure you have the latest version of the workflow, @Januz? If so, please post the log from Alfred's debugger. Link to post
byakurey 0 Posted November 16, 2020 Share Posted November 16, 2020 nice one. I will use new vpn too Link to post
byakurey 0 Posted November 17, 2020 Share Posted November 17, 2020 (edited) New vpn client works well. I choose https://veepn.com/ which give me stable internet connection and access to forbidden website. It require access to 50 locations and many servers. Edited November 19, 2020 by byakurey Link to post
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now