IKEv2 with PSK not working on Android
Hi everyone,
I'm trying to set up IKEv2 with PSK on a USG Flex 100 by following that article (https://support.zyxel.eu/hc/en-us/articles/8805317185298-IKEv2-VPN-with-Pre-Shared-key-on-Mobile-Devices-Instead-of-L2TP#h_01HB6CZ468E23YEB63SRPPFRS8) but it's not working.
Here is the log
What could be wrong ? I don't see any error in the log.
Thanks.
Seb
Accepted Solution
-
For phase 2 change Local policy to 0.0.0.0
1
All Replies
-
Is this by IP or DNS?
Have you tried changing the key group?
looks like Phase 1 is not done
0 -
Hi PeterUK,
It's by IP
Key groups are DH2 and DH14 as specified in the article (not tried the others)
Ciphers are AES256/SHA256
Yes it seems phase 1 do not terminate
I noticed a [CERTREQ] at line 11 in the log, would it mean that it requests a certificate ? 🤷♂️
0 -
Ok so I'm going to the right direction, phase1 is now OK but phase 2 fails.
Phase 1 has been solved by changing the IPSec identifier in the client app on Android : I replaced 0.0.0.0 by then WAN IP (192.168.1.99 in my case behing a NAT) and it works.
Here is the complete log now
I receive a correct IP (192.168.70.2), the Dynamic Tunnel is built successfully but the microsecond after, IKE SA is disconnected. I tried multiple policies without success. I don't know what else to do.
Regards,
Seb
0 -
For phase 2 change Local policy to 0.0.0.0
1 -
Oh man thank you so much it was as simple as that ! 👍👍👍
Do you know why I had to change this parameter from the subnet to 0.0.0.0 ?
Seb
0 -
Think it to do with the WAN IP interface is on but by setting it to 0.0.0.0 it can be from any interface
0 -
Ok I will keep this in mind next time ! Thanks again !
Regards,
Seb
0
Categories
- All Categories
- 415 Beta Program
- 2.5K Nebula
- 152 Nebula Ideas
- 101 Nebula Status and Incidents
- 5.8K Security
- 296 USG FLEX H Series
- 281 Security Ideas
- 1.5K Switch
- 77 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.5K Consumer Product
- 254 Service & License
- 396 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 87 About Community
- 76 Security Highlight