Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still problems with reconnecting / clean close old session in case of WAN-Interface up/down with some routers #163

Open
Himan2001 opened this issue May 2, 2022 · 0 comments

Comments

@Himan2001
Copy link

Himan2001 commented May 2, 2022

There is still the issue, that on many routers after the WAN reconnect/disconnect/go online/offline the session for this MLVPN-WAN-Interface behind a NATed Router comes never up again:

With AVM Fritzboxes ist works, but not with OpenWRT, Tomato or any Type of Telekom LTE-Routers, or mainly all
Huawei devices for LTE...

When The LTE Network resets/restarts, the session belongs to always down. With a /etc/init.d/mlvpn restart the missing session instead comes asap again up.

Looks like, there is a cleaner previous session clossing nessassary when a link is considered offline, so a new NAT-compatible session can be re-established without cold restarting the mlvpn client daemon.

I asume this has todo by reusing a still open Session on a specific Port to the Router, without clean close/clean/restart on the fly to make it work with any Router not just a few AVM Fritzboxes ?

Actualy there is a cron job needed to parse for an "!lteblableh" and then RESTART the entire daemon - but this interrupts the actualy running sessions. In case the LTE link comes not asap up, this ends in a continous 60 seconds cold restart until the LTE link is up again, which is a terrible quickfix and is not very reliable for production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant