16 lines
570 B
Markdown
16 lines
570 B
Markdown
# AS215085.net Vyos tools
|
|
|
|
### Vyos config
|
|
1. Login to Vyos and enter configure mode.
|
|
2. ```set service https api keys id api key 'YourKey'```
|
|
3. ```set service https listen-address 'VyosIP'```
|
|
4. ```set service https port '80'```
|
|
5. ```set service https allow-client address '0.0.0.0/0'```
|
|
|
|
### App config
|
|
1. Edit .env and fill in your vyos api url and api key.
|
|
2. ```apt install -y python3 python3-jinja2 python3-flask python3-gunicorn```
|
|
3. ```gunicorn -w 4 -b 0.0.0.0:5000 app:app```
|
|
|
|
### License
|
|
```Apache License, Version 2.0 and the Commons Clause Restriction```
|