Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

FireBrick Road Warrior OSX: Difference between revisions

m
no edit summary
mNo edit summary
(6 intermediate revisions by the same user not shown)
 
 
It is possible to connect an modern Apple Mac with OSX to a FireBrick over IPSEC with IKEv2 and EAP.
It is possible to connect an Apple Mac with OSX to a FireBrick over IPSEC with IKEv2 and EAP. Regrettably the IPSEC facilities within OSX before version 'El Capitan' are not fully enough featured to achieve this alone, so some additional VPN client software can be installed called StrongSwan. Details below describe how to install the CA certificate from the FireBrick to your Apple computer and then how to set up the VPN connection either by using El Capitan's built in VPN settings or by using StronSwan.
 
=OSX versions 10.11 El Capitan, and newer=
== Getting the CA from the FireBrick ==
*If you have El Capitan newer, then the built in VPN connection settings should just work.
*If you're not using Let's Encrypt then you will still need to install the Certificate as abovebelow.
*You can skip the StrongSwan parts below and just use the Network Settings to add a VPN IKEv2 connection.
 
===Create the VPN Connection===
[[File:Osx-firebrick-ipsec-config.png|thumb|Settings screen]]
 
#Go to Apple Menu - System Preferences
#Go to Network
#Click the + Icon on the bottom/left, and choose:
#*Interface: VPN
#*VPN Type: IKEv2
#*Service Name: e.g. 'FireBrick' or 'Office'
#On the next window fill in the information:
#*Server Address: Hostname or IP of your FireBrick. e.g.: server.example.com
#*Remote ID: The 'FQDN' of the Firebrick as created when you created the Certificate (Usually the full hostname of the FireBrick). e.g.: server.example.com
#*Local ID - leave empty
#In the Authentication Settings:
#*Username: your EAP Username as set on the FireBrick, e.g. fred
#*Password: your EAP Password as set on the FireBrick
#May as well tick 'Show VPN status in menu bar' as you'll then be able to connect etc. from the menu in your top bar
 
 
 
'''The details below are only useful of you have a very old mac or need to install the certificate if you're not using Lets Encrypt.'''
 
==Non-Lets Encrypt Certificates==
 
=== Getting the CA from the FireBrick ===
 
'''(This is not needed if you are using Let's Encrypt)'''
#At the right hand end of the row corresponding the certificate you wish to download, click on the PEM link.
 
=== Installing the CA certificate into OSX ===
'''(This is not needed if you are using Let's Encrypt)'''
 
</gallery>
 
=OSX versionsversion 10.11 El Capitan10,'Yosemite' and newerearlier (Legacy information)=
*If you have El Capitan newer, then the built in VPN connection settings should just work.
*If you're not using Let's Encrypt then you will still need to install the Certificate as above.
*You can skip the StrongSwan parts below and just use the Network Settings to add a VPN IKEv2 connection.
 
==Create the VPN Connection==
[[File:Osx-firebrick-ipsec-config.png|thumb|Settings screen]]
 
#Go to Apple Menu - System Preferences
#Go to Network
#Click the + Icon on the bottom/left, and choose:
#*Interface: VPN
#*VPN Type: IKEv2
#*Service Name: e.g. 'FireBrick' or 'Office'
#On the next window fill in the information:
#*Server Address: Hostname or IP of your FireBrick. e.g.: server.example.com
#*Remote ID: The 'FQDN' of the Firebrick as created when you created the Certificate (Usually the full hostname of the FireBrick). e.g.: server.example.com
#*Local ID - leave empty
#In the Authentication Settings:
#*Username: your EAP Username as set on the FireBrick, e.g. fred
#*Password: your EAP Password as set on the FireBrick
#May as well tick 'Show VPN status in menu bar' as you'll then be able to connect etc. from the menu in your top bar
 
=OSX version 10.10,'Yosemite' and earlier=
For versions 10.10 and earlier you'll need to use the StronSwan program. You will still need to install the CA certificate as above.
 
=== Downloading & installing the StrongSwan Native Client ===
 
'''Usually on OSX, you can simply use the built in VPN settings as above.'''
 
Visit [http://download.strongswan.org/osx/ the download site] and download the latest binary. At the time of writing the latest version was '''strongswan-5.3.2-1.app.zip'''. Allow the machine to unarchive it; usually by selecting the "Open with Archive Utility" option. This will deposit the StrongSwan.app into your downloads directory. Drag the app from the downloads directory into your Applications folder. This completes installation of the StrongSwan Client.
</gallery>
 
===Configure strongSwan===
Run strong swan by either:
#Go to Applications and click on the strongSwan icon
</gallery>
 
===Connect!===
#Click on the <del>Dalek</del> StrongSwan icon once more,
#Click your connection name then connect.
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,270

edits