Allow to configure the bind address of bird-lg
This commit is contained in:
parent
fe9a7f8fe4
commit
ffafef27cd
2 changed files with 4 additions and 1 deletions
3
lg.cfg
3
lg.cfg
|
@ -5,6 +5,9 @@ LOG_LEVEL="WARNING"
|
|||
|
||||
DOMAIN = "tetaneutral.net"
|
||||
|
||||
BIND_IP = "0.0.0.0"
|
||||
BIND_PORT = 5000
|
||||
|
||||
PROXY = {
|
||||
"gw": 5000,
|
||||
"h3": 5000,
|
||||
|
|
2
lg.py
2
lg.py
|
@ -620,4 +620,4 @@ def show_route(request_type, hosts, proto):
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run("0.0.0.0")
|
||||
app.run(app.config.get("BIND_IP", "0.0.0.0"), app.config.get("BIND_PORT", 5000))
|
||||
|
|
Loading…
Add table
Reference in a new issue