5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-10 06:40:26 +00:00

Update platform-edgerouter.md

This commit is contained in:
Neil Alexander 2019-02-19 18:37:56 +00:00 committed by GitHub
parent 9cb78d66a1
commit dc8a4af1a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ Yggdrasil is supported on the Ubiquiti EdgeRouter using the [vyatta-yggdrasil](h
## Notes ## Notes
- 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. - Although your Yggdrasil configuration will persist, the Yggdrasil package itself **does not** survive an upgrade of the EdgeRouter firmware. You must reinstall Yggdrasil 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. - 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 ## Installation
@ -42,7 +42,7 @@ sudo dpkg -i vyatta-yggdrasil-x.x.xxx-mipsel.deb
## Generate configuration ## Generate configuration
Configuration for Yggdrasil is generated automatically when you create an interface: Configuration for Yggdrasil is generated automatically when you create an interface, e.g. as `tun0`:
``` ```
configure configure
set interfaces yggdrasil tun0 set interfaces yggdrasil tun0
@ -52,7 +52,11 @@ At this point, Yggdrasil will start running using default configuration, which i
## Configuration ## Configuration
Other changes should be made to `/config/yggdrasil.tun0.conf` by hand. To make effective, restart Yggdrasil: Other changes should be made to `/config/yggdrasil.tun0.conf` by hand, e.g. if using `tun0`:
```
vi /config/yggdrasil.tun0.conf
```
To make configuration changes effective, restart Yggdrasil:
``` ```
restart yggdrasil tun0 restart yggdrasil tun0
``` ```
@ -81,7 +85,7 @@ commit
## Default Firewall Config ## 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. You may need to substitute `tun0` for the interface name you chose when configuring Yggdrasil if you did not select `tun0`: 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, e.g. if using `tun0`:
``` ```
configure configure