Connect a mobile device

Requirements

  • you have already deployed a PiRogue online
  • your PiRogue operates on the mode Wireguard
  • the Wireguard application is already installed on the mobile device (Android or iOS)

πŸ€” Not done yet? Check the documentation.

Security considerations

  • Remove VPN peer configurations: Delete on the PiRogue and on peer’s devices, any VPN peer configurations as soon as they’re no longer needed.
  • Handle peer configurations with care: Peer configurations contain sensitive information. Share them securely and privately.
  • PiRogue’s IP address exposure: Online services accessed through the VPN can see your PiRogue’s IP address.

... in 4 steps

Create a new Wireguard peer

To create a new Wireguard peer allowing a device to connect to the VPN network of the PiRogue, use the following command:

Add a new Wireguard peer
pirogue-admin-client vpn add-peer
ℹ️ Get the list of Wireguard peers

To get the list of already configured peers, use the command:

List the Wireguard peers
pirogue-admin-client vpn list-peers

Example:

pi@pirogue ➜ # Example of list of Wireguard peers
pi@pirogue ➜ pirogue-admin-client vpn list-peers
- idx: 2
  private_key: oA3PBMH5yhBCIykx1odFPbnH+QKq18FBPmdPU1MrmEQ=
  public_key: hdlwEsh7SQ0lEPC5Qpl66y9slJkhH4wUYEpzvkEq6V4=
- idx: 3
  private_key: YGe5EF//sIj6QF/2sglmx20b7jxgxFpV1sl8hXBDy34=
  public_key: 8lSksu3/HF8vCGi5lCOktI3C9L68PsfNhzDwyuAtMQ0=
pi@pirogue ➜ |
ℹ️ Delete a Wireguard peer

To delete a peer, you have to specify its index (idx):

Delete the peer #2
pirogue-admin-client vpn delete-peer [peer ID]

Get the configuration of a Wireguard peer

To connect a peer to the Wireguard VPN, you first need to get its configuration. The peer configuration is returned by the command. You have to specify the ID of the peer you have previously created:

Get the configuration of a peer
pirogue-admin-client vpn get-peer-config [peer ID]
ℹ️ Example of peer configuration
pi@pirogue ➜ # Example of peer configuration
pi@pirogue ➜ pirogue-admin-client vpn get-peer-config 3
[Interface]
Address = 10.8.0.3/24
PrivateKey = YGe5EF//sIj6QF/2sglmx20b7jxgxFpV1sl8hXBDy34=
DNS = 10.8.0.1

[Peer] EndPoint = 185.199.111.153:51820 PublicKey = YxtvfgfpgCpkQKTI9vcVz0LnXGHIwF83Z65OBWw4F0A= AllowedIPs = 0.0.0.0/0 PersistentKeepAlive = 20

pi@pirogue ➜ |

ℹ️ Save the peer configuration in a file

To save the configuration of the peer in a .conf file to be loaded on the device, use the command:

Save the configuration of the peer in a file
pirogue-admin-client vpn get-peer-config [peer ID] > my-peer-[peer ID].conf

Security concerns

Never share the configuration of a peer publicly. The configuration of a peer contains very sensitive information such as the IP address of your PiRogue and the private key of the peer. If you have any doubts, delete the peer and create it again.

Generate only one configuration per device, and never use the same configuration on multiple devices.

Connect the mobile device by scanning the QR-code

Make sure the Wireguard application is already installed on the mobile device. Then, generate the QR-code and scan it with the Wireguard app:

Get the QR-code of a peer configuration
pirogue-admin-client vpn get-peer-config [peer ID] | qrencode -t ansiutf8
ℹ️ Example of QR-code to scan with the Wireguard app
pi@pirogue ➜ # Example of QR-code of the configuration for peer 2
pi@pirogue ➜ pirogue-admin-client vpn get-peer-config 2 | qrencode -t ansiutf8
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ β–„β–„β–„β–„β–„ β–ˆβ–„β–€β–€β–ˆβ–„β–€β–„ β–„β–€ β–„β–„β–„β–„β–„ β–ˆβ–„β–ˆ β–„β–„β–ˆβ–ˆβ–„β–„  β–ˆβ–ˆβ–„β–„β–€β–€β–ˆ  β–„ β–ˆβ–ˆ β–„β–„β–„β–„β–„ β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ β–ˆ   β–ˆ β–ˆ β–ˆ  β–ˆβ–ˆβ–„β–ˆβ–ˆβ–„β–€β–„β–„β–€β–€β–€β–€β–€β–ˆβ–€β–ˆβ–„β–€β–„β–ˆβ–„ β–ˆβ–€ β–„β–„β–„β–ˆβ–€β–€β–„β–€β–„ β–ˆβ–ˆ β–ˆ   β–ˆ β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆβ–„β–€β–„ β–ˆβ–ˆβ–„β–€β–€β–„β–ˆ β–€β–€β–ˆ β–ˆβ–€ β–„β–„β–„  β–ˆβ–€β–ˆβ–„β–ˆβ–€β–€β–„β–€ β–ˆ β–ˆ β–€β–„β–ˆβ–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆβ–„β–ˆβ–„β–ˆ β–€ β–ˆβ–„β–ˆβ–„β–€β–„β–€β–„β–€β–„β–ˆ β–ˆβ–„β–ˆ β–€ β–ˆβ–„β–ˆ β–ˆβ–„β–€ β–€ β–€ β–€β–„β–€β–„β–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ  β–„ β–€β–€β–„β–€ β–€β–ˆβ–€β–€β–„β–€β–€ β–€β–ˆβ–ˆβ–„β–ˆ β–ˆ β–„ β–„ β–„ β–„ β–€β–€β–ˆβ–„β–ˆβ–€β–€β–ˆβ–ˆβ–€   β–ˆβ–€β–ˆβ–„β–€β–ˆβ–„β–„β–„β–€ β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–€β–„ β–„β–„β–€β–„β–€β–ˆβ–„  β–„ β–€β–€β–„ β–ˆ  β–„β–„β–ˆβ–„ β–„β–ˆ β–„β–„β–ˆ β–„ β–„β–€ β–ˆ β–ˆβ–„β–ˆβ–„β–„β–„β–ˆβ–ˆβ–„β–€β–ˆβ–ˆβ–„β–€β–„β–ˆβ–€β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–€ β–„β–„β–€β–ˆβ–ˆβ–€β–ˆβ–ˆβ–„ β–ˆ β–ˆβ–„β–€β–„β–ˆβ–„β–€β–ˆβ–ˆβ–ˆβ–€ β–€β–„β–ˆβ–ˆ  β–ˆβ–„β–„β–ˆβ–„β–€ β–ˆβ–ˆ  β–„β–€β–„β–ˆβ–€β–ˆβ–€β–€ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–ˆβ–ˆβ–€ β–„β–ˆβ–„β–ˆβ–ˆβ–€β–ˆβ–„β–ˆ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–ˆ β–€β–ˆβ–„β–ˆβ–„β–„β–€β–ˆβ–„β–€β–ˆβ–ˆβ–ˆβ–„β–ˆβ–„β–€β–„β–€β–„ β–ˆβ–ˆ β–ˆ β–„β–ˆβ–ˆβ–„β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–€β–„β–€β–€β–ˆ β–„β–ˆβ–„β–€β–„β–ˆ β–ˆβ–€β–„β–„β–€β–ˆ β–ˆ β–€β–€β–€ β–„β–ˆβ–€β–ˆ β–ˆβ–ˆ β–€ β–„β–ˆβ–ˆβ–„β–€β–ˆ   β–ˆβ–„β–ˆβ–ˆ  β–ˆβ–€β–„β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ β–ˆ β–„β–€β–ˆβ–„ β–ˆβ–ˆβ–„β–ˆβ–ˆβ–€β–€β–ˆβ–€β–ˆβ–„β–ˆβ–„ β–€ β–ˆβ–ˆβ–ˆ β–„β–€β–ˆβ–€β–ˆβ–€β–„β–€ β–„β–„β–„β–„β–„β–€β–€β–ˆβ–€β–ˆβ–€  β–€β–„β–„β–€ β–ˆβ–„β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–„ β–€β–ˆ β–ˆβ–„β–„β–„β–ˆβ–„β–ˆ  β–ˆβ–ˆ β–€β–ˆβ–ˆβ–ˆβ–„ β–€β–ˆ β–„β–€β–„β–€β–€   β–„β–€β–ˆβ–ˆβ–€β–„β–„β–ˆβ–„β–€β–ˆβ–€β–ˆβ–„β–„ β–„β–€ β–ˆβ–ˆ β–„β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–„β–ˆβ–„ β–„β–€β–„β–€β–€β–ˆβ–€β–ˆβ–ˆ β–€β–€β–„β–„β–€ β–„ β–ˆ   β–„β–„β–„β–ˆβ–ˆβ–ˆβ–€β–ˆβ–„β–€    β–ˆβ–€β–ˆβ–„β–„β–„β–„β–„ β–€β–ˆβ–ˆβ–ˆβ–ˆ β–„β–„β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–„β–„β–„β–„β–„ β–„ β–ˆ β–ˆβ–ˆβ–„β–ˆβ–ˆβ–€β–€β–„β–€ β–€β–€β–ˆβ–ˆβ–€ β–€ β–€β–€β–ˆβ–„β–ˆβ–ˆβ–ˆβ–ˆ  β–„ β–„β–ˆβ–€β–„β–ˆβ–„β–„  β–„  β–€ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–€β–„β–€β–ˆ β–„β–„β–„ β–„β–ˆβ–€β–„β–ˆβ–„β–€ β–„β–„β–ˆ β–ˆβ–„β–€β–€  β–„β–„β–„  β–„β–€β–ˆ β–ˆβ–ˆβ–„β–€β–€β–ˆ    β–„β–€ β–„β–„β–„  β–€β–„β–€β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–„  β–ˆ β–ˆβ–„β–ˆ β–€β–„β–„β–ˆ β–€β–„β–ˆβ–ˆβ–„β–€β–„β–€β–€β–€β–„β–„ β–ˆβ–„β–ˆ β–ˆβ–€β–€β–€β–„β–ˆβ–€β–ˆβ–€β–€β–„β–ˆβ–€β–€ β–€  β–ˆβ–„β–ˆ β–„β–„  β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–„β–„ β–„β–„ β–„ β–„β–ˆβ–„  β–ˆβ–ˆβ–€ β–„β–€   β–€β–„ β–„β–„  β–€β–ˆβ–ˆβ–ˆβ–€β–ˆβ–ˆβ–€β–ˆ  β–ˆβ–ˆβ–€β–„β–„  β–„β–„β–„ β–„β–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–€β–ˆβ–€β–„β–€β–€β–„ β–€β–„β–„ β–€β–„ β–„β–ˆ β–€ β–ˆβ–€β–„β–€ β–€β–ˆβ–€β–ˆβ–„β–„β–€β–ˆβ–„ β–€β–€β–„ β–„β–ˆ    β–„ β–ˆβ–„β–€β–ˆβ–„β–ˆβ–€β–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–€β–„β–€β–ˆβ–€β–ˆβ–„β–€ β–„β–€   β–€β–„β–€β–ˆβ–„ β–ˆβ–€β–„β–„ β–„β–ˆβ–„β–„ β–„β–€β–„β–€β–€β–„   β–€β–€β–„β–ˆβ–€ β–€β–€β–„β–„β–€β–ˆ β–€β–„β–„β–ˆβ–€β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ  β–„β–ˆβ–€β–„β–„  β–ˆ β–„β–€β–„ β–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–ˆβ–ˆ β–„β–€β–€β–ˆβ–ˆβ–ˆ  β–ˆβ–„β–€β–€β–„β–„β–€ β–„β–€β–„β–„β–ˆβ–„β–€β–€β–„β–ˆβ–€β–„ β–€β–ˆβ–€β–€β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€β–ˆβ–€β–€ β–„β–„β–€  β–ˆβ–€β–ˆβ–„ β–„β–„β–ˆ  β–€β–€β–„β–€β–„β–€  β–ˆβ–ˆ β–€ β–„β–„β–ˆβ–„β–„β–ˆβ–€β–„β–„ β–ˆβ–„β–ˆβ–€  β–ˆβ–ˆβ–„β–ˆβ–„β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–€β–ˆβ–ˆβ–„ β–ˆβ–„β–ˆβ–„β–„β–ˆβ–ˆβ–€β–€ β–„β–ˆ β–€β–€β–ˆβ–ˆβ–„β–ˆβ–„β–€β–„β–ˆβ–„β–„β–€β–€β–ˆβ–ˆβ–ˆβ–„β–€β–€β–€β–€β–€β–„β–ˆβ–ˆ β–„ β–„β–ˆβ–ˆβ–„β–ˆβ–€β–€ β–ˆ β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ β–ˆ  β–€β–„β–„β–€β–ˆβ–€β–„  β–„β–€β–ˆβ–€β–ˆβ–„β–„β–„β–ˆ β–ˆ β–€β–€β–„β–€β–„β–ˆβ–„β–ˆβ–ˆβ–„β–€β–€    β–„β–€ β–ˆβ–€β–ˆ  β–„β–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–„β–€β–€β–„β–„β–ˆβ–„β–€β–ˆβ–„β–€β–ˆβ–€β–ˆ β–ˆ β–€β–€β–„  β–ˆβ–ˆ β–„β–€β–€ β–ˆβ–€β–„β–ˆβ–€β–€β–ˆ β–€β–ˆβ–€β–ˆβ–„β–€ β–„β–ˆβ–„β–€ β–„ β–€β–„β–„ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ β–€ β–€β–€β–„β–„β–€β–€β–ˆβ–„  β–ˆ  β–€β–„β–€ β–ˆβ–€β–„β–„β–„β–ˆβ–„β–ˆβ–„β–„ β–€β–ˆβ–ˆβ–€β–„ β–€ β–ˆ β–„ β–„ β–ˆ  β–€β–ˆβ–€β–ˆ β–€β–„  β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–„ β–„β–ˆ β–€β–ˆβ–„β–ˆβ–„β–€ β–€β–ˆβ–„  β–€β–ˆ β–„β–„β–„ β–€ β–€β–ˆβ–„β–ˆβ–„β–€ β–„β–€β–€β–€β–ˆ  β–ˆ β–„β–„β–„  β–ˆβ–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ β–„β–„β–„β–„β–„ β–ˆβ–ˆβ–ˆβ–„β–„β–„β–ˆβ–€ β–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–€β–ˆ β–„ β–ˆβ–„β–ˆ  β–ˆ β–€β–€β–€β–„β–ˆβ–ˆβ–ˆβ–„  β–€β–€β–„β–„ β–ˆβ–„β–ˆ β–€β–„β–„ β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ β–ˆ   β–ˆ β–ˆβ–€ β–„ β–ˆ β–„β–€β–ˆ β–ˆ β–„ β–ˆ β–€β–„β–„  β–„β–„β–ˆβ–€β–„β–€β–„β–€ β–„β–ˆβ–€β–„β–„ β–„β–„β–ˆ β–„β–„β–„β–„β–„β–ˆβ–ˆβ–€β–„β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆ β–„β–€ β–€β–ˆβ–ˆ  β–„β–„β–„β–€β–ˆβ–€β–ˆβ–€β–€ β–ˆβ–€β–€β–„β–€β–ˆ β–„β–ˆ β–€  β–€β–€β–ˆ β–€β–„ β–€β–€β–„β–€β–ˆβ–ˆβ–€β–ˆβ–ˆβ–€β–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆβ–„β–ˆβ–„β–„β–ˆβ–ˆβ–„β–„β–„β–ˆβ–ˆβ–ˆβ–„β–ˆβ–ˆβ–„β–„β–„β–ˆβ–ˆβ–ˆβ–„β–ˆβ–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–ˆβ–ˆβ–ˆβ–„β–„β–ˆβ–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆβ–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
pi@pirogue ➜ |

Take a screenshot of the QR-code and send it (via encrypted email or Signal) to the person who needs to connect to the VPN of your PiRogue.

Identify Wireguard peers

The Wireguard peers configured on your PiRogue are not named, a peer is identified by its ID only. If you want to associate a peer to an individual, you have to store this information separately, ideally not on your PiRogue. We suggest you keep track of the peers the following way:

DatePeer IDPeer IP addressIndividual
2024-10-23210.8.0.2John
2024-10-23310.8.0.3Lea
2024-10-27610.8.0.9Camilla
ℹ️ How to find the IP address of a peer

The IP address of a peer is specified in the configuration of each peer, it corresponds to the Address. It’s specified using CIDR notation, ignore the value after the /.

In this example, we want to get the IP address of peer 2.

pi@pirogue ➜ # Example of getting the IP address of peer 2
pi@pirogue ➜ pirogue-admin-client vpn get-peer-config 2
[Interface]
Address = 10.8.0.2/24  <--- IP address of peer 2
PrivateKey = WLzm+auxiGXJJDf/74TsS4hnAU4mViJxR8XfpJUviW0=
DNS = 10.8.0.1

[Peer] EndPoint = 51.159.150.9:51820 PublicKey = dQzDsS2BQPjNjI2PG4hGAQX7AQ2xhFZnuMvV2beLj30= AllowedIPs = 0.0.0.0/0 PersistentKeepAlive = 20

pi@pirogue ➜ |