Feature #218
strongSwan with PSK and iPhone
Description
Dear Swans
I have found a blog that claims that strongSwan will work with iPhone using PreSharedKeys based on IPSEC only:
http://www.hosthop.com/hop/knowledgebase/21/StrongswanorOpenswan-Pure-IPSEC-Tunnel-Configuration-for-iPhone-and-Similar-Devices.html
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?
Kind regards
Ivo Neer
History
#1 Updated by Tobias Brunner about 13 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
authby=xauthpsk
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).
#2 Updated by ivo neer about 13 years ago
it works, thanks a lot!
#3 Updated by Tobias Brunner almost 13 years ago
- Category set to documentation
- Status changed from Feedback to Closed
- Resolution set to Invalid