Utility for setting iptables
Project description
Utility for setting ip table rules
Usage
Package is undergoing development. There is a command line utility, addrule, which accepts a YAML file. See ./lib/python3.8/site-packages/example/multitest.yaml for an example.
from nmrbox_iptables import Manager
It is best used as a context manager.
addrule add <yaml file>
addrule remove <yaml file>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nmrbox_iptables-2.2.2.tar.gz
(5.4 kB
view details)
Built Distribution
File details
Details for the file nmrbox_iptables-2.2.2.tar.gz
.
File metadata
- Download URL: nmrbox_iptables-2.2.2.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/65.6.3 requests-toolbelt/0.8.0 tqdm/4.64.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 121b72ab88ed64a97f2b6b5e748641ae4f4198e14c93845774d05573cefff3ed |
|
MD5 | 5df3c5b29f538cdd89543b4c9823f9d1 |
|
BLAKE2b-256 | fa828ece77dfdddd00894aeea6026a608a7980f0759bc2b837da34c022eda25b |
File details
Details for the file nmrbox_iptables-2.2.2-py3-none-any.whl
.
File metadata
- Download URL: nmrbox_iptables-2.2.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/65.6.3 requests-toolbelt/0.8.0 tqdm/4.64.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b467e49c3c06d4d40f15133614f89c11fd634b29e7f7d4c4392dca706351133b |
|
MD5 | ddb4f689e99691b573c5374c9b63984f |
|
BLAKE2b-256 | 6056fb66bd96c69082a5ab8ab25634c37bed94ac9ca73a27934c8b231895fadf |