Skip to content

Instantly share code, notes, and snippets.

View phenry725's full-sized avatar

Paul Henry phenry725

View GitHub Profile
[Interface]
PrivateKey = <redacted>
Address = 10.200.200.2/32
ListenPort = 51820
[Peer]
AllowedIPs = 10.200.200.1/24
Endpoint = 54.149.197.211:51820
PresharedKey = <redacted>
PublicKey = XX3a/UuiQou5vopJiv9FzSIDLp877471EoF2+wve+HI=
@phenry725
phenry725 / wg0-server.conf
Last active December 18, 2024 12:06
Server conf for Wireguard
[Interface]
Address = 10.200.200.1/32
SaveConfig = true
PostUp = iptables --append FORWARD --in-interface wg0 --jump ACCEPT
PostUp = iptables --table nat --append POSTROUTING --out-interface eth0 --jump MASQUERADE
PostDown = iptables --delete FORWARD --in-interface wg0 --jump ACCEPT
PostDown = iptables --table nat --delete POSTROUTING --out-interface eth0 --jump MASQUERADE
ListenPort = 51820
PrivateKey = <redacted>

Keybase proof

I hereby claim:

  • I am phenry725 on github.
  • I am fins (https://keybase.io/fins) on keybase.
  • I have a public key ASBd9YSHhIRQub4UjQbR13W6MtgcC1-MCzXlEYNhLVG3Bwo

To claim this, I am signing this object: