This project populates the Proxmox VE firewall ipset with GeoIP data to block or allow traffic based on geographic location.
Project description
GeoIPSet for Proxmox
This permits you to create ipset on proxmox cluster to block or allow traffic from specific countries.
Usage
geoipset-proxmox
Usage: geoipset-proxmox [OPTIONS] COMMAND [ARGS]...
GeoIPSet Proxmox CLI for managing GeoIP ipsets in Proxmox VE.
Options:
-c, --config PATH Path to the configuration file.
--help Show this message and exit.
Commands:
remove Remove IP sets for the specified country codes.
status Display the list of all countries' IP sets in the Proxmox cluster.
sync Add or update a new IP set for the specified country.
Configuration
Create a config.toml file in the root directory of the project with the following structure (example available in config.example.toml):
[proxmox]
host = "127.0.0.1:8006"
user = "root@pam"
pass = ""
verify_ssl = true
Installation
You can install the package using pip:
pip install geoipset-proxmox
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geoipset_proxmox-0.0.0.tar.gz.
File metadata
- Download URL: geoipset_proxmox-0.0.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
516637f8abe0b686f7520ad0b84e48290aa73c4c8a6dbe2a6113010248d8cca2
|
|
| MD5 |
11836aa722c21126f3f6b53aa7a489b8
|
|
| BLAKE2b-256 |
b0266ef1a0a9b112ec25324262eac4aa0a2e2d1b40298d1612a18d7dac11f34d
|
File details
Details for the file geoipset_proxmox-0.0.0-py3-none-any.whl.
File metadata
- Download URL: geoipset_proxmox-0.0.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
846db42d32dc358a320dfa49917e96133694febe42d12020ca4144579a0513dc
|
|
| MD5 |
9dfd1cb3ae0e9e522e325ed9dadf2abe
|
|
| BLAKE2b-256 |
7c8bfebd37aaedbeaa05c9c2a52ef62c4a76cc6bd62367db64632c644fe1562b
|