VpnSec MacOS X strongSwan App
Borrowed from https://caedm.et.byu.edu/wiki/index.php5/VPN_Instructions_for_Mac_OS_X
Setup the IKEv2 VPN on Mac OS X
NOTE: The following instructions are based on OS X 10.9 (Mavericks) and 10.10 (Yosemite). Other versions of OS X may vary.
- Download the strongSwan client zip file from http://download.strongswan.org/osx/
- Double click the strongswan-xxx.app.zip file you just downloaded. This will extract the archive in the current folder.
- Drag the strongSwan application to your Applications folder
- Double click the strongSwan application
- Confirm that you want to open an application downloaded from the Internet by clicking Open
- NOTE: You will now have a light-gray swan icon in your menu bar. This will be the only indication strongSwan is running.
- Click on the light-gray strongSwan icon in the menu bar, and click Add Connection...
- In the Connection name field, enter
VpnSec
- In the Authentication selector, choose IKEv2 EAP
- In the Server address field, enter
vpnsec.science.ru.nl
- In the Username field, enter your science username
- Open up the System Preferences application
- Select Network
- Unlock the settings by clicking on the padlock icon on the left side
- In the Authenticate dialog, enter your password for your computer, and click Unlock
- In the Location field, select Edit Locations
- Click the + button, and in the new entry type
VpnSec Location
- Click Done. The Location field should now say VpnSec Location
- Click the Advanced... button at the bottom of the Network settings window
- Click the DNS tab
- Under the DNS Servers box, click the + button
- In the new entry, type
131.174.224.4
- Under the DNS Servers box, click the + button again
- In the new entry, type
131.174.16.133
- Click OK
- Click Apply at the bottom of the Network window
- Close the Network window by clicking on the red dot in the upper left corner
- Click the Apple icon in the menu bar
- Point to Location, and click Automatic
To connect to the IKEv2 VPN
- Start the strongSwan app from the Spotlight (if it isn't already running)
- Click on the light-gray strongSwan icon in the menu bar
- Point to VpnSec, and click on Connect
- In the Password required dialog that pops up, enter your science password, and click OK
- NOTE: When the light-gray strongSwan icon in the menu bar changes to black, you are connected to the VPN. But, you must change the Network Location, or you will be unable to connect to other computers.
- Click the Apple icon in the menu bar
- Point to Location, and click VpnSec Location
You are now connected to the IKEv2 VPN.
To disconnect from the IKEv2 VPN
- Click on the strongSwan icon in the menu bar
- Point to VpnSec, and click Disconnect
- NOTE: When the black strongSwan icon in the menu bar changes to light-gray, you are disconnect from the VPN. But you must change the Network Location back to Automatic, or you will be unable to connect to other computers.
- Click the Apple icon in the menu bar
- Point to Location, and click Automatic
You are now disconnected from the IKEv2 VPN