Skip to main content

A CLI tool for managing WireGuard networks and IPTables by using GraphML

Project description

What is WGEasywall

WGEasywall is a CLI to manage Wireguard networks and IPTables rules using GraphML

How to Install and Configure WGEasywall

WGEasywall needs python version 3.8 or above. It can be installed using following command:

pip install wgeasywall

WGEasywall needs MongoDB database to start working. We should tell it how to access the database using following command:

wgeasywall config generate database --mongodb-address [MongoDB Address] --mongodb-user [USER] --mongodb-password [PASSWORD]

NOTE: WGEasywall access database using default port 27017 and it can not be changed

WGEasywall IPTables rule generator needs Rule as a Code Actions and Function manifest file. These manifest files should be imported to the WGEasywall. These manifest files are located in RaaCManifest folder. We can import these files using following commands:

# import general function
wgeasywall RaaC import-function --function-file General.yaml

# import DROP action
wgeasywall RaaC import-action --action-file DROP.yaml

# import ACCEPT action
wgeasywall RaaC import-action --action-file ACCEPT.yaml

# import LOG action
wgeasywall RaaC import-action --action-file LOG.yaml

NOTE: These manifest can be changed but they should be compatible with WGEasywall

Now wgeasywall is ready for managing WireGuard networks and IPTables rules.

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

wgeasywall-0.1.1.tar.gz (88.7 kB view details)

Uploaded Source

Built Distribution

wgeasywall-0.1.1-py3-none-any.whl (120.2 kB view details)

Uploaded Python 3

File details

Details for the file wgeasywall-0.1.1.tar.gz.

File metadata

  • Download URL: wgeasywall-0.1.1.tar.gz
  • Upload date:
  • Size: 88.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.4.72-microsoft-standard-WSL2

File hashes

Hashes for wgeasywall-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2eaecc71ffea66fc2a753cc181dbf62229308858f7a49a199fb92ff2d4fda588
MD5 c883ab75e410a2220544aa7dac29e2ba
BLAKE2b-256 b6a14a2c9e180babb813e93e5f0c123a855083088e7cb4c52d6c874b6f65f6b4

See more details on using hashes here.

File details

Details for the file wgeasywall-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: wgeasywall-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 120.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.4.72-microsoft-standard-WSL2

File hashes

Hashes for wgeasywall-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0bccb7391c3b0675841441869b9100876323d7b7ad0e04746562538624a2fffb
MD5 e98c1bbdc12123403ebc3937846b51b7
BLAKE2b-256 5efb966623c83b00e9df5722b465a6d6583292c4aff58f5e8a9d4c1d8563f007

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