Community discussions

MikroTik App
 
neck
just joined
Topic Author
Posts: 5
Joined: Wed Feb 14, 2018 9:43 am
Location: Mongolia - AulanBator
Contact:

on two different routers the MPPE128 stateless l2tp connection works fine or doesn't work

Mon Feb 17, 2025 10:54 am

I see an error in l2tp and I can't figure it out.

no connection, error
<l2tp-test>: terminating... - Encryption negotiation rejected

client:
/ppp profile add name=profile_test use-compression=yes use-encryption=yes
/ppp secret add name=test password=test1 profile=profile_test
/interface l2tp-client add allow=mschap2 connect-to=192.168.2.43 name=l2tp-out1 profile=profile_test user=test

server:

/ppp profile add change-tcp-mss=yes name=test_pr use-encryption=required
/interface l2tp-server server set authentication=mschap2 default-profile=test_pr enabled=yes
/ppp secret add name=test password=test1 profile=test_pr


Logics:
Three types of connection should be available
1. without encryption.

/ppp profile
add change-tcp-mss=yes name=test_pr use-encryption=no
(works)

2. With MPPE128 stateless encryption.
/ppp profile
add change-tcp-mss=yes name=test_pr use-encryption=required
(doesn't work
<l2tp-test>: terminating... - Encryption negotiation rejected)

3. with ipsec encryption
no need (works)

on two different routers the MPPE128 stateless l2tp connection works fine or doesn't work negotiation error,
with the same parameters?!
How to make routers and MPPE128 l2tp encryption work