|
|
t2021-10-29T19-22-53-264882.md - tgtimes - The Gopher Times |
|
|
 |
git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
|
--- |
|
|
|
t2021-10-29T19-22-53-264882.md (1274B) |
|
|
|
--- |
|
|
|
1 # 2021-10-29 19:22:53.264882 UTC (+0000) |
|
|
|
2 |
|
|
|
3 Wireguard Multiplayer Tutorial. |
|
|
|
4 |
|
|
|
5 Thanks to the work of parazyd, we now have wireguard multiplayer |
|
|
|
6 available on bitreich.org. |
|
|
|
7 |
|
|
|
8 The goal is to create for some games, which require some private LAN, a |
|
|
|
9 virtual LAN using wireguard. |
|
|
|
10 |
|
|
|
11 $ cd /etc/wireguard |
|
|
|
12 $ umask 077 |
|
|
|
13 $ wg genkey > privkey |
|
|
|
14 $ wg pubkey < privkey > pubkey |
|
|
|
15 |
|
|
|
16 Next go on ircs://irc.bitreich.org:6697/#bitreich-en and ask for being |
|
|
|
17 added to the wireguard multiplayer network. There you will need your |
|
|
|
18 pubkey available. |
|
|
|
19 |
|
|
|
20 The admins will give you back a configuration of the following form: |
|
|
|
21 |
|
|
|
22 [Interface] |
|
|
|
23 PrivateKey = XXXXXXXXXXXXXXXXx |
|
|
|
24 Address = XXX.XXX.XXX.XXX |
|
|
|
25 |
|
|
|
26 [Peer] |
|
|
|
27 # bitreich.org |
|
|
|
28 PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXx |
|
|
|
29 AllowedIPs = XXX.XXX.XXX.XXX/XXX |
|
|
|
30 EndPoint = XXX.XXX.XXX.XXX:XXX |
|
|
|
31 PersistentKeepalive = 10 |
|
|
|
32 |
|
|
|
33 1. Now store this in some file in /etc/wireguard like wg0.conf. |
|
|
|
34 |
|
|
|
35 2. Please edit the file to have PrivateKey being assigned your privkey. |
|
|
|
36 |
|
|
|
37 You can join wireguard multiplayer easily by running: |
|
|
|
38 |
|
|
|
39 $ wg-quick up wg0 |
|
|
|
40 |
|
|
|
41 A device wg0 will appear and allow you to use the Bitreich.org Area |
|
|
|
42 Network in case some game requires some local IP for direct connection. |
|
|
|
43 |
|
|
|
44 See you at the BAN party on Sunday! |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 Sincerely yours, |
|
|
|
48 |
|
|
|
49 20h |
|
|
|
50 Chief Wireguard Officer (CWO) |
|
|
|
51 |
|