Chapter 19: Command-Line Interface

This chapter will explore the shell command-line interface (CLI). We will explore some of the most relevant FreeBSD commands to manage the system, networking, and firewalling. We will also learn how to customize some parts of the system and use commands to improve information extraction from logs. At the end of this chapter, you will be capable of running commands on the OPNsense CLI for diagnostics and troubleshooting purposes. 

We will explore the following topics:

  • Directory structure
  • Managing the configd backend daemon
  • Useful system commands 
  • Advanced customization
  • Filtering log files 

Technical requirements

To follow this chapter, you need to have basic Unix-like shell and filesystem knowledge. A running ...

Get OPNsense Beginner to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.