Skip to content

thclxxx/strongswan-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to setup IPSec VPN via IKEV1

The script and config files will help you setup IPSec VPN via IKEV1, supporting two authentication methods:

  • XAuth and certificates
  • PSK (Preshared Key)

Note: only tested on Ubuntu 14.04, works for iOS 8 and OS X 10.10.

Setup on server

  1. Edit etc/ipsec.secrets, set your preshared key and add user.
  2. Run ./setup.sh <server name or ip>.

Take a look at the end of setup.sh for a few useful ipsec command.

Setup on client

It's much easier to setup client for PSK authentication, all you need on the client is the preshared key and user & password.

For XAuth and certificates, please refer to install certificates section in the reference.

Caveats for OS X Key Chain import:

  • Use the import menu item in Key Chain app, so you can choose where to import certificate
  • To set access control for the private key, you must first unlock the System key chain

References

About

strongSwan setup for iOS and OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%