IPsec Linux Remote Access Problem

Started by hsing, March 20, 2023, 10:17:46 AM

Previous topic - Next topic
IPsec Linux Remote Access Problem

I follow the steps IPsec: Setup OPNsense for IKEv2 EAP-MSCHAPv2 (https://docs.opnsense.org/manual/how-tos/ipsec-rw-srv-mschapv2.html#id1), and setting well.
I testing with IPsec: Setup Windows Remote Access (https://docs.opnsense.org/manual/how-tos/ipsec-rw-w7.html), it's work.
But, when I testing IPsec: Setup Linux Remote Access (https://docs.opnsense.org/manual/how-tos/ipsec-rw-linux.html), can't work.
Can someone help me this problem?

Versions : OPNsense 23.1.3, Win 10, Ubuntu 20.04

Hello everyone,

I have partially solved the problem mentioned above, and now I can connect to OPNsense IPsec using IPsec/IKEv2 (strongSwan) from Ubuntu 20.04 LTS. However, I have another question about whether OPNsense IPsec strongSwan VPN supports multiple connections. For example, I have set up two IPsec/IKEv2 (strongSwan) files on my Ubuntu (20.04 LTS), but in practice, only one connection can be successfully established. I cannot achieve more than two connections (using different Pre-Shared Keys users). However, the same situation can be achieved on Windows 10.

I would like to ask what the problem might be. Additionally, I have installed the following plugins on my Ubuntu (20.04 LTS):
• apt install network-manager-strongswan
• apt install strongswan
• apt install libcharon-extra-plugins
• apt install strongswan-pki
• apt install strongswan-swanctl
• apt install libcharon-extauth-plugins
• apt install libtss2-tcti-tabrmd0

Please help me again, thank you.

Best regards,
Hsing