Hi,
I am trying to create a l2tp over ipsec vpn for remote users to connect to router using pc running windows 10 but I am unable to establish vpn from last 20 days.
I can see IKE sa and ipsec sa phase completed but vpn getting disconnected after these events in less than 20 seconds and when I am debugging nothing much in ike and ipsec but on ppp chap debug I am getting the below message.
I am using local authentication to test if I do without ipsec it only works on windows xp and vpn get connected.
I am unable to understand what mistake I am doing and why its keep failing?
my aaa config as below:
aaa
authentication-scheme default
authentication-scheme l2tp
authorization-scheme default
authorization-scheme l2tp
accounting-scheme default
domain default
domain default_admin
domain l2tp
authorization-scheme l2tp
local-user root password cipher XXXXXX
local-user root privilege level 15
local-user root ftp-directory flash:
local-user root service-type ssh
local-user admin password cipher XXXXXX
local-user admin service-type telnet http
local-user test1 password cipher XXXXXX
local-user test1 privilege level 15
local-user test1 service-type ppp
local-user testhttp password cipher XXXXXX
local-user testhttp privilege level 15
local-user testhttp service-type http
local-user vodafone password cipher XXXXXX
local-user vodafone privilege level 2
local-user vpdnuser password cipher XXXXXX
local-user vpdnuser privilege level 0
local-user vpdnuser service-type ppp
<LNS>terminal debugging
Aug 12 2019 12:14:06.199.1+00:00 LNS PPP/7/debug2:
PPP State Change:
Virtual-Template1:0 CHAP : SendChallenge --> WaitAAA
<LNS>terminal debugging
Aug 12 2019 12:14:06.199.2+00:00 LNS PPP/7/debug2:
PPP Event:
Virtual-Template1:0 CHAP AAA Result Event
state WaitAAA
<LNS>terminal debugging
Aug 12 2019 12:14:06.199.3+00:00 LNS PPP/7/debug2:
PPP State Change:
Virtual-Template1:0 CHAP : WaitAAA --> ServerFailed
<LNS>terminal debugging
Aug 12 2019 12:14:06.199.4+00:00 LNS PPP/7/debug2:
PPP Packet:
Virtual-Template1:0 Output CHAP(c223) Pkt, Len 33
State ServerFailed, code FAILURE(04), id 1, len 29
Message: Illegal User or password.
<LNS>terminal debugging
Aug 12 2019 12:14:06.199.5+00:00 LNS PPP/7/debug2:
PPP Error:
Virtual-Template1:0 CHAP : Server auth failed No. 1 !
<LNS>terminal debugging
Aug 12 2019 12:14:06.199.6+00:00 LNS PPP/7/debug2:
PPP Event:
Virtual-Template1:0 LCP Close Event
state opened
<LNS>terminal debugging
Aug 12 2019 12:14:06.199.7+00:00 LNS PPP/7/debug2:
PPP State Change:
Virtual-Template1:0 LCP : opened --> closing
<LNS>terminal debugging
Aug 12 2019 12:14:06.199.8+00:00 LNS PPP/7/debug2:
PPP Packet:
Virtual-Template1:0 Output LCP(c021) Pkt, Len 8
State closing, code TermReq(05), id 4, len 4
<LNS>terminal debugging
Aug 12 2019 12:14:06.379.1+00:00 LNS PPP/7/debug2:
PPP Packet:
Virtual-Template1:0 Input LCP(c021) Pkt, Len 8
State closing, code TermReq(05), id 3, len 4
<LNS>terminal debugging
Aug 12 2019 12:14:06.379.2+00:00 LNS PPP/7/debug2:
PPP Event:
Virtual-Template1:0 LCP RTR(Receive Terminate Request) Event
state closing
<LNS>terminal debugging
Info: Current terminal debugging is on.
<LNS>
Aug 12 2019 12:14:06.379.3+00:00 LNS PPP/7/debug2:
PPP Packet:
Virtual-Template1:0 Output LCP(c021) Pkt, Len 8
State closing, code TermAck(06), id 3, len 4
<LNS>
<LNS>
Aug 12 2019 12:14:06.379.4+00:00 LNS PPP/7/debug2:
PPP Packet:
Virtual-Template1:0 Input LCP(c021) Pkt, Len 8
State closing, code TermAck(06), id 4, len 4
<LNS>
Aug 12 2019 12:14:06.379.5+00:00 LNS PPP/7/debug2:
PPP Event:
Virtual-Template1:0 LCP RTA(Receive Terminate Ack) Event
state closing
<LNS>
<LNS>
Aug 12 2019 12:14:06.379.6+00:00 LNS PPP/7/debug2:
PPP State Change:
Virtual-Template1:0 LCP : closing --> closed
<LNS>
<LNS>
Aug 12 2019 12:14:06.379.7+00:00 LNS PPP/7/debug2:
PPP Event:
Virtual-Template1:0 LCP Lower Down Event
state closed
<LNS>
Aug 12 2019 12:14:06.379.8+00:00 LNS PPP/7/debug2:
PPP State Change:
Virtual-Template1:0 LCP : closed --> initial