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

    Auto-Restart IPSEC pfsense 2.2

    Scheduled Pinned Locked Moved IPsec
    2 Posts 1 Posters 1.2k 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.
    • G
      graffix49519
      last edited by

      Hello, since upgrading to 2.2 I have a problem with my ipsec going down periodically. Generally every 5-8 hours. I found a post here:

      https://forum.pfsense.org/index.php?topic=42090.0

      But that script gives me an error:

      Fatal error: Call to undefined function vpn_ipsec_refresh_policies() in /usr/local/www/checkIpsec.php on line 30

      I have created the script in /usr/local/www and given it execute permissions. Has the vpn_ipsec_refresh_policies function been deprecated in 2.2? Any ideas how I can get this working. What I need to do is:

      1. Ping IP address on remote subnet
      2. If IP is not reachable, restart IPSEC properly.

      Thanks for your time.

      1 Reply Last reply Reply Quote 0
      • G
        graffix49519
        last edited by

        It's also worth mentioning that when I reboot my router, ipsec shows connected, but I am unable to use reach any of the remote subnets. Only after manually stopping then starting the connection through the web ui am I able to use the tunnel. I read in the forums that it may be related to having multiple phase 2 entries, but I am unsure as to how I can reach multiple subnets without multiple phase 2 entries. Any suggestions would be appreciated.

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