Add 172.16.0.0/12 plus documentation

This commit is contained in:
Jon Spriggs 2025-04-08 23:41:45 +01:00 committed by Sang
parent 0910b4b345
commit 48bc835395
3 changed files with 13 additions and 3 deletions

View File

@ -32,7 +32,7 @@ Open `/usr/local/etc/lxc-iptag.conf` and change the config
| Option | Example | Description |
| ------------------------------- | ------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| CIDR_LIST | `(192.168.0.0/16 100.64.0.0/10 10.0.0.0/8)` | IP filter list in CIDR format |
| CIDR_LIST | `(192.168.0.0/16 172.16.0.0/12 10.0.0.0/8)` | IP filter list in CIDR format |
| LOOP_INTERVAL | `60` | Main loop interval(seconds) |
| FW_NET_INTERFACE_CHECK_INTERVAL | `60` | The interval(seconds) for using `ip link` to check lxc status changed (Set -1 to disable this feature) |
| LXC_STATUS_CHECK_INTERVAL | `-1` | The interval(seconds) for using `pct list` to check lxc status changed (Set -1 to disable this feature) |

View File

@ -2,10 +2,15 @@
# =============== CONFIGURATION =============== #
# The first three are RFC1918 addresses which should be used inside your local network.
# The last one is the RFC6598 address pool (CGNAT) used for ISPs to allocate to networks
# without allocating all the routers public IP addresses. It has also been used by a lot
# of VPN services for their internal addressing (e.g. Tailscale, Netbird).
CIDR_LIST=(
192.168.0.0/16
100.64.0.0/10
172.16.0.0/12
10.0.0.0/8
100.64.0.0/10
)
LOOP_INTERVAL=60
FW_NET_INTERFACE_CHECK_INTERVAL=60

View File

@ -1,7 +1,12 @@
# The first three are RFC1918 addresses which should be used inside your local network.
# The last one is the RFC6598 address pool (CGNAT) used for ISPs to allocate to networks
# without allocating all the routers public IP addresses. It has also been used by a lot
# of VPN services for their internal addressing (e.g. Tailscale, Netbird).
CIDR_LIST=(
192.168.0.0/16
100.64.0.0/10
172.16.0.0/12
10.0.0.0/8
100.64.0.0/10
)
LOOP_INTERVAL=60
FW_NET_INTERFACE_CHECK_INTERVAL=60