/alfred-vpn-manager

Manage Tunnelblick & Viscosity VPN connections from Alfred

Primary LanguagePythonOtherNOASSERTION

Alfred VPN Manager

Manage your Tunnelblick and Viscosity VPN connections from Alfred.

Note: Version 2 requires Alfred 3.

Alfred-Viscosity in action

Contents

Installation

Download the VPN-Manager-X.X.X.alfred3workflow file from GitHub releases and double-click the file to import it into Alfred.

Usage

  • vpn [<query>] — View and filter 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 — This README.
      • — Open in your default browser.
    • Get Help — Workflow's thread on AlfredForum.com.
      • — 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.

Supported apps

The workflow currently supports Tunnelblick and Viscosity, which both manage OpenVPN connections.

Essentially, the functionality of both applications is the same. Tunnelblick is open source and free, while Viscosity is proprietary and cheap, but has a more pleasant user interface.

What's a VPN for, anyway?

To prevent people (geo)blocking and/or spying on you.

  • So other people on the same unsecured WiFi network (or the operator) can't monitor your traffic
  • To access services that are blocked on the network you're using. For example, some of the corporate networks I've used have blocked IMAP(S), so I couldn't check my email, or the iOS App Store
  • To access content censored by your ISP or government
  • To access services that geo-block your current location

VPN providers

If you don't have a VPN service yet, here are the two I personally use:

Private Internet Access for high-bandwidth stuff, like trying to watch online videos that GEMA has blocked in Germany. The service is fast and reliable, and they don't log your traffic. They regularly top Torrent Freak's best VPN provider chart.

A self-hosted Streisand installation for punching through locked-down corporate firewalls that don't think I should be able to check my email. It's very simple to set up, and gives you a lot of options for connecting.

Licence & thanks

This workflow is licensed under the MIT Licence.

It is based on the Alfred-Workflow library (also MIT-licensed) and the icons are from Font Awesome (SIL OFL Licence).