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 hashes)
Built Distribution
Close
Hashes for nmrbox_iptables-2.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b467e49c3c06d4d40f15133614f89c11fd634b29e7f7d4c4392dca706351133b |
|
MD5 | ddb4f689e99691b573c5374c9b63984f |
|
BLAKE2b-256 | 6056fb66bd96c69082a5ab8ab25634c37bed94ac9ca73a27934c8b231895fadf |