Setting up Wireguard
Dated:
This article has been posted under the following categories: blog, devops and wireguard
It is time to learn something new again, his time it is the VPN solution Wireguard
Internals
Wireguard is based around a TUN network interface. This network interface has multiple properties:
#wg show wg0
interface: wg0
public key: jyhyusgqxdzT732wlJa7nQCMqUvQnpC//SUjCBAsniI=
private key: (hidden)
listening port: 47761
fwmark: 0xca6c
peer: WjzcgNo1uYO0KoThtCz6ecgA2a33HJ5Lu5ZBHpIXIDw=
preshared key: (hidden)
endpoint: server.example.com:65
allowed ips: 0.0.0.0/0, ::/0
The…