L2TP VPN Disconnects after 3-7 minutes terminating -hungup

Hi, my routerOS is 7.1.1. I use L2TP VPN and it randomly disconnects.
I have attached a photo from the logs.
if you guys need additional information please let me know
sorry if I choose wrong category.
obraz_2022-01-31_104407.png

Any chance there is a limit in the profile of the L2TP server ?
If that’s not the case, then you should create a new log entry, with topics l2tp and debug so that we can see more specifically what is happening…

Hi, How do i create new log and debug?

/system logging
add disabled=yes prefix=---->l2TP topics=l2tp,!packe

Okay done what now?

I disabled the rule cuz it may use resources if you want to use it first enable it then connect to your L2TP and after that collect your log and publish it. remove any public IP/sensitive data from the log

ik i am dumb how do i get thoose logs?

just like the screenshot you attached.

obraz_2022-01-31_223751.png

this is not it.
it should start with the —>L2TP

Sorry but that log is not after the new log entry…

what do you mean? you should try a new connection if I understand you correctly.

I only have that in logs ;p
obraz_2022-01-31_225354.png

Did you enable the new log?

Yes i did

2022-02-01_01-27-55.png

Why don’t you use debug on the Topic ?

obraz_2022-01-31_230949.png

2022-02-01_01-42-11.png
why the client didn’t get any IP
Can you export your config

Sure! just tell me how