VPN battery drain: How to override pushed ping-restart settings?

Posted July 2, 2016 4.7k views
UbuntuServer OptimizationConfiguration ManagementVPN

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.

Submit an Answer
1 answer

It doesn’t look like Softether has the ability to modify the ping time - here
It might be a good idea to look into an alternate VPN client, or perhaps send them user feedback or a feature request.

edited by ryanpq
  • Thanks for your reply. I’ve been looking into some other solutions like Streisand and Openvpn access server and the most recent vpn project that was posted a few days ago.