mirror of
https://github.com/andsyrovatko/s4k-ip-manager.git
synced 2026-04-21 22:18:53 +02:00
23 lines
639 B
Plaintext
23 lines
639 B
Plaintext
# ip_manager.conf - Configuration for IPSET Management Script
|
|
|
|
# --- IPSET Sets ---
|
|
# Set for active customers with Internet access
|
|
ALLOW_SET="allowed_customers_nets"
|
|
# Set for customers redirected to the captive portal (no payment)
|
|
RESTRICT_SET="restricted_customers_nets"
|
|
|
|
# --- Paths & Binaries ---
|
|
LOG_DIR="/var/log/ip-manager"
|
|
LOG_FILE="${LOG_DIR}/ip-manager.log"
|
|
IPSET_SAVE_FILE="/etc/iptables/ipsets"
|
|
LOCK_FILE="/tmp/ip-manager.lock"
|
|
|
|
# --- Notifications ---
|
|
# Email to receive lock timeout warnings
|
|
MAIL_RECEIVER="support@your-isp.net"
|
|
|
|
# --- Safety Settings ---
|
|
LOCK_TIMEOUT=300
|
|
# Set to 0 for production, 1 for testing
|
|
DRY_RUN=1
|