Wireguard

Generate QR Code:

  1. On WireGuard Server install the qrencode package:

  • Debian:

sudo apt-get install qrencode
  • RHEL:

sudo dnf install qrencode
  • Arch:

sudo pacman -Sy qrencode
  1. Use the .conf file to generate the QR code:

qrencode -t ansiutf8 < peer2/peer2.conf
  • This will generate a QR code similar to this:

  1. Add Connection on Android WireGuard Application:

  2. Scan the QR code:

  3. Press OK:

  4. Connect to Server:

Last updated