mirror of
https://github.com/sileht/bird-lg.git
synced 2024-11-25 08:14:42 +01:00
Clarify documentation of shared secret and access list
This commit is contained in:
parent
1d3eefa971
commit
c84267edd8
2
lg.cfg
2
lg.cfg
|
@ -5,7 +5,7 @@ LOG_LEVEL="WARNING"
|
||||||
|
|
||||||
DOMAIN = "tetaneutral.net"
|
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"
|
SHARED_SECRET="ThisTokenIsNotSecret"
|
||||||
|
|
||||||
BIND_IP = "0.0.0.0"
|
BIND_IP = "0.0.0.0"
|
||||||
|
|
|
@ -7,10 +7,12 @@ LOG_LEVEL="WARNING"
|
||||||
BIND_IP = "0.0.0.0"
|
BIND_IP = "0.0.0.0"
|
||||||
BIND_PORT = 5000
|
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"]
|
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"
|
SHARED_SECRET="ThisTokenIsNotSecret"
|
||||||
|
|
||||||
IPV4_SOURCE=""
|
IPV4_SOURCE=""
|
||||||
|
|
Loading…
Reference in a new issue