Skip to content

Instantly share code, notes, and snippets.

View coopbri's full-sized avatar
⛰️
Deep diving

Brian Cooper coopbri

⛰️
Deep diving
View GitHub Profile
@coopbri
coopbri / wg0-client.conf
Last active February 13, 2020 19:41
Wireguard server and client template with iptables rules (peer-to-peer connection with one client)
/etc/wireguard/wg0-client.conf
--------------------------------------------------------------
[Interface]
Address = ($client-ipv4)/32
PrivateKey = $(client-privkey)
[Peer]
PublicKey = $(server-pubkey)
Endpoint = $(external-address):51820