Yesterday I bought a vds in Germany, launched strongswan there, configured ipsec.conf / ipsec.secret
conn %default
keyexchange=ikev2
ike=aes256-sha256-modp2048
esp=aes256-sha256
rekey=yes
keyingtries=1
authby=psk
conn myvpn
left=%defaultroute
leftid=@server
leftsubnet=0.0.0.0/0
right=%any
rightdns=1.1.1.1
rightsourceip=10.10.10.0/24
auto=add
In ipsec.secret, I configured the PSK for @server, then restarted strongswan-starter, everything works, the ports are all open, there is no firewall.
On Linux, monjaro installed strongswan networkmanager-strongswan on his computer, restarted the services, started them, created a configuration for the vpn, I try to connect, specify the PSK and the inscription “vpn connection 1 failed because the vpn service failed to start” pops up in the upper right corner
I tried to give ipsec chmod 600 files, it doesn’t help, I restarted services, rebooted the PC, even turned off apparmor, this error is still there, someone may have encountered this?