Eerste commit
This commit is contained in:
parent
534389b6f4
commit
9928321826
22 changed files with 1594 additions and 0 deletions
16
README.md
Normal file
16
README.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# 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```
|
||||
Loading…
Add table
Add a link
Reference in a new issue