1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-12-23 04:54:43 +01:00
bird-lg/lgproxy.cfg.example

29 lines
844 B
Plaintext
Raw Normal View History

# Configuration file example for lgproxy.py
# Adapt and copy to lgproxy.cfg
2012-01-26 16:18:58 +01:00
2012-10-16 07:59:47 +02:00
DEBUG=False
2020-06-15 13:27:26 +02:00
LOG_FILE="/var/log/lg-proxy/lg-proxy.log"
2012-10-16 07:59:47 +02:00
LOG_LEVEL="WARNING"
# Keep log history indefinitely by default.
LOG_NUM_DAYS=0
2020-06-15 13:27:26 +02:00
BIND_IP = "0.0.0.0"
BIND_PORT = 5000
2020-06-15 13:27:26 +02:00
# Used to restrict access to lgproxy based on source IP address.
# Empty list = any IP is allowed to run queries.
ACCESS_LIST = ["91.224.149.206", "178.33.111.110", "2a01:6600:8081:ce00::1"]
2020-06-15 13:27:26 +02:00
# Used to restrict access to lgproxy based on a shared secret (must also be configured in lg.cfg)
# Empty string or unset = no shared secret is required to run queries.
2020-06-15 13:27:26 +02:00
SHARED_SECRET="ThisTokenIsNotSecret"
# Used as source address when running traceroute (optional)
IPV4_SOURCE="198.51.100.42"
IPV6_SOURCE="2001:db8:42::1"
2020-06-15 13:27:26 +02:00
BIRD_SOCKET="/var/run/bird/bird.ctl"
BIRD6_SOCKET="/var/run/bird/bird6.ctl"