From 8cdb0c596885935452ca3cf24f9ec041d07ef4ef Mon Sep 17 00:00:00 2001 From: xiagw Date: Mon, 21 Sep 2020 14:01:12 +0700 Subject: [PATCH 1/3] remove duplicate if -d /etc/debian_version (#136) --- wireguard-install.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index d450d99..c752dbf 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -31,12 +31,10 @@ function checkOS() { if [[ -e /etc/debian_version ]]; then source /etc/os-release OS="${ID}" # debian or ubuntu - if [[ -e /etc/debian_version ]]; then - if [[ ${ID} == "debian" || ${ID} == "raspbian" ]]; then - if [[ ${VERSION_ID} -ne 10 ]]; then - echo "Your version of Debian (${VERSION_ID}) is not supported. Please use Debian 10 Buster" - exit 1 - fi + if [[ ${ID} == "debian" || ${ID} == "raspbian" ]]; then + if [[ ${VERSION_ID} -ne 10 ]]; then + echo "Your version of Debian (${VERSION_ID}) is not supported. Please use Debian 10 Buster" + exit 1 fi fi elif [[ -e /etc/fedora-release ]]; then From 235d81aa4cdac70fe3b8f1549b6f805a3b1c86d4 Mon Sep 17 00:00:00 2001 From: pyramidenkoenig <44556055+pyramidenkoenig@users.noreply.github.com> Date: Wed, 23 Sep 2020 23:55:55 +0200 Subject: [PATCH 2/3] Readme updated to include Hetzner in Finland (#141) Hetzner also has their own Datacenter in Helsinki, Finland. Mentioning this for completeness. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index db67ebe..3d0bfda 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,6 @@ Run the script again to add or remove clients! I recommend these cheap cloud providers for your VPN server: - [Vultr](https://goo.gl/Xyd1Sc): Worldwide locations, IPv6 support, starting at \$3.50/month -- [Hetzner](https://hetzner.cloud/?ref=ywtlvZsjgeDq): Germany, IPv6, 20 TB of traffic, starting at €3/month +- [Hetzner](https://hetzner.cloud/?ref=ywtlvZsjgeDq): Germany and Finland, IPv6, 20 TB of traffic, starting at €3/month - [Digital Ocean](https://goo.gl/qXrNLK): Worldwide locations, IPv6 support, starting at \$5/month - [PulseHeberg](https://goo.gl/76yqW5): France, unlimited bandwidth, starting at €3/month From 2cd6191c936fe6e1136915f7243ccb09ea94d16d Mon Sep 17 00:00:00 2001 From: Stanislas Date: Fri, 2 Oct 2020 21:30:30 +0200 Subject: [PATCH 3/3] Add badges to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3d0bfda..0e12e7d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # WireGuard installer +![Lint](https://github.com/angristan/wireguard-install/workflows/Lint/badge.svg) [![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fangristan%2Fwireguard-install&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com) + + **This project is a bash script that aims to setup a [WireGuard](https://www.wireguard.com/) VPN on a Linux server, as easily as possible!** WireGuard is a point-to-point VPN that can be used in different ways. Here, we mean a VPN as in: the client will forward all its traffic trough an encrypted tunnel to the server.