A CLI for managing pfSense configurations
Reason this release was yanked:
Didn't specify all dependencies correctly
Project description
PfCLI
:warning: This is a work in progress, only a few features are implemented, and none of them are under automated testing
Allows you to access PfSense machines through CLI, which should make headless management easier. The application uses the XML-RPC interface provided natively by PfSense.
Requirements
- Python >= 3.12 - older versions might work, but are not supported
Installation
pipx install pfcli
Examples
List all domain overrides
pfcli unbound list-host-overrides --output json
Example output:
[
{
"domain": "yourdomain.tld",
"host": "yourhost",
"ip": "x.x.x.x",
"aliases": [
{
"host": "youraliashost",
"domain": "somedomain.tld",
"description": "your host override alias description"
}
],
"description": "your host override description"
}
]
Print version information
pfcli firmware version --output text
Example output:
config:
version: 23.3
kernel:
version: 14.0
platform: Netgate pfSense Plus
version: 23.09-RELEASE
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
Code of Conduct
Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
License
MPL-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pfcli-0.1.0.tar.gz
.
File metadata
- Download URL: pfcli-0.1.0.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a00448056558bb30d8793fa9c0a4f4a3aeb498151e1d320e6acd9af57fe4fe32 |
|
MD5 | e37b737834bd446eb464dcff36cb10be |
|
BLAKE2b-256 | 53a5deae86d043d098157f3eae59b6859f929bc480cba1881c91e6cfd4e56c58 |
File details
Details for the file pfcli-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pfcli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b710b2312f5a0323d2d2d42b3124b01eb7b331331f7fc7c5c40fecde9f9aaa3f |
|
MD5 | 582f32a7bec9e5237370ab362b142109 |
|
BLAKE2b-256 | 8c31cb175876b449dd2926be8d7d85338c66c70d219caed627d2352d093c9b03 |