mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2025-02-28 17:31:34 +00:00
Update platform-edgerouter.md
This commit is contained in:
parent
c7d98642cd
commit
9cb78d66a1
@ -9,12 +9,32 @@ Yggdrasil is supported on the Ubiquiti EdgeRouter using the [vyatta-yggdrasil](h
|
||||
|
||||
## Notes
|
||||
|
||||
- Yggdrasil does not survive an upgrade of the EdgeRouter firmware. You must reinstall it after a system upgrade.
|
||||
- After reinstalling Yggdrasil, use `load` to reload your configuration and then `commit` to make it effective again. Do not run `save` under any circumstances until after you have reloaded your configuration.
|
||||
- Although your Yggdrasil configuration will persist, the Yggdrasil package itself does not survive an upgrade of the EdgeRouter firmware. You must reinstall it after a system upgrade.
|
||||
- After upgrading firmware and reinstalling Yggdrasil, use `load` to reload your configuration and then `commit` to make it effective again. Do not run `save` until after you have reloaded your configuration.
|
||||
|
||||
## Installation
|
||||
|
||||
Start by [downloading the latest vyatta-yggdrasil .deb package](https://circleci.com/api/v1.1/project/github/yggdrasil-network/yggdrasil-go/latest/artifacts) and then install it:
|
||||
### From an Internet repository
|
||||
|
||||
Start by adding the repository:
|
||||
```
|
||||
curl -o- https://neilalexander.s3.eu-west-2.amazonaws.com/deb/key.txt | sudo apt-key add -
|
||||
echo 'deb http://neilalexander.s3.eu-west-2.amazonaws.com/deb/ edgerouter yggdrasil' | sudo tee /etc/apt/sources.list.d/yggdrasil.list
|
||||
```
|
||||
Then install the `vyatta-yggdrasil` package:
|
||||
```
|
||||
sudo apt-get update
|
||||
sudo apt-get install vyatta-yggdrasil
|
||||
```
|
||||
Yggdrasil can then be updated in the future by updating the packages:
|
||||
```
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade
|
||||
```
|
||||
|
||||
### One-off installation
|
||||
|
||||
If you do not want to configure the repository above, you can perform a one-off installation by [downloading the latest vyatta-yggdrasil .deb package](https://circleci.com/api/v1.1/project/github/yggdrasil-network/yggdrasil-go/latest/artifacts) and then install it:
|
||||
```
|
||||
curl -O https://xx-xxxxxxxxx-gh.circle-artifacts.com/x/vyatta-yggdrasil-x.x.xxx-mipsel.deb
|
||||
sudo dpkg -i vyatta-yggdrasil-x.x.xxx-mipsel.deb
|
||||
@ -51,7 +71,7 @@ If you have multiple IPv6 subnets, then they can be configured individually by s
|
||||
|
||||
## Crash Detection
|
||||
|
||||
To make sure that the process is restarted if it crashes, schedule the `vyatta-check-yggdrasil` script to run at a regular interval:
|
||||
Although Yggdrasil does not crash often, you can make sure that the process is restarted if it crashes by scheduling the `vyatta-check-yggdrasil` script to run at a regular interval:
|
||||
```
|
||||
configure
|
||||
set system task-scheduler task check-yggdrasil executable path /opt/vyatta/sbin/vyatta-check-yggdrasil
|
||||
@ -61,7 +81,7 @@ commit
|
||||
|
||||
## Default Firewall Config
|
||||
|
||||
Use this as an example firewall configuration, which will allow outgoing connections but prevent unexpected incoming ones, with the exception of ICMPv6 which will be allowed:
|
||||
Use this as an example firewall configuration, which will allow outgoing connections but prevent unexpected incoming ones, with the exception of ICMPv6 which will be allowed. You may need to substitute `tun0` for the interface name you chose when configuring Yggdrasil if you did not select `tun0`:
|
||||
```
|
||||
configure
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user