FAQ
->
VPN
Mac
OpenVPN with GUI
Installing Tunnelblick
To connect to the department's VPN gateway on macOS, you need the Tunnelblick software. There is a GUI installer that contains all the necessary files: Download Tunnelblick
- Download the latest “Stable” version
- Open the downloaded .dmg file and start the installation by double-clicking on “Tunnelblick”
- Confirm opening. Both the download source and the software itself can be considered safe.
Setup configuration
- Create your own certificate in the User Portal
- Download the openvpn configuration file created for you (client.ovpn)
- You can rename the file to a better recognizable name, e.g. vpnFB02
- Import your VPN configuration by double-clicking on the .ovpn file
- If the automatic import does not work, you can manually move the .ovpn file to User -> Library -> Application Support -> Tunnelblick -> Configurations
- The next time you start Tunnelblick, you can then confirm the import with “Convert Configurations.”
- Then click on the Tunnelblick icon in the top right corner of the title bar and select “Connect client” or "Connect vpnFB02" or whatever you named the config file
- When establishing the connection, you will be asked for a password
- Please enter the password you have set when generating your certificate
OpenVPN without GUI
If you prefer to use the simple command line version of OpenVPN, or if Tunnelblick does not work, you can use OpenVPN in the terminal.
Setup
- Install OpenVPN2 either from the original source code https://github.com/OpenVPN/openvpn, or use a Mac package manager such as Homebrew
- To use Homebrew, follow the installation instructions at brew.sh
- After setting up Homebrew, OpenVPN can be installed by entering the following command:
brew install openvpn
- Next, generate your personal certificate and private key in the User Portal
- Then download the openvpn configuration file generated for you (“Download openvpn config”)
Usage
- Run the following command in the terminal to start the VPN with your configuration:
sudo openvpn downloads/client.ovpn
- The path to the configuration file can of course be freely customized
- You will be asked for the certificate password that you specified when creating the certificate
- Once the message “Initialization Sequence Completed” appears, the connection has been successfully established
- The terminal and the process must remain open for the connection to remain active.
- To terminate OpenVPN or the VPN connection, use the Control+C key combination or close the terminal