Go to file
2024-07-31 12:58:34 +08:00
img feat: add script 2024-07-19 16:33:58 +08:00
install.sh feat: add ip cidr filter 2024-07-31 12:56:39 +08:00
LICENSE Initial commit 2024-07-19 16:32:08 +08:00
lxc-iptag feat: add ip cidr filter 2024-07-31 12:56:39 +08:00
lxc-iptag.service feat: add script 2024-07-19 16:33:58 +08:00
README.md docs: add cidrs configuration 2024-07-31 12:58:34 +08:00

lxc-iptag

lxc-iptag is a simple script to add ip tags to LXC containers.

Installation

curl -sL https://github.com/gitsang/lxc-iptag/raw/main/install.sh | sudo bash

Configure

CIDRs

Open /usr/local/bin/lxc-iptag and change the cidr_list

The default CIDRs are

cidr_list=(
    192.168.0.0/16
    100.64.0.0/10
    10.0.0.0/8
)