From 5d8d6ba9524da6fa995d4a05292b29df84923add Mon Sep 17 00:00:00 2001 From: sang Date: Wed, 31 Jul 2024 12:58:34 +0800 Subject: [PATCH] docs: add cidrs configuration --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 3d78282..4d5a486 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,19 @@ lxc-iptag is a simple script to add ip tags to LXC containers. ```sh 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 + +```sh +cidr_list=( + 192.168.0.0/16 + 100.64.0.0/10 + 10.0.0.0/8 +) +```