5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-10 05:30:30 +00:00
yggdrasil-network.github.io/platforms.md

40 lines
1.6 KiB
Markdown
Raw Normal View History

2018-03-06 17:39:39 +00:00
# Platforms
2018-03-06 14:02:44 +00:00
2018-03-06 17:39:39 +00:00
## Linux
2018-03-06 14:02:44 +00:00
- Should work out of the box on most Linux distributions with `iproute2` installed.
- systemd service scripts are included in the `contrib/systemd/` folder so that it runs automatically in the background (using `/etc/yggdrasil.conf` for configuration), copy the service files into `/etc/systemd/system`, copy `yggdrasil` into your `$PATH`, i.e. `/usr/bin`, and then enable the service:
```
systemctl enable yggdrasil
systemctl start yggdrasil
```
- Once installed as a systemd service, you can read the `yggdrasil` output:
```
systemctl status yggdrasil
journalctl -u yggdrasil
```
2018-03-06 17:39:39 +00:00
## macOS
2018-03-06 14:02:44 +00:00
- See the [platform-macos.md](macOS platform page).
## Windows
- See the [platform-windows.md](Windows platform page).
2018-03-06 14:02:44 +00:00
2018-03-11 10:24:15 +00:00
## FreeBSD, NetBSD
2018-03-06 14:02:44 +00:00
- Works in TAP mode, but currently doesn't work in TUN mode.
- You may need to create the TAP adapter first if it doesn't already exist, i.e. `ifconfig tap0 create`.
2018-03-11 10:24:15 +00:00
## OpenBSD
2018-03-11 10:23:20 +00:00
- Works in TAP mode, but currently doesn't work in TUN mode.
- You may need to create the TAP adapter first if it doesn't already exist, i.e. `ifconfig tap0 create`.
- OpenBSD is not capable of listening on both IPv4 and IPv6 at the same time on the same socket (unlike FreeBSD and NetBSD). This affects the `Listen` and `AdminListen` configuration options. You will need to set `Listen` and `AdminListen` to use either an IPv4 or an IPv6 address.
- You may consider using [relayd](https://man.openbsd.org/relayd.8) to allow incoming Yggdrasil connections on both IPv4 and IPv6 simultaneously.
2018-03-06 17:39:39 +00:00
## EdgeRouter
2018-03-06 14:02:44 +00:00
- Tested and working on the EdgeRouter X, using the [vyatta-yggdrasil](https://github.com/neilalexander/vyatta-yggdrasil) wrapper package.