All Projects → adihrustic → WireGuard-Wrapper

adihrustic / WireGuard-Wrapper

Licence: GPL-3.0 License
Simple wrapper that makes WireGuard easier to use with VPN providers.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to WireGuard-Wrapper

ssh2.nim
Async SSH, SCP and SFTP client for Nim, using libssh2 wrapper [WIP]
Stars: ✭ 17 (-41.38%)
Mutual labels:  wrapper
coinmarketcap-api
CoinMarketCap API wrapper for node
Stars: ✭ 111 (+282.76%)
Mutual labels:  wrapper
uniswap-python
🦄 The unofficial Python client for the Uniswap exchange.
Stars: ✭ 533 (+1737.93%)
Mutual labels:  wrapper
dotty dict
Dictionary wrapper for quick access to deeply nested keys.
Stars: ✭ 67 (+131.03%)
Mutual labels:  wrapper
JDSP4Linux
An audio effect processor for PipeWire and PulseAudio clients
Stars: ✭ 192 (+562.07%)
Mutual labels:  wrapper
raylib-nelua
Raylib wrapper to nelua language
Stars: ✭ 27 (-6.9%)
Mutual labels:  wrapper
Nodeactyl
A NodeJS API for Pterodactyl panel, this was originally designed for discord.js (Discord bots)
Stars: ✭ 107 (+268.97%)
Mutual labels:  wrapper
node-api
A JavaScript API Wrapper for NovelCOVID/API
Stars: ✭ 63 (+117.24%)
Mutual labels:  wrapper
TLightFileStream
Implements a lightweight, high-performance, non-allocating advanced-record-based wrapper around the SysUtils file handling routines as an alternative to Classes.TFileStream.
Stars: ✭ 21 (-27.59%)
Mutual labels:  wrapper
RT-Thread-wrapper-of-uCOS-II
RT-Thread操作系统的uCOS-II兼容层:让基于uC/OS-II操作系统开发的应用层无感地迁移到RT-Thread操作系统 | A wrapper which can make codes developed by uCOS-II APIs directly run on RT-Thread
Stars: ✭ 24 (-17.24%)
Mutual labels:  wrapper
restique
A wrapper around restic with profiles
Stars: ✭ 43 (+48.28%)
Mutual labels:  wrapper
onetun
Userland WireGuard proxy in Rust
Stars: ✭ 495 (+1606.9%)
Mutual labels:  wireguard
SharpPhysFS
Managed wrapper for the PhysFS library
Stars: ✭ 14 (-51.72%)
Mutual labels:  wrapper
AdGuard-WireGuard-Unbound-Cloudflare
The Ultimate Network Security Guide 🔒 Protection | 🔎 Privacy | 🚀 Performance on home network 24/7 🕛 Accessible anywhere 🌏
Stars: ✭ 160 (+451.72%)
Mutual labels:  wireguard
fireREST
Python library for interacting with Cisco Firepower Management Center REST API
Stars: ✭ 47 (+62.07%)
Mutual labels:  wrapper
nordvpn
NordVpn Docker Client
Stars: ✭ 475 (+1537.93%)
Mutual labels:  wireguard
desktop-app-daemon
Official IVPN Desktop app (service)
Stars: ✭ 34 (+17.24%)
Mutual labels:  wireguard
udm-utilities
A collection of things I have made to make the Unifi Dream Machine more useful
Stars: ✭ 2,228 (+7582.76%)
Mutual labels:  wireguard
Mega-index-heroku
Mega nz heroku index, Serves mega.nz to http via heroku web. It Alters downloading speed and stability
Stars: ✭ 165 (+468.97%)
Mutual labels:  wrapper
with-wrapper
React HOC for wrapper components.
Stars: ✭ 35 (+20.69%)
Mutual labels:  wrapper

WireGuard Wrapper

Simple wrapper that makes WireGuard easier to use with VPN providers.

Table of Contents

  1. Prerequisites
  2. Installation
  3. Usage
    1. Connecting
    2. Disconnecting
    3. Kill-switch configuration
    4. Listing servers
    5. Connection status
    6. Choosing start-up server
    7. Updating server list
    8. Updating default server
  4. Troubleshooting
  5. More Information
  6. Authors
  7. License

Prerequisites

VPN providers who are offering WireGuard support. NOTE that as of right now, these providers must offer a configuration script following the original template written by Jason A. Donenfeld. To my knowledge the current VPN providers doing this are:

sudo add-apt-repository ppa:wireguard/wireguard && sudo apt-get update;
sudo apt-get install curl jq openresolv linux-headers-$(uname -r) wireguard-dkms wireguard-tools

Installation

Simply run the following commands in your terminal and follow the instructions

cd ./WireGuard-Wrapper/;
sudo ./setup.sh install

Usage

Connecting to a server

wvpn connect <server>

It is also possible to leave out server specification and connect to the default server that was set during the installation:

wvpn connect

Disconnecting from a server

wvpn disconnect

Enabling/Disabling kill-switch

wvpn kill-switch <on|off> <server>

It is also possible to pass multiple servers as arguments, or even all of them. To enable a kill-switch for all servers run:

wvpn kill-switch <on|off> all

Listing servers

When updating the server list you will be shown the current available servers. To access the list again run:

wvpn list

Status of current connection

To get more detailed information about your connection, run

wvpn status

Choosing start-up server

It is possible to choose a server that will auto connect on boot.

wvpn start-up <on|off> <server>

Updating the server list

sudo wvpn update servers

Updating default server

wvpn update default <server>

This command will let you change the default server set during the installation. Use the list command to view the current default.

Verify connection

Verification of a connection will be done every time a connection tries to be established, To manually check the verification run:

wvpn verify

Help

wvpn help

Troubleshooting and FAQ

Connection down when resuming after sleep or hibernation

This is likely due to the network manager not using openresolv. See here for a possible solution.

Unable to remotely access local machines.

Enabling the kill switch blocks all local traffic. Either add iptable rules to circumvent this or disable the kill switch.

Was this previously the wrapper only intended for the mullvad VPN?

Yes. However, I chose to implement a more general solution.

More information

Authors

Adi Hrustic

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details.

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