Inspired and reference wgsd.
Simplify for dn11.
Use wireguard's peer as stun and exchange target endpoint.
Download package or build yourself
Running:
wg-drill-[client/server] install
reference config file below and jwhited's blog
[Interface]
PrivateKey = <Your Private Key>
ListenPort = <Listen Port>
# start with interface
PostUp = wg-drill-client up <Your Interface name>
# stop with interface
preDown = wg-drill-client down <Your Interface name>#
#Target
[Peer]
PublicKey = <Target Pubkey>
#Server
[Peer]
Endpoint = <Server Listen Port>
PublicKey = <Server Pubkey>
PersistentKeepalive = 3
- Simplfy ways to get endpoint(We use http temporary and need to config server endpoint.This version would be terrible while having multi server)
- Better ways to close server
- Log
这个项目是去中心化网络 DN11 的一部分。
This repo now included in Project DN11, a decentralized network.