Navigation

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

    IPsec / keep alive

    IPsec
    2
    2
    1928
    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.
    • M
      Machine last edited by

      Hey fellow ppl with ipsec problems

      To make a long stori short I was building my own keepalive script, becuas I didnt feel the builtin script was doing it for me. As it turned out i learned why :)

      I found that the cron job was pointing on ”/etc/ping_hosts.sh”(this one does not exist on my pfsense) and the file was in ”/usr/local/bin/ping_hosts.sh ”.
      Im running  a PFsense 1.2.3 VMware image from pfsense.org , havent checked if the problem is the same in other versions.

      Best regards

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        That /usr/local/bin/ping_hosts.sh is run a different way.

        In /etc/rc:

        minicron 240 /var/run/ping_hosts.pid /usr/local/bin/ping_hosts.sh
        

        It's probably already running if you check the output of "ps uxawww | grep minicron"

        The actual cron job is redundant though, I'm not sure it's needed/relevant these days.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post