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

    php shell commands not working - openvpn id needed

    Scheduled Pinned Locked Moved Development
    3 Posts 2 Posters 752 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.
    • Cloudless Smart HomeC
      Cloudless Smart Home
      last edited by Cloudless Smart Home

      trying to learn to use the php shell. how do I find the id of things like rules or in this case the openvpn id?

      Netgate pfSense Plus shell: playback svc stop openvpn server 0
      
      Playback of file svc started.
      
      No OpenVPN client or server found with that ID.
      Netgate pfSense Plus shell: 
      
      

      Screenshot 2023-01-31 at 8.14.49 PM.png

      H 1 Reply Last reply Reply Quote 0
      • H
        heper @Cloudless Smart Home
        last edited by

        @appleguy

        less /conf/config.xml | grep -B 1 -A 8 vpnid

        Cloudless Smart HomeC 1 Reply Last reply Reply Quote 1
        • Cloudless Smart HomeC
          Cloudless Smart Home @heper
          last edited by

          @heper nice!

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