28 lines
No EOL
985 B
Markdown
28 lines
No EOL
985 B
Markdown
# AS215085.net Router tools
|
|
|
|
### Requirements
|
|
* A working and configured Vyos router
|
|
* A working and configured Librenms instance
|
|
* A working and configured Akvorado instance
|
|
|
|
### 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 the details
|
|
2. ```apt install -y python3 python3-jinja2 python3-flask python3-gunicorn```
|
|
3. ```gunicorn -w 4 -b 0.0.0.0:5000 app:app```
|
|
|
|
## License
|
|
|
|
```This project is licensed under the Apache License 2.0 with the Commons Clause restriction.```
|
|
|
|
```You may use, modify, and distribute this work for personal and non-commercial purposes only.```
|
|
|
|
**You must provide a clear link or reference to the original project when redistributing or using this work.**
|
|
|
|
```Commercial use is strictly prohibited.``` |