Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Command line Interface

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 4 Posters 3.0k 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.
    • ?
      Guest
      last edited by

      Hi all
      Is there a timeline for adding CLI to pfsense?
      Will there be a command line interface for pfsense 2.1?
      for example , to create  ipsec vpn :

      set vpn ipsec shared Key ...
      

      if no, what is the best way to add command line interface with some standard commands? is there any software package for this purpose?

      1 Reply Last reply
      Reply Quote 0
      • C
        cmb
        last edited by

        No plans to ever create a CLI. Manually editing XML or tying into our PHP would be the way to do that programmatically.

        1 Reply Last reply
        Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          You can do quite a lot via the PHP shell.
          Of course you can also really break things.  ;)

          Steve

          1 Reply Last reply
          Reply Quote 0
          • P
            podilarius
            last edited by

            a CLI that had predetermined php shell commands would be nice. Kinda old school, but would be handy in a pinch.

            1 Reply Last reply
            Reply Quote 0
            • ?
              Guest
              last edited by

              Thank you stephenw10
              PHP shell is very powerfull!

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy