5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-14 03:20:27 +00:00
yggdrasil-network.github.io/platforms.md

41 lines
1.9 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
2018-06-13 22:31:52 +00:00
- Should work out of the box on most Linux distributions.
2018-03-06 14:02:44 +00:00
- 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-06-13 22:31:52 +00:00
- If you are running a Debian-based system (including Ubuntu and elementaryOS), you may instead prefer to use the [automatically built](builds.md) Debian packages. These install the systemd scripts and generate a configuration file into `/etc/yggdrasil.conf` automatically, and can be easily upgraded when needed.
2018-03-06 14:02:44 +00:00
2018-03-06 17:39:39 +00:00
## macOS
2018-03-06 14:02:44 +00:00
2018-04-22 12:42:40 +00:00
- See the [macOS platform page](platform-macos.md).
## Windows
2018-04-22 12:42:40 +00:00
- See the [Windows platform page](platform-windows.md).
2018-03-06 14:02:44 +00:00
2018-05-09 22:29:55 +00:00
## EdgeRouter
- See the [EdgeRouter platform page](platform-edgerouter.md).
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.