Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 990 Bytes

README.md

File metadata and controls

45 lines (27 loc) · 990 Bytes

udppunch

udp punch for wireguard, inspired by natpunch-go

usage

server side

./punch-server-linux-amd64 -port 56000

client side

make sure wireguard is up

./dist/punch-client-linux-amd64 -server xxxx:56000 -iface wg0

resource

notes

./punch-server-linux-arm64 -port 56000

wg-quick up ./conf/w1.conf
wg-quick down ./conf/w1.conf
./punch-client-linux-arm64 -server w0:56000 -iface w1

wg-quick up ./conf/w2.conf
wg-quick down ./conf/w2.conf
./punch-client-linux-arm64 -server w0:56000 -iface w2

先执行 client 的是 从端