• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Promblem with connecting to IKEV2 vpn server from android devices

thecriser

Lurker
Hello
We are facing problem with connecting android devices to our VPN server.
Also iOS devices do not have any problems to connect.
Android devices trying to connect via StrongSwan official app from google play. And iOS from system settings.
VPN server based on StrongSwan+Charon
We tried to make a dump from vpn server and found the difference between successful and unsuccessful connections
- In success: server receives SPI key, and respond with Responder SPI key and connection successful
- In failure: server receives SPI key, but respond with empty Responder SPI key and connection failure with "INVALID_KE_PAYLOAD" error

Screenshot of success server response (connecting from iOS device):
https://i.stack.imgur.com/uXiq5.jpg

Screenshot of failure server response (connecting from Android device):
https://i.stack.imgur.com/6yUsz.jpg

Also dump files .pcap we also have for failure and success connections, if it will help to suggest solution
We do not know how to fix this, maybe you can help us with this problem, or say what we need to read?
 
Back
Top Bottom