2019-08-07 13:08:28 +00:00
|
|
|
---
|
|
|
|
tags: dontlink
|
|
|
|
sitemap: true
|
|
|
|
---
|
|
|
|
|
2021-10-17 22:07:06 +00:00
|
|
|
# Installing on OpenWrt
|
2019-08-07 13:08:28 +00:00
|
|
|
|
2021-10-17 22:07:06 +00:00
|
|
|
`yggdrasil` v0.4+ packages are available in OpenWRT since 21.02.
|
2019-08-07 13:08:28 +00:00
|
|
|
|
2021-10-17 22:07:06 +00:00
|
|
|
To configure Yggdrasil with the LuCI web interface, install the package `luci-app-yggdrasil`.
|
2019-08-07 13:08:28 +00:00
|
|
|
|
2021-10-17 22:07:06 +00:00
|
|
|
## Configuration
|
2019-08-07 13:08:28 +00:00
|
|
|
|
2021-10-17 22:07:06 +00:00
|
|
|
Use the LuCI web interface to configure Yggdrasil, see the "Network" section.
|
2019-08-07 13:08:28 +00:00
|
|
|
|
2021-10-17 22:07:06 +00:00
|
|
|
Alternatively, you can configure Yggdrasil with just a command line.
|
|
|
|
|
|
|
|
To show currently configured options, run the following command:
|
2019-08-07 13:08:28 +00:00
|
|
|
|
|
|
|
```
|
2021-10-17 22:07:06 +00:00
|
|
|
uci show yggdrasil
|
2019-08-07 13:08:28 +00:00
|
|
|
```
|
|
|
|
|
2021-10-17 22:07:06 +00:00
|
|
|
To add a new peer:
|
2019-08-07 13:08:28 +00:00
|
|
|
|
2021-10-17 22:07:06 +00:00
|
|
|
```
|
|
|
|
uci add yggdrasil peer
|
|
|
|
uci set yggdrasil.@peer[-1].uri='tcp://1.2.3.4:5678'
|
|
|
|
uci commit
|
|
|
|
/etc/init.d/yggdrasil restart
|
|
|
|
```
|