diff --git a/README.md b/README.md index 200ab12b4..36e6dba64 100644 --- a/README.md +++ b/README.md @@ -615,6 +615,20 @@ Fully featured VSCode experience, to edit your HA config in the browser, includi [:books: Visual Studio Code add-on documentation][addon-doc-vscode] +### ✓ [WireGuard][addon-wireguard] + +![Latest Version][wireguard-version-shield] +![Supports armhf Architecture][wireguard-armhf-shield] +![Supports armv7 Architecture][wireguard-armv7-shield] +![Supports aarch64 Architecture][wireguard-aarch64-shield] +![Supports amd64 Architecture][wireguard-amd64-shield] +![Supports i386 Architecture][wireguard-i386-shield] +![Docker Pulls][wireguard-pulls-shield] + +Fast, modern, secure VPN tunnel + +[:books: WireGuard add-on documentation][addon-doc-wireguard] + ### ✓ [Z-Wave to MQTT][addon-zwave2mqtt] ![Latest Version][zwave2mqtt-version-shield] @@ -732,6 +746,7 @@ on the correct GitHub repository matching the add-on. - [Open an issue for the add-on: Traccar][traccar-issue] - [Open an issue for the add-on: UniFi Controller][unifi-issue] - [Open an issue for the add-on: Visual Studio Code][vscode-issue] +- [Open an issue for the add-on: WireGuard][wireguard-issue] - [Open an issue for the add-on: Z-Wave to MQTT][zwave2mqtt-issue] - [Open an issue for the add-on: ZeroTier One][zerotier-issue] - [Open an issue for the add-on: chrony][chrony-issue] @@ -1195,6 +1210,16 @@ SOFTWARE. [vscode-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg [vscode-armv7-shield]: https://img.shields.io/badge/armv7-no-red.svg [vscode-i386-shield]: https://img.shields.io/badge/i386-no-red.svg +[addon-wireguard]: https://github.com/hassio-addons/addon-wireguard/tree/a309929 +[addon-doc-wireguard]: https://github.com/hassio-addons/addon-wireguard/blob/a309929/README.md +[wireguard-issue]: https://github.com/hassio-addons/addon-wireguard/issues +[wireguard-version-shield]: https://img.shields.io/badge/version-a309929-blue.svg +[wireguard-pulls-shield]: https://img.shields.io/docker/pulls/hassioaddons/wireguard-armhf.svg +[wireguard-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg +[wireguard-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg +[wireguard-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg +[wireguard-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg +[wireguard-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg [addon-zwave2mqtt]: https://github.com/hassio-addons/addon-zwave2mqtt/tree/6f36f85 [addon-doc-zwave2mqtt]: https://github.com/hassio-addons/addon-zwave2mqtt/blob/6f36f85/README.md [zwave2mqtt-issue]: https://github.com/hassio-addons/addon-zwave2mqtt/issues diff --git a/wireguard/CHANGELOG.md b/wireguard/CHANGELOG.md new file mode 100644 index 000000000..fa689ce9d --- /dev/null +++ b/wireguard/CHANGELOG.md @@ -0,0 +1,3 @@ +2019/08/26 10:15 UTC - [a309929](https://github.com/hassio-addons/addon-wireguard/commit/a30992980f5e8f3cb60ea1c37f5b67eb5b1de8a1) by [@frenck](https://github.com/frenck) +> :shirt: Addresses hadolint warning + diff --git a/wireguard/README.md b/wireguard/README.md new file mode 100644 index 000000000..2db5036e4 --- /dev/null +++ b/wireguard/README.md @@ -0,0 +1,64 @@ +# Community Hass.io Add-ons: WireGuard + +[![Release][release-shield]][release] ![Project Stage][project-stage-shield] ![Project Maintenance][maintenance-shield] + +[![Discord][discord-shield]][discord] [![Community Forum][forum-shield]][forum] + +[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee] + +[![Support my work on Patreon][patreon-shield]][patreon] + +WireGuard: fast, modern, secure VPN tunnel. + +## About + +WireGuard® is an extremely simple yet fast and modern VPN that utilizes +state-of-the-art cryptography. It aims to be faster, simpler, leaner, +and more useful than IPsec, while avoiding the massive headache. + +It intends to be considerably more performant than OpenVPN. WireGuard is +designed as a general purpose VPN for running on embedded interfaces and +super computers alike, fit for many different circumstances. + +Initially released for the Linux kernel, it is now cross-platform (Windows, +macOS, BSD, iOS, Android) and widely deployable, +including via an Hass.io add-on! + +WireGuard is currently under heavy development, but already it might be +regarded as the most secure, easiest to use, and simplest VPN solution +in the industry. + +[Click here for the full documentation][docs] + +## WARNING! THIS IS AN EDGE VERSION! + +This Hass.io Add-ons repository contains edge builds of add-ons. Edge builds +add-ons are based upon the latest development version. + +- They may not work at all. +- They might stop working at any time. +- They could have a negative impact on your system. + +This repository was created for: + +- Anybody willing to test. +- Anybody interested in trying out upcoming add-ons or add-on features. +- Developers. + +If you are more interested in stable releases of our add-ons: + + + +[buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg +[buymeacoffee]: https://www.buymeacoffee.com/frenck +[discord-shield]: https://img.shields.io/discord/478094546522079232.svg +[discord]: https://discord.me/hassioaddons +[docs]: https://github.com/hassio-addons/addon-wireguard/blob/a309929/README.md +[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg +[forum]: https://community.home-assistant.io/?u=frenck +[maintenance-shield]: https://img.shields.io/maintenance/yes/2019.svg +[patreon-shield]: https://www.frenck.nl/images/patreon.png +[patreon]: https://www.patreon.com/frenck +[project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg +[release-shield]: https://img.shields.io/badge/version-a309929-blue.svg +[release]: https://github.com/hassio-addons/addon-wireguard/tree/a309929 \ No newline at end of file diff --git a/wireguard/config.json b/wireguard/config.json new file mode 100644 index 000000000..bf56d969e --- /dev/null +++ b/wireguard/config.json @@ -0,0 +1,84 @@ +{ + "name": "WireGuard", + "version": "a309929", + "slug": "wireguard", + "description": "Fast, modern, secure VPN tunnel", + "url": "https://github.com/hassio-addons/addon-wireguard", + "startup": "application", + "arch": [ + "aarch64", + "amd64", + "armhf", + "armv7", + "i386" + ], + "ports": { + "51820/udp": 51820 + }, + "boot": "auto", + "hassio_api": true, + "hassio_role": "default", + "privileged": [ + "NET_ADMIN" + ], + "devices": [ + "/dev/net/tun:/dev/net/tun:rwm" + ], + "map": [ + "config", + "ssl:rw" + ], + "options": { + "server": { + "host": "hassio.local", + "addresses": [ + "10.200.100.8/24", + "10.10.0.1/16" + ], + "dns": [ + "8.8.8.8", + "8.8.4.4" + ] + }, + "peers": [ + { + "name": "", + "addresses": [ + "10.200.100.9/24" + ], + "allowed_ips": [ + "0.0.0.0/0" + ] + } + ] + }, + "schema": { + "log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)?", + "server": { + "host": "str", + "addresses": [ + "str" + ], + "dns": [ + "str" + ], + "private_key": "str?" + }, + "peers": [ + { + "name": "match(^!secret [a-zA-Z0-9_\\-]+$|^[a-zA-Z0-9\\d](?:[a-zA-Z0-9\\d]|-(?=[a-zA-Z0-9\\d])){0,32}$)", + "public_key": "str?", + "addresses": [ + "str" + ], + "allowed_ips": [ + "str" + ], + "persistent_keep_alive": "int?", + "endpoint": "str?", + "pre_shared_key": "str?" + } + ] + }, + "image": "hassioaddons/wireguard-{arch}" +} \ No newline at end of file diff --git a/wireguard/icon.png b/wireguard/icon.png new file mode 100644 index 000000000..feec0ef35 Binary files /dev/null and b/wireguard/icon.png differ diff --git a/wireguard/logo.png b/wireguard/logo.png new file mode 100644 index 000000000..296bad4a7 Binary files /dev/null and b/wireguard/logo.png differ