docs » Tunnelblick

connect to a Tunnelblick OpenVPN connection using a shortcut Uses applescript to interact with Tunnelblick's window

written by Tyler Thrailkill tyler.b.thrailkill@gmail.com

https://github.com/snowe2010

API Overview

API Documentation

Variables

connection_name
Signature Tunnelblick.connection_name
Type Variable
Description

String connection name

logger
Signature Tunnelblick.logger
Type Variable
Description

Logger object used within the Spoon. Can be accessed to set the default log level for the messages coming from the Spoon.

password_fn
Signature Tunnelblick.password_fn
Type Variable
Description

Function returning the password to login to the vpn connection with

username
Signature Tunnelblick.username
Type Variable
Description

String username to log in with

Methods

bindHotkeys
Signature Tunnelblick:bindHotkeys(mapping)
Type Method
Description

Binds hotkeys for Tunnelblick

Parameters:

  • mapping - A table containing hotkey objifier/key details for the following items:
    • login - login to tunnelblick shortcut
connect
Signature Tunnelblick:connect()
Type Method
Description

Performs the connection operation using a username, password, and connection_name