Update README.md
This commit is contained in:
parent
1127ef7ec7
commit
7a5f3c52ce
1 changed files with 2 additions and 1 deletions
|
|
@ -1,12 +1,13 @@
|
||||||
# AS215085.net vyos scripts
|
# AS215085.net vyos scripts
|
||||||
|
|
||||||
### How to use
|
### Vyos config
|
||||||
1. Login to Vyos and enter configure mode.
|
1. Login to Vyos and enter configure mode.
|
||||||
2. ```set service https api keys id api key 'YourKey'```
|
2. ```set service https api keys id api key 'YourKey'```
|
||||||
3. ```set service https listen-address 'VyosIP'```
|
3. ```set service https listen-address 'VyosIP'```
|
||||||
4. ```set service https port '80'```
|
4. ```set service https port '80'```
|
||||||
5. ```set service https allow-client address '0.0.0.0/0'```
|
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
|
1. Edit app.py and change ip:port to your Vyos IP and port
|
||||||
2. replace key with your own key
|
2. replace key with your own key
|
||||||
3. ```apt install -y python3 python3-jinja2 python3-flask```
|
3. ```apt install -y python3 python3-jinja2 python3-flask```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue