1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-11-21 14:34:43 +01:00

Clarify documentation of shared secret and access list

This commit is contained in:
Baptiste Jonglez 2020-06-15 22:54:01 +02:00
parent 1d3eefa971
commit c84267edd8
2 changed files with 5 additions and 3 deletions

2
lg.cfg
View file

@ -5,7 +5,7 @@ LOG_LEVEL="WARNING"
DOMAIN = "tetaneutral.net"
# Used for restrict access on lgproxy - must be same in lgproxy.cfg
# Used to optionally restrict access to lgproxy based on a shared secret.
SHARED_SECRET="ThisTokenIsNotSecret"
BIND_IP = "0.0.0.0"

View file

@ -7,10 +7,12 @@ LOG_LEVEL="WARNING"
BIND_IP = "0.0.0.0"
BIND_PORT = 5000
# Used for restrict access on lgproxy - Empty list = all allowed
# 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"]
# Used for restrict access on lgproxy - Must be same in lg.cfg
# 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.
SHARED_SECRET="ThisTokenIsNotSecret"
IPV4_SOURCE=""