Skip to content

A tool for setting up WireGuard connections from peer to peer.

Notifications You must be signed in to change notification settings

manuels/wireguard-p2p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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