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

    How to stop and start ipsec strongswan service from command line in pfsense 2.2

    IPsec
    2
    2
    2.4k
    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.
    • J
      j-hmw
      last edited by

      How can I stop and start the Strongswan service from the command line? I'd like to schedule it to reset every night after wan pppoe renegotiate. As it seems to fix a problem where after wan(pppoe) renegotiate the ipsec tunnels are down.

      I know I should look for a solution in stead of a workaround but there's some reasons I don't. I can elaborate on them if you wish.

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        If you apply this patch then

        
        /usr/local/sbin/pfSsh.php playback restartipsec
        
        

        should work.

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