First, download the VPN config file from the EMnify User Interface
1. Click on the "Integrations" menu
2. Scroll down to "secure connection" and download the configuration file
Additionally, you need to change the Internet Regional Breakout in the device policy:
- Click on "Device Policies" (1)
- Scroll down to "Service Policies" (2), select the policy assigned to the devices you want to secure and click on "Open" (3).
- On the "Internet Breakout Region" menu (4), Set the Service Policy to a VPN breakout region, e.g.,
eu-west-1 (VPN)
With OpenVPN
Install OpenVPN, this can be done from Homebrew (https://formulae.brew.sh/formula/openvpn) using
brew install openvpn |
Create the credentials file:
sudo touch /etc/openvpn/credentials.txt |
The `credentials.txt` file should contain OrgID and Application Token (preferred):
orgId |
or username and password:
username@domain.com YourPassword |
Connect with the following command, passing the configuration file to openvpn using the `--config` option:
sudo openvpn --config path/to/emnify-eu-west-1.conf |
With Tunnelblick
1. Setup
Drop the configuration file onto the Tunnelblick icon in the topbar. Alternatively, via the settings panel in
**VPN Details -> Configurations** and drop the configuration file onto the *Configurations* list. Tunnelblick will ask for a user password.
2. Create credentials
In /etc/openvpn directory, create the credentials file.
sudo touch /etc/openvpn/credentials.txt |
To connect to the regions VPN, you will need to enter the password of your mac.
Comments
0 comments
Please sign in to leave a comment.