mirror of
https://github.com/andsyrovatko/s4k-ip-manager.git
synced 2026-12-01 03:04:29 +01:00
Initial release: Billing infrastructure automation (IP manager).
This commit is contained in:
commit
897d5a0d36
5 files changed
+511
No files matched your search
@@ -0,0 +1,22 @@
|
||||
# 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
|
||||
Reference in new issue
Block a user