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.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for nmrbox_iptables-2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25aee1a6e7949d0626fa16b25530ff9b71c2d231b40bcc8cebb06ca440f5baec |
|
MD5 | 9f3dc720b7c83686b199d2a79f5a1d14 |
|
BLAKE2b-256 | b563989fc59c44d35d4fd5520fdbd4d5f1f190b740949994b7f2e44cfce1b03c |