opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.35k stars 751 forks source link

Enhance Command-Line Interface Management for Configuring Network Interfaces #7232

Closed dorbeus closed 3 months ago

dorbeus commented 9 months ago

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Enhance Command-Line Interface Management for Configuring Network Interfaces

Feature Summary

The current command-line interface (CLI) capabilities for configuring network interfaces in OPNsense are limited, particularly when it comes to modifying existing configurations without deleting and recreating them. This limitation becomes particularly cumbersome in scenarios where the management interface is lost or misconfigured, and there is a need to adjust its configuration to regain access to the web UI.

Problem Statement

In the current version of OPNsense, if a user needs to modify the configuration of an interface (e.g., change IP address, VLAN configuration, etc.), the only option through the console is to delete the existing configuration and start over. This approach is not only time-consuming but also prone to errors, especially in critical situations where quick recovery of the management interface is essential for system administration tasks.

Proposed Solution

I propose the development and integration of an enhanced CLI tool or extension of the existing CLI capabilities to allow for the modification of network interface configurations without the need to delete and recreate the interface settings. This tool should support:

The tool should be intuitive to use, with clear syntax and help documentation, enabling administrators to quickly make changes to interface configurations, especially in emergency situations where access to the web UI is not available.

OPNsense-bot commented 3 months ago

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.