HOWTO execute commands via exec.php

From PFSenseDocs

Jump to: navigation, search
This article is part of the HOWTO series.

Summary

This article explains how you can run commands directly from the pfSense WebGUI. Note that this functionality is not officially supported, use at your own risk!.

Description

  • Log in to the WebGUI, and click on Diagnostics -> Command.
  • You will see a multitude of options, one of which is Execute Command Shell. This will run whatever command you type in the text field, and display the output back to you.
    • Image:Execute command via exec_php.jpg
  • The output should look something like this:
    • Image:exec.php command output.jpg
Personal tools