VPN AppleScript Auto Reconnect

From BTGuard Wiki
Revision as of 17:35, 23 June 2013 by Support (Talk | contribs)

Jump to: navigation, search

VPNscript_1.png

How To use the VPN Script for Mac


This script will monitor the status of your VPN connection and will automatically try to reconnect you to the VPN if you're disconnected.

This will also allow you to select a program (utorrent in this case) that will automatically be shutdown when disconnected and reopened when reconnected.


VPNscript_2.png

1. First, you'll need to open the AppleScript Editor and go to Preferences.


VPNscript_3.png

2. Make sure Show Script menu in menu bar is checked.

THE FOLLOWING SCRIPTS WILL ONLY WORK IF YOU FOLLOWED THESE INSTRUCTIONS TO THE LETTER FOR THE PPTP METHOD AND YOUR VPN CONNECTION IS PROPERLY NAMED: BTGuard VPN

3. To make things easier, we have created some pre-configured scripts for some torrent clients. Please download the appropriate script depending on the torrent client you use:

  • [http uTorrent]
  • [http Vuze]
  • [http qBittorrent]
  • [http Deluge]
  • [http Transmission]
If you don't feel like editing the script and would like to use another torrent client not listed above, please contact our VPN support center and let us know the ones you'd like to see added above.


VPNscript_6.png



VPNscript_7.png

Macintosh HD > Users > your username > Library > Scripts


VPNscript_8.png



VPNscript_4.png

How To Edit the scripts

The following steps are only required if you did not name your VPN connection BTGuard VPN or if your favorite torrent client isn't listed above.

1.


VPNscript_5.png