


These scripts should be located in a Tunnelblick VPN Configurations without any folder structure, and references to them should not contain any path information.įor more information, see Using Scripts. Scripts supported by Tunnelblick: Tunnelblick VPN Configurations (’.tblk’s) can contain custom scripts that will be run automatically at other points in the connect/disconnect process.

Scripts supported by OpenVPN: Scripts referred to in the OpenVPN configuration file may be included in a Tunnelblick VPN configuration use filenames without any path information to refer to them in the OpenVPN configuration file. There are two types of custom scripts that can be run at certain points in the connect/disconnect process: Version 3.0b24 and later versions automatically move that folder to its new location, and replace it with a symbolic link to the new location. Note: Prior to Tunnelblick version 3.0b24, private configuration files were stored in ~/Library/openvpn. These configurations will be restored if a version of Tunnelblick which is not a Deployed version is installed, making it into a Deployed version. Shadow copies are created and maintained by Tunnelblick.īackup copies of Deployed configurations are stored in subfolders of /Library/Application Support/Tunnelblick/Backup. See 'useShadowConfigurationFiles’ in Preferences for details. 'Shadow’ copies of configuration files (if they exist) are located in /Library/Application Support Tunnelblick/Users/ username. (To access the internal contents of Tunnelblick.app in the Finder, Control-click Tunnelblick.app in the Applications folder and click 'Show Package Contents”.) They do not need to be set up for each user, and are accessible to all users of the computer with access to the application. (In fact, that’s the whole point of sharing them!)ĭeployed configurations, including both types of files, are stored within the Contents/Resources folder of Tunnelblick.app itself. Shared configurations do not need to be set up for each user. Shared configurations, which can only be Tunnelblick VPN Connection files, are stored in /Library/Application Support/Tunnelblick/Shared. Do not confuse this Library folder with the /Library folder located at the root of the filesystem.) (Note that the ’~’ in the path indicates the user’s home folder thus the folder is actually located somewhere such as /Users/username/Library/Application Support/Tunnelblick/Configurations. Since these files are all located in the user’s Library folder, they must be set up separately for each user. Private configurations, including both types of files, are stored in ’~/Library/Application Support/Tunnelblick/Configurations’. There are five places configuration files may be stored:

If you just move or copy them they may not work properly. Note: Configurations should always be installed by dropping them on the Tunnelblick icon in the menu bar. Keys, certificates, and scripts associated with a configuration file are often stored as separate files, but may be included within the configuration file itself. Tunnelblick VPN Connection files (.tblk files), which include within them one OpenVPN configuration file and all key, certificate, and script files used by the configuration and There are two types of configuration files: Key and certificate files usually have an extension of. Key and certificate files associated with a Tunnelblick VPN Configuration (.tblk) are stored inside the configuration itself. These may be stored anywhere, but typically they are stored in the same folder as the configuration (.ovpn or. The contents of the files are merged in the display in Tunnelblick’s 'VPN Details’ window. There are two log files for each configuration, an OpenVPN log file and a scripts log file. The log files for a configuration are created or deleted and recreated each time the connection is made. (Early versions of Tunnelblick stored them in /tmp/tunnelblick). Log files are stored in /Library/Application Support/Tunnelblick/Logs.
#Tunnelblick net driver#
The OpenVPN program, openvpn-down-root.so, the ‘tun’ and 'tap’ kext driver files, and standard client up/down scripts are included with, and contained within, Tunnelblick.app.
#Tunnelblick net install#
Running Tunnelblick from from anywhere except /Applications on the startup volume will result in an offer to install Tunnelblick in /Applications on the startup volume. unless they are being used as the startup volume. Thus it cannot be used from network drives or internal or external drives including thumb or flash drives, CD/DVD drives, etc. The Tunnelblick application, Tunnelblick.app, must be stored directly in /Applications on the startup volume for security reasons.
