Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
VPN battery drain: How to override pushed ping-restart settings?
Hello! I am fascinated by the Softether-VPN on my DigitalOcean droplet but there is one issue: Battery drain on mobile devices. The server pushes ping 3,ping-restart 10 which means every three seconds a ping is sent. On standard openvpn configurations it is ping 10, ping-restart 60.
Is there a way to change this? In the softether vpnserver configuration file there is just a keep alive setting that has no effect on this as I learned (It was set on 50 seconds, I changed it to 180). When I try to change the ping settings in the openvpn app on my Android device, it is overridden by the pushed settings.
With these ping settings, the vpn is hardly usable on a mobile device. I hope somebody out there knows how to deal with this issue. Thanks so much for your time!
PS: The battery drain occurs not only when using openvpn but also sstp on Android. In both cases the battery consumption is more than twice as high than with some (not all!) commercial vpn providers
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×