Skip to main content

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)

Uploaded Source

Built Distribution

nmrbox_iptables-2.2.2-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page