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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for nmrbox_iptables-2.2.2.tar.gz
Algorithm Hash digest
SHA256 121b72ab88ed64a97f2b6b5e748641ae4f4198e14c93845774d05573cefff3ed
MD5 5df3c5b29f538cdd89543b4c9823f9d1
BLAKE2b-256 fa828ece77dfdddd00894aeea6026a608a7980f0759bc2b837da34c022eda25b

See more details on using hashes here.

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

Hashes for nmrbox_iptables-2.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b467e49c3c06d4d40f15133614f89c11fd634b29e7f7d4c4392dca706351133b
MD5 ddb4f689e99691b573c5374c9b63984f
BLAKE2b-256 6056fb66bd96c69082a5ab8ab25634c37bed94ac9ca73a27934c8b231895fadf

See more details on using hashes here.

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