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

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

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 3 Posters 1.4k Views
    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

      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 Reply Quote 0
      • T
        tohil
        last edited by

        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

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