Editing Files on the Firewall

Diagnostics > Edit File contains a file editor that allows editing and creating files on the filesystem of a device running pfSense® software.

Warning

Be careful when choosing a file to edit! It is very easy to render the firewall unusable by editing the wrong file or introducing errors into the source code.

Do not use this except under guidance of support or when there is sufficient knowledge to use it without causing unintended side effects.

Edit an Existing file

  • Enter the full path of the filename to edit in Save / Load from path or click Browse and locate the file

  • Click Load

  • Edit the text

  • Click Save to store the new content in the file

Create a new File

  • Enter the new path and filename in Save / Load from path

  • Enter the new contents of the file

  • Click Save to create the new file with the given content