• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

OpenVPN on Android draining battery. Keep alive setting the way to go?

OpenVPN
3
3
1.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    creepwood
    last edited by Mar 18, 2018, 10:29 AM

    I've browsed through some information about the smartphone battery draining too quickly when using openVPN. From what I understand from these posts the Keep Alive setting need to be set so that it polls(?) less regular as the default setting? I've been looking through the settings in pfsense 2.4.2 and I can't find anything about it.

    Is this the way to go and how do I change it?

    I'm a beginner on pfsense but I'm leaving for vacation to a country that censors some of the sites I regularly visits and need a VPN tunnel to my home while I'm away.

    M 1 Reply Last reply Aug 22, 2020, 5:42 AM Reply Quote 0
    • T
      tohil
      last edited by Apr 25, 2018, 9:46 AM Apr 25, 2018, 9:40 AM

      Hi

      you can set advanced parameters in the config screen VPNOpen -> VPNServers -> Edit -> Custom options
      there you can add a line like:

      keepalive 60 300
      

      Ping every 60 seconds, restart after 300 seconds without a reply.

      regards tohil

      1 Reply Last reply Reply Quote 0
      • M
        martinjus Banned @creepwood
        last edited by Aug 22, 2020, 5:42 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.