# 2021-10-29 19:22:53.264882 UTC (+0000)

Wireguard Multiplayer Tutorial.

Thanks  to  the work  of  parazyd,  we  now have  wireguard  multiplayer
available on bitreich.org.

The goal is to  create for some games, which require  some private LAN, a
virtual LAN using wireguard.

       $ cd /etc/wireguard
       $ umask 077
       $ wg genkey > privkey
       $ wg pubkey < privkey > pubkey

Next go on ircs://irc.bitreich.org:6697/#bitreich-en and ask for being
added to the wireguard multiplayer network. There you will need your
pubkey available.

The admins will give you back a configuration of the following form:

       [Interface]
       PrivateKey = XXXXXXXXXXXXXXXXx
       Address = XXX.XXX.XXX.XXX

       [Peer]
       # bitreich.org
       PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXx
       AllowedIPs = XXX.XXX.XXX.XXX/XXX
       EndPoint = XXX.XXX.XXX.XXX:XXX
       PersistentKeepalive = 10

1. Now store this in some file in /etc/wireguard like wg0.conf.

2. Please edit the file to have PrivateKey being assigned your privkey.

You can join wireguard multiplayer easily by running:

       $ wg-quick up wg0

A device wg0 will appear and allow you to use the Bitreich.org Area
Network in case some game requires some local IP for direct connection.

See you at the BAN party on Sunday!


Sincerely yours,

20h
Chief Wireguard Officer (CWO)