All Projects → its0x08 → Wg Install

its0x08 / Wg Install

Wireguard road warrior installer for Ubuntu, Debian, CentOS and Fedora

Programming Languages

shell
77523 projects
bash
514 projects
script
160 projects

Projects that are alternatives of or similar to Wg Install

Openvpn Install
Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS or Arch Linux.
Stars: ✭ 7,142 (+7114.14%)
Mutual labels:  vpn, ubuntu, debian, centos, encryption
Postinstall
💻 Bash Script to automate post-installation steps
Stars: ✭ 104 (+5.05%)
Mutual labels:  redhat, ubuntu, debian, centos
Aws Vpn Server Setup
Setup your own private, secure, free* VPN on the Amazon AWS Cloud in 10 minutes. CloudFormation
Stars: ✭ 672 (+578.79%)
Mutual labels:  vpn, vpn-client, vpn-server, encryption
Ansible Role Docker
Ansible Role - Docker
Stars: ✭ 845 (+753.54%)
Mutual labels:  redhat, ubuntu, debian, centos
Wireguard Install
WireGuard road warrior installer for Ubuntu, Debian, CentOS and Fedora
Stars: ✭ 650 (+556.57%)
Mutual labels:  vpn, ubuntu, debian, centos
Setup Ipsec Vpn
Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Stars: ✭ 16,987 (+17058.59%)
Mutual labels:  vpn, vpn-client, vpn-server, encryption
Mattermost Ansible
Ansible playbook to provide a turnkey solution for the Team Edition of Mattermost
Stars: ✭ 126 (+27.27%)
Mutual labels:  redhat, ubuntu, debian, centos
Ansible Role Apache
Ansible Role - Apache 2.x.
Stars: ✭ 341 (+244.44%)
Mutual labels:  redhat, ubuntu, debian, centos
Ansible Mariadb Galera Cluster
Stars: ✭ 49 (-50.51%)
Mutual labels:  redhat, ubuntu, debian, centos
ansible-role-daemonize
Ansible Role - Daemonize.
Stars: ✭ 14 (-85.86%)
Mutual labels:  debian, ubuntu, centos, redhat
Openvpn Install
OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
Stars: ✭ 14,199 (+14242.42%)
Mutual labels:  vpn, ubuntu, debian, centos
Docker Ipsec Vpn Server
Docker image to run an IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Stars: ✭ 4,356 (+4300%)
Mutual labels:  vpn, vpn-client, vpn-server, encryption
Serverfarmer
Manage multiple servers with different operating systems, configurations, requirements etc. for many separate customers in an outsourcing model.
Stars: ✭ 122 (+23.23%)
Mutual labels:  redhat, ubuntu, debian, centos
Oracle Java
Ansible role to install Oracle Java 8/11 on Debian and RedHat based distributions.
Stars: ✭ 144 (+45.45%)
Mutual labels:  redhat, ubuntu, debian, centos
Ansible Role Security
Ansible Role - Security
Stars: ✭ 398 (+302.02%)
Mutual labels:  redhat, ubuntu, debian, centos
Algo
Set up a personal VPN in the cloud
Stars: ✭ 24,275 (+24420.2%)
Mutual labels:  vpn, vpn-client, vpn-server, encryption
Anlinux App
AnLinux allow you to run Linux on Android without root access.
Stars: ✭ 614 (+520.2%)
Mutual labels:  ubuntu, debian, centos
Atilo
Linux installer for termux
Stars: ✭ 629 (+535.35%)
Mutual labels:  ubuntu, debian, centos
Open Build Service
Build and distribute Linux packages from sources in an automatic, consistent and reproducible way #obs
Stars: ✭ 599 (+505.05%)
Mutual labels:  ubuntu, debian, centos
Node
Mysterium Network Node - official implementation of distributed VPN network (dVPN) protocol
Stars: ✭ 681 (+587.88%)
Mutual labels:  vpn, vpn-client, vpn-server

wg-install v20200626-1

WireGuard autoinstaller written in Bash

WireGuard road warrior installer for Ubuntu, Debian, CentOS and Fedora!

This script will install automatically the Wireguard server and generate client configuration files for a secure connection.

Usage command

Oneliner:

wget http://git.io/Jff1k -qO wg.sh && bash wg.sh

Steps to download and run the scripts:

git clone https://github.com/its0x08/wg-install.git
cd wg-install
bash wg.sh

Add new client

You can run it again to generate more users after the first run. Reboot your server to apply all settings.

To start/activate the Wireguard client:

wg-quick up config_name

Options:

The script can be configured by setting the following environment variables:

  • INTERACTIVE - if set to "no", the script will not prompt for user input
  • PRIVATE_SUBNET - private subnet configuration, "10.9.0.0/24" by default
  • SERVER_HOST - public IP address, detected by default
  • SERVER_PORT - listening port, picked random by default
  • CLIENT_DNS - comma serparated DNS servers to use by the client

Copy the file /root/client-wg0.conf from a remote server to your local PC path /etc/wireguard/wg0.conf and run sudo systemctl start [email protected] or you can use the QR code generated by this script to auto-add mobile clients.

Server/Client status:

To check VPN status, run wg.

Enjoy it !

Note: dont forget to report bugs please!!

Buy me a beer or coffe.

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].