Skip to content

JustUnknownDude/wireguard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Docker + wireguard fast install script

Quick start

First, prepare your Linux server* with a fresh install of Ubuntu, Debian or etc.

Use this one-liner to set up an Wireguard VPN server:

wget https://raw.githubusercontent.com/JustUnknownDude/wireguard/main/install.sh && bash install.sh

Next steps

Connecting devices

IOS / Android

To add tunnel on Android/IOS mobile phone enter the following command which will output the QR code to connect

docker exec -it wireguard /app/show-peer 1

The command will display data for user peer1. Use different users for different devices

Windows / MacOS

To add a profile on Windows / MacOs devices, download the configuration file /wireguard/config/peer1/peer1.conf (for peer1 user) and add a tunnel through the official client https://www.wireguard.com/install/

Linux

  1. Install the wireguard client
sudo su && apt install -y wireguard
  1. Create connection config & copy the contents of the peer1.conf file into it **
nano /etc/wireguard/wg0.conf

** If you have connection problems, you may need to remove the DNS = ... line from the configuration file

  1. Start the tunnel
wg-quick up wg0
  1. You can check that the tunnel is running with the command
wg show

About

Scripts to build your own Wireguard VPN server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages