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

    Ipsec died and ping_hosts.sh

    Scheduled Pinned Locked Moved IPsec
    1 Posts 1 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.
    • A
      Arthur
      last edited by

      i have two pfsense and an ipsec tunnel between eachother.
      sometime ipsec dead ! it loooks like alive and it's green in "status/ipsec" but i can"t ping throw !
      if i restart raccon service then all is ok.

      So i would like to make a cron job to restart automaticly raccon service if the ipsec tunnel is dead.

      How i can make this ? is there somebody  alerady do this ?

      i have found the /etc/ping_host.sh script that talk about a mysterious field4 (script to run when service is down), but how can i use it ?
      if i had something in /var/db/ipsecpinghosts then it's reset when i change my ipsec settings via the web interface.

      thanks for any help

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