strongSwan без пароля на iOS [закрыто]

У меня следующая проблема: мне нужно аутентифицироваться в VPN с iOS без пароля, но только с сертификатом. Причина в том, что мне нужен «VPN по запросу», который активен только при проверке подлинности сертификата.

Я нашел этот учебник , но он использует аутентификацию сертификат + пароль. Но мне нужен только сертификат. Я пытался удалить аутентификацию xauth из конфигурации, но мне это не удалось.

2
задан 6 February 2013 в 15:20
2 ответа

VPN-клиент iPhone не допускает настройку без XAuth (по крайней мере, в графическом интерфейсе настройки). К счастью, это не имеет значения, если шлюз VPN просто завершит ожидаемый обмен XAuth, фактически не запрашивая учетные данные пользователя. Недавно я создал патч для strongSwan 5.0.2 , который добавляет плагин, позволяющий настроить этот тип «аутентификации» XAuth. Установив патч, вы можете настроить

leftauth=rsa
rightauth=rsa
rightauth2=xauth-noauth

в ipsec.conf для использования только аутентификации RSA.

Обновление: Плагин xauth-noauth был выпущен с strongSwan 5.0.3.

3
ответ дан 3 December 2019 в 10:08

This question has some insight into what you are asking. I think by default the VPN configurations that iPhones support require some type of user authentication or token in the case of L2TP and PPTP (RSA Secure ID). You for an IPsec connection which is described in the strongswan documentation you included in your link you can enter the correct password and username when the VPN configuration is set up on the device so that you will only have to enable or disable the VPN and the user shouldn't see any prompts for a password when they turn on VPN unless there is a problem with the VPN configuration. This apple support page has some general information and links to some other pages that describe setup for vpn on iOS. I added another thread too that implies it might be a configuration that you need to set on the server so that users can save their passwords on the device and on won't be prompted. This an email thread I came across in the archives for the strongswan list regarding issues with password prompting on iOS 5 on an iPhone 4 which could also be useful hope this helps some.

1
ответ дан 3 December 2019 в 10:08

Теги

Похожие вопросы