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:
@ -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
|
||||
|
Reference in New Issue
Block a user