#peer #ip #wireguard #p2p #up #port #public

app wireguard-p2p

A WireGuard peer-to-peer client

8 releases

0.3.0 Mar 14, 2021
0.2.2 Apr 28, 2020
0.1.990 Jan 3, 2019
0.1.2 Feb 2, 2018
0.1.1 Jan 29, 2018

#25 in #public

LGPL-2.1+ and GPL-3.0 licenses

58KB
1.5K SLoC

Exchanges your IP via a OpenDHT.

Just run wg-quick up wg0 and then sudo wireguard-p2p on both peers. wireguard-p2p will determine your current public IP, exchange it via OpenDHT, set the endpoint to a localhost port and proxy packages between both peers.

Install

cargo install wireguard-p2p

Dependencies

OpenDHT

OpenDHT will have to be discoverable by pkgconfig

Follow the build/install instructions here

Fedora

sudo dnf install -y jsoncpp-devel http-parser-devel

Dependencies

~46MB
~623K SLoC