All Projects → complexorganizations → Wireguard Manager

complexorganizations / Wireguard Manager

Licence: mit
Self-hosted Wireguard Installer / Manager for CentOS, Debian, Ubuntu, Arch, Fedora, Redhat, Raspbian

Programming Languages

shell
77523 projects
shellscript
22 projects

Projects that are alternatives of or similar to Wireguard Manager

Easy Wg Quick
Creates Wireguard configuration for hub and peers with ease
Stars: ✭ 502 (+5.02%)
Mutual labels:  self-hosted, vpn, vpn-server, privacy, encryption
Wireguard Install
WireGuard VPN server installer
Stars: ✭ 616 (+28.87%)
Mutual labels:  self-hosted, networking, vpn, privacy
Awesome Vpn
Free VPN/proxy,server,account,link list.,实时更新免费的代理,科学上网,翻墙,梯子,服务器,客户端,账号
Stars: ✭ 2,691 (+462.97%)
Mutual labels:  vpn, gfw, censorship-circumvention, censorship
Download
Lantern官方版本下载 蓝灯 翻墙 代理 科学上网 外网 加速器 梯子 路由 proxy vpn circumvention gfw
Stars: ✭ 15,655 (+3175.1%)
Mutual labels:  vpn, gfw, censorship-circumvention, censorship
Cloak
A censorship circumvention tool to evade detection against state adversaries
Stars: ✭ 942 (+97.07%)
Mutual labels:  vpn, gfw, censorship-circumvention, censorship
Simple Vpn
A simple VPN allowing mesh-like communication between nodes, over websockets
Stars: ✭ 201 (-57.95%)
Mutual labels:  networking, vpn, privacy
China Dictatorship
Chinese "Communist" "Dictatorship" "facts". 中国《共产主义》《独裁统治》的《事实》。Home to the mega-FAQ, news compilation, restaurant and music recommendations. 常见问答集,新闻集和饭店和音乐建议。Heil Xi 卐. 习万岁。
Stars: ✭ 337 (-29.5%)
Mutual labels:  gfw, censorship-circumvention, censorship
Substratumnode
WE ARE THE FOUNDATION OF THE DECENTRALIZED WEB.
Stars: ✭ 359 (-24.9%)
Mutual labels:  networking, censorship-circumvention, privacy
Shhh
Share sensitive info without leaving a trace in your chat logs or email accounts.
Stars: ✭ 159 (-66.74%)
Mutual labels:  self-hosted, privacy, encryption
topvpn.github.io
Top VPN in China (mainland) 在全球(含中國大陆)好用的国外优质付费vpn推荐
Stars: ✭ 27 (-94.35%)
Mutual labels:  vpn, vpn-server, gfw
tulingx
TULINGX(图灵)VPN下载页 翻墙 代理 科学上网 外网 加速器 梯子 路由
Stars: ✭ 59 (-87.66%)
Mutual labels:  vpn, censorship, gfw
Dpitunnel
DPITunnel is an android app made for censorship bypass
Stars: ✭ 179 (-62.55%)
Mutual labels:  networking, vpn, censorship-circumvention
Setup Ipsec Vpn
Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Stars: ✭ 16,987 (+3453.77%)
Mutual labels:  vpn, vpn-server, encryption
Docker Ipsec Vpn Server
Docker image to run an IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Stars: ✭ 4,356 (+811.3%)
Mutual labels:  vpn, vpn-server, encryption
Gfwlist
The one and only one gfwlist here
Stars: ✭ 19,033 (+3881.8%)
Mutual labels:  gfw, censorship-circumvention, censorship
Awesome Vpn
科学上网的有趣项目集锦,欢迎大家pr自己喜欢的项目到这里。
Stars: ✭ 445 (-6.9%)
Mutual labels:  vpn, gfw, vpn-server
Wesher
wireguard overlay mesh network manager
Stars: ✭ 461 (-3.56%)
Mutual labels:  networking, vpn, encryption
Autovpn
Create On Demand Disposable OpenVPN Endpoints on AWS.
Stars: ✭ 1,959 (+309.83%)
Mutual labels:  vpn, vpn-server, privacy
Macos Openvpn Server
macOS OpenVPN Server and Client Configuration (OpenVPN, Tunnelblick, PF)
Stars: ✭ 172 (-64.02%)
Mutual labels:  vpn, vpn-server, privacy
Ovpm
OpenVPN Management Server - Effortless and free OpenVPN server administration
Stars: ✭ 256 (-46.44%)
Mutual labels:  cli, vpn, vpn-server

WireGuard Manager 👋

Release ShellCheck Issues Sponsors


📶 What is WireGuard❓

WireGuard is a straightforward 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. It is currently under a massive development, but it already might be regarded as the most secure, most comfortable to use, and the simplest VPN solution in the industry.

⛳ Goals

  • robust and modern security by default
  • minimal config and critical management
  • fast, both low-latency and high-bandwidth
  • simple internals and small protocol surface area
  • simple CLI and seamless integration with system networking

Prerequisite

  • CentOS, Debian, Ubuntu, Arch, Fedora, Redhat, Raspbian
  • Linux Kernel 3.1 or newer
  • You will need superuser access or a user account with sudo privilege.

📲 Installation

Lets first use curl and save the file in /etc/wireguard/

curl https://raw.githubusercontent.com/complexorganizations/wireguard-manager/master/wireguard-server.sh --create-dirs -o /etc/wireguard/wireguard-server.sh

Then let's make the script user executable (Optional)

chmod +x /etc/wireguard/wireguard-server.sh

It's finally time to execute the script

bash /etc/wireguard/wireguard-server.sh

In your /etc/wireguard/clients directory, you will have .conf files. These are the client configuration files. Download them from your WireGuard Interface and connect using your favorite WireGuard Peer.


💣 After Installation

  • Show WireGuard Interface
  • Start WireGuard Interface
  • Stop WireGuard Interface
  • Restart WireGuard Interface
  • Add WireGuard Peer
  • Remove WireGuard Peer
  • Uninstall WireGuard Interface
  • Update this script

🔑 Usage

usage: ./wireguard-server.sh [options]
  --install     Install WireGuard Interface
  --start       Start WireGuard Interface
  --stop        Stop WireGuard Interface
  --restart     Restart WireGuard Interface
  --list        Show WireGuard Peers
  --add         Add WireGuard Peer
  --remove      Remove WireGuard Peer
  --reinstall   Reinstall WireGuard Interface
  --uninstall   Uninstall WireGuard Interface
  --update      Update WireGuard Script
  --help        Show Usage Guide

🥰 Features

  • Installs and configures a ready-to-use WireGuard Interface
  • (IPv4|IPv6) Supported, (IPv4|IPv6) Leak Protection
  • Iptables rules and forwarding managed in a seamless way
  • If needed, the script can cleanly remove WireGuard, including configuration and iptables rules
  • Variety of DNS resolvers to be pushed to the clients
  • The choice to use a self-hosted resolver with Unbound.
  • Preshared-key for an extra layer of security.
  • Block DNS leaks
  • Dynamic DNS supported
  • Many other little things!

💡 Options

  • PRIVATE_SUBNET_V4 - private IPv4 subnet configuration 10.8.0.0/24 by default
  • PRIVATE_SUBNET_V6 - private IPv6 subnet configuration fd42:42:42::0/64 by default
  • SERVER_HOST_V4 - public IPv4 address, detected by default using curl
  • SERVER_HOST_V6 - public IPv6 address, detected by default using curl
  • SERVER_PUB_NIC - public nig address, detected by default
  • SERVER_PORT - public port for wireguard server, default is 51820
  • DISABLE_HOST - Disable or enable ipv4 and ipv6, default disabled
  • CLIENT_ALLOWED_IP - private or public IP range allowed in the tunnel
  • NAT_CHOICE - Keep sending packets to keep the tunnel alive 25
  • INSTALL_UNBOUND - Install unbound settings y/n
  • DNS_CHOICE - Without Unbound you have to use a public dns like 8.8.8.8
  • CLIENT_NAME - name of the client
  • MTU_CHOICE - the MTU the client will use to connect to DNS 1420

👉👈 Compatibility with Linux Distro

OS Supported i386 amd64 armhf arm64
Ubuntu 14.x ≤
Ubuntu 16.x
Ubuntu 18.x
Ubuntu 19.x ≥
Debian 7.x ≤
Debian 8.x
Debian 9.x
Debian 10.x ≥
CentOS 6.x ≤
CentOS 7.x
CentOS 8.x ≥
Fedora 29 ≤
Fedora 30
Fedora 31
Fedora 32 ≥
RedHat 6.x ≤
RedHat 7.x
RedHat 8.x ≥
Arch
Raspbian

☁️ Compatibility with Cloud Providers

Cloud Supported
AWS
Google Cloud
Linode
Digital Ocean
Vultr
Microsoft Azure
OpenStack
Rackspace
Scaleway
EuroVPS
Hetzner Cloud
Strato

🛡️ Compatibility with Virtualization

Virtualization Supported
KVM
LXC
OpenVZ
Docker

💻 Compatibility with Linux Kernel

Kernel Supported
Kernel 5.4
Kernel 4.19
Kernel 4.14
Kernel 4.9
Kernel 4.4
Kernel 3.16
Kernel 3.1 ≤

🙋 Q&A

Which hosting provider do you recommend?

  • Google Cloud: Worldwide locations, starting at $10/month
  • Vultr: Worldwide locations, IPv6 support, starting at $3.50/month
  • Digital Ocean: Worldwide locations, IPv6 support, starting at $5/month
  • Linode: Worldwide locations, IPv6 support, starting at $5/month

Which WireGuard client do you recommend?

Is there WireGuard documentation?

How do I install a wireguard without the questions? (Headless Install) Server Only

  • HEADLESS_INSTALL=y /etc/wireguard/wireguard-server.sh

Official Links


🤝 Developing

Using a browser based development environment:

Open in Gitpod

🐛 Debugging

git clone https://github.com/complexorganizations/wireguard-manager /etc/wireguard/
bash -x /etc/wireguard/wireguard-(server|client).sh >> /etc/wireguard/wireguard-(server|client).log

👤 Author


⛑️ Support

Give, and ⭐️ if this project helped you!

Fork

❤️ Credits

Angristan l-n-s


📝 License

Copyright © 2020 Prajwal.
This project is MIT licensed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].