diff --git a/README.md b/README.md index 3164a11a..70776c79 100644 --- a/README.md +++ b/README.md @@ -1062,10 +1062,10 @@ 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/v0.4.0 -[addon-doc-wireguard]: https://github.com/hassio-addons/addon-wireguard/blob/v0.4.0/README.md +[addon-wireguard]: https://github.com/hassio-addons/addon-wireguard/tree/v0.5.0 +[addon-doc-wireguard]: https://github.com/hassio-addons/addon-wireguard/blob/v0.5.0/README.md [wireguard-issue]: https://github.com/hassio-addons/addon-wireguard/issues -[wireguard-version-shield]: https://img.shields.io/badge/version-v0.4.0-blue.svg +[wireguard-version-shield]: https://img.shields.io/badge/version-v0.5.0-blue.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 diff --git a/wireguard/CHANGELOG.md b/wireguard/CHANGELOG.md index 0365c6ce..b063bd2a 100644 --- a/wireguard/CHANGELOG.md +++ b/wireguard/CHANGELOG.md @@ -1,17 +1,20 @@ -[Full Changelog][changelog] +## What’s changed -### 🔨 Changes +## 🧰 Maintenance -- ⬆ Upgrades build-base to 0.5-r2 -- ⬆ Upgrades git to 2.26.2-r0 -- ⬆ Upgrades openresolv to 3.10.0-r0 -- ⬆ Upgrades wireguard-tools@edge to 1.0.20200510-r0 -- 🔨Remove Alpine edge repo usage (#49) -- ⬆ Upgrades add-on base image to v8.0.5 -- ⬆ Upgrades go to 1.13.15-r0 +- Cleanup repository @frenck (#59) +- Happy New Year @frenck (#60) +- Upgrade Code of Conduct @frenck (#61) +- Add new repository workflow @frenck (#62) +- Update add-on configuration for Supervisor 2021.2 @frenck (#73) -[changelog]: https://github.com/hassio-addons/addon-wireguard/compare/v0.3.2...v0.4.0 +## ⬆️ Dependency updates -Questions? Join our Discord server! https://discord.me/hassioaddons -Enjoying my add-ons? Consider supporting my work: -https://github.com/sponsors/frenck or https://patreon.com/frenck \ No newline at end of file +- ⬆️ Bump frenck/action-addon-linter from v1.3.1 to v1.4 @dependabot (#63) +- ⬆️ Bump actions/stale from v3.0.14 to v3.0.15 @dependabot (#64) +- ⬆️ Bump frenck/action-yamllint from v1.0.2 to v1.1 @dependabot (#67) +- Upgrade add-on base image to 9.1.2 @frenck (#68) +- ⬆ Upgrades WireGuard Go to 0.0.20201118 @frenck (#69) +- ⬆️ Bump actionshub/markdownlint from 2.0.0 to 2.0.2 @dependabot (#71) +- ⬆️ Bump actions/cache from v2.1.3 to v2.1.4 @dependabot (#70) +- ⬆️ Bump actions/stale from v3.0.15 to v3.0.16 @dependabot (#72) diff --git a/wireguard/DOCS.md b/wireguard/DOCS.md index f97a5f8e..30dcf0c8 100644 --- a/wireguard/DOCS.md +++ b/wireguard/DOCS.md @@ -68,19 +68,19 @@ server: - 1.1.1.1 - 1.0.0.1 peers: -- name: frenck - addresses: - - 10.10.10.2 - allowed_ips: [] - client_allowed_ips: [] -- name: ninja - public_key: QNLXV8lrsPnKOd011DO8g5DWyad6iHJDSVOD6yOqjiE= - addresses: - - 10.10.10.3 - allowed_ips: [] - client_allowed_ips: - - 10.10.10.0/24 - - 192.168.1.0/24 + - name: frenck + addresses: + - 10.10.10.2 + allowed_ips: [] + client_allowed_ips: [] + - name: ninja + public_key: QNLXV8lrsPnKOd011DO8g5DWyad6iHJDSVOD6yOqjiE= + addresses: + - 10.10.10.3 + allowed_ips: [] + client_allowed_ips: + - 10.10.10.0/24 + - 192.168.1.0/24 ``` **Note**: _This is just an example, don't copy and paste it! Create your own!_ @@ -165,9 +165,11 @@ will disable that behavior. By default it executes the following: -`iptables -A FORWARD -i %i -j ACCEPT; -iptables -A FORWARD -o %i -j ACCEPT; -iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE` +```bash +iptables -A FORWARD -i %i -j ACCEPT +iptables -A FORWARD -o %i -j ACCEPT +iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE +``` ### Option: `server.post_down` _(optional)_ @@ -180,9 +182,11 @@ will disable that behavior. By default it executes the following: -`iptables -D FORWARD -i %i -j ACCEPT; -iptables -D FORWARD -o %i -j ACCEPT; -iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE` +```bash +iptables -D FORWARD -i %i -j ACCEPT +iptables -D FORWARD -o %i -j ACCEPT +iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE +``` ### Option: `server.mtu` _(optional)_ @@ -468,16 +472,15 @@ If you have, sharing would be appreciated! ## Changelog & Releases This repository keeps a change log using [GitHub's releases][releases] -functionality. The format of the log is based on -[Keep a Changelog][keepchangelog]. +functionality. Releases are based on [Semantic Versioning][semver], and use the format -of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented +of `MAJOR.MINOR.PATCH`. In a nutshell, the version will be incremented based on the following: -- ``MAJOR``: Incompatible or major changes. -- ``MINOR``: Backwards-compatible new features and enhancements. -- ``PATCH``: Backwards-compatible bugfixes and package updates. +- `MAJOR`: Incompatible or major changes. +- `MINOR`: Backwards-compatible new features and enhancements. +- `PATCH`: Backwards-compatible bugfixes and package updates. ## Support @@ -505,7 +508,7 @@ check [the contributor's page][contributors]. MIT License -Copyright (c) 2019-2020 Franck Nijhof +Copyright (c) 2019-2021 Franck Nijhof Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -533,7 +536,6 @@ SOFTWARE. [frenck]: https://github.com/frenck [ha-rest]: https://www.home-assistant.io/components/rest/ [issue]: https://github.com/hassio-addons/addon-wireguard/issues -[keepchangelog]: http://keepachangelog.com/en/1.0.0/ [reddit]: https://reddit.com/r/homeassistant [releases]: https://github.com/hassio-addons/addon-wireguard/releases [semver]: http://semver.org/spec/v2.0.0.htm diff --git a/wireguard/README.md b/wireguard/README.md index b12e7192..f07d388f 100644 --- a/wireguard/README.md +++ b/wireguard/README.md @@ -50,10 +50,10 @@ If you are more interested in stable releases of our add-ons: [forum]: https://community.home-assistant.io/t/home-assistant-community-add-on-wireguard/134662?u=frenck [github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png [github-sponsors]: https://github.com/sponsors/frenck -[maintenance-shield]: https://img.shields.io/maintenance/yes/2020.svg +[maintenance-shield]: https://img.shields.io/maintenance/yes/2021.svg [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/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-v0.4.0-blue.svg -[release]: https://github.com/hassio-addons/addon-wireguard/tree/v0.4.0 +[release-shield]: https://img.shields.io/badge/version-v0.5.0-blue.svg +[release]: https://github.com/hassio-addons/addon-wireguard/tree/v0.5.0 [wireguard]: https://www.wireguard.com \ No newline at end of file diff --git a/wireguard/config.json b/wireguard/config.json index fbf8ee3f..e55bc23e 100644 --- a/wireguard/config.json +++ b/wireguard/config.json @@ -1,10 +1,9 @@ { "name": "WireGuard", - "version": "0.4.0", + "version": "0.5.0", "slug": "wireguard", "description": "Fast, modern, secure VPN tunnel", "url": "https://github.com/hassio-addons/addon-wireguard", - "startup": "application", "arch": [ "aarch64", "amd64", @@ -21,14 +20,12 @@ "80/tcp": "WireGuard peers status API", "51820/udp": "WireGuard: forward this port in your router" }, - "boot": "auto", "hassio_api": true, - "hassio_role": "default", "privileged": [ "NET_ADMIN" ], "devices": [ - "/dev/net/tun:/dev/net/tun:rwm" + "/dev/net/tun" ], "map": [ "ssl:rw" @@ -94,5 +91,5 @@ } ] }, - "image": "hassioaddons/wireguard-{arch}" + "image": "ghcr.io/hassio-addons/wireguard/{arch}" } \ No newline at end of file