2021-06-06 19:04:14 +02:00
|
|
|
# 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
|
|
|
|
2014-02-18 11:57:44 +01:00
|
|
|
LOG_FILE="/var/log/lg-proxy/lg-proxy.log"
|
2012-10-16 07:59:47 +02:00
|
|
|
LOG_LEVEL="WARNING"
|
2020-11-17 22:50:06 +01:00
|
|
|
# Keep log history indefinitely by default.
|
|
|
|
LOG_NUM_DAYS=0
|
2020-06-15 13:27:26 +02:00
|
|
|
|
2018-04-06 23:33:04 +02:00
|
|
|
BIND_IP = "0.0.0.0"
|
|
|
|
BIND_PORT = 5000
|
2020-06-15 13:27:26 +02:00
|
|
|
|
2020-06-15 22:54:01 +02:00
|
|
|
# Used to restrict access to lgproxy based on source IP address.
|
|
|
|
# Empty list = any IP is allowed to run queries.
|
2014-02-18 11:57:44 +01:00
|
|
|
ACCESS_LIST = ["91.224.149.206", "178.33.111.110", "2a01:6600:8081:ce00::1"]
|
2020-06-15 13:27:26 +02:00
|
|
|
|
2020-06-15 22:54:01 +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"
|
|
|
|
|
2021-06-06 19:04:14 +02:00
|
|
|
# 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
|
|
|
|
2015-09-08 11:46:07 +02:00
|
|
|
BIRD_SOCKET="/var/run/bird/bird.ctl"
|
|
|
|
BIRD6_SOCKET="/var/run/bird/bird6.ctl"
|
|
|
|
|