4
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2025-06-26 23:29:26 +00:00

Add addRoute, removeRoute, addSourceSubnet, removeSourceSubnet

This commit is contained in:
Neil Alexander
2018-12-09 12:53:50 +00:00
parent a355c2958a
commit c0ae35f3ba
2 changed files with 49 additions and 3 deletions

View File

@ -16,14 +16,14 @@ If you installed Yggdrasil through one of the platform packages (i.e. macOS, Deb
Otherwise, you can generate a configuration file in the following ways:
- **HJSON**: `yggdrasil -genconf > /etc/yggdrasil.conf`
- **JSON**: `yggdrasil -genconf -json > /etc/yggdrasil.conf`
- **Generate HJSON**: `yggdrasil -genconf > /etc/yggdrasil.conf`
- **Generate JSON**: `yggdrasil -genconf -json > /etc/yggdrasil.conf`
## Using Configuration
Yggdrasil can accept a configuration file either through `stdin` or by being given a path on the filesystem to a configuration file:
- **Using `stdin`**: `yggdrasilctl --useconf < /etc/yggdrasil.conf`
- **Using stdin**: `yggdrasilctl --useconf < /etc/yggdrasil.conf`
- **Using file:** `yggdrasilctl --useconffile /etc/yggdrasil.conf`
## Normalising Configuration