strongSwan with PSK and iPhone
I have found a blog that claims that strongSwan will work with iPhone using PreSharedKeys based on IPSEC only:
Unfortunately, I've been to stupid to get this working with strongSwan 5.x on Ubuntu.
Could you please confirm or negate if PSK and iPhone could work?
In your wiki you describe a certificate-based iOS sample, could you please add a PSK-Sample aswell?
#1 Updated by Tobias Brunner over 9 years ago
- Status changed from New to Feedback
- Assignee set to Tobias Brunner
Try to start with the config given on our wiki. To use it with a PSK instead of certificates use
and remove the
left|rightcert arguments. Then configure the PSK in ipsec.secrets like so
: PSK "yourpsk"
On the iPhone, instead of selecting Use Certificate, just type in the PSK in the Shared Secret field (the Group Name field stays empty).