[Swan] VPN server on Debian 10 using L2TP with IPSEC PSK not working
Mirsad Goran Todorovac
mirsad.todorovac at alu.hr
Mon Nov 22 22:02:26 EET 2021
Dear Mr. Wouters,
Your modification works! It was my error, I made a wrong change for
left=127.0.0.1 in place of left=%defaultroute
Now it works.
I have seen that IKEv2 works both in Windows 7 and on my Galaxy Android,
so I will set up that too, now that you have encouraged me with this
Thank you very much for your time!
On 11/22/2021 6:51 PM, Paul Wouters wrote:
> On Mon, 22 Nov 2021, Mirsad Goran Todorovac wrote:
>> I have made the suggested correction, and now the error message is
>> The new error log is available at
>> What strikes at first is the line:
>> Nov 22 18:06:09.628375: packet from 220.127.116.11:500: initial Main
>> Mode message received on 18.104.22.168:500 but no connection has been
>> authorized with policy PSK+IKEV1_ALLOW
> Did you not confiure PSK (authby=secret) on the server ?
>> I will try IKEv2, but does it connect from both Windows 10 and
>> Android just like this old setup?
> Old Android's need the strongswan app to use IKEv2. The latest android
> should have support for IKEv2 natively.
More information about the Swan