17 lines
No EOL
567 B
Markdown
17 lines
No EOL
567 B
Markdown
# AS215085.net vyos scripts
|
|
|
|
### 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 app.py and change ip:port to your Vyos IP and port
|
|
2. replace key with your own key
|
|
3. ```apt install -y python3 python3-jinja2 python3-flask```
|
|
4. ```python3 app.py```
|
|
|
|
### License
|
|
```Apache License, Version 2.0 and the Commons Clause Restriction``` |