get-ip-prefix/domain-routing.env.example
2026-07-03 16:21:48 +03:00

38 lines
1.3 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# Конфигурационный файл для domain-based routing
# Скопируйте этот файл в domain-routing.env и настройте под ваши нужды
# ============================================
# ПУТИ И ФАЙЛЫ
# ============================================
# Файл со списком доменов для маршрутизации (один домен на строку)
# Domains_FILE="/opt/domain-routing/domains.txt"
# Директория для конфигов dnsmasq
# DNSMASQ_CONF_DIR="/etc/dnsmasq.d"
# Файл резолва (для DNS)
# RESOLV_CONF="/etc/resolv.conf"
# ============================================
# IPSET И FIREWALL
# ============================================
# Имя ipset (до<D0B4><D0BE>жно быть уникальным)
# IPSET_NAME="domain_routing"
# Имя зоны firewalld
# FIREWALL_ZONE="domain_routing"
# ============================================
# ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ
# ============================================
# Дополнительные параметры ipset (hashsize, timeout и т.д.)
# IPSET_OPTIONS="hashsize 4096"
# Время жизни записей в ipset (в секундах, 0 = бесконечно)
# IPSET_TIMEOUT=0