I need help please.
I have a problem with a vpn connection (l2tp/ipsec) to a l2tp/ipsec server (CyberGhost VPN).
As long as traffic flows within half an hour, the connection is not disconnected.
If there is no traffic, the connection is disconnected and re-established exactly every half hour.
Keepalive timeout in the interface (PPP L2TP Client) it does not work. i have testet.
With PPTP-Protocol it work and it gives no disconnections.
A script that sends a ping every 20 or 25 minutes to an ip on the internet via the L2TP / IPsec interface.
But only if the interface is enabled.
Unfortunately, I don't have much experience script language.
Can someone send me a script please?
Thank you in advance for your response