Chapter 11. Wireguard

Wireguard creates a VPN (Virtual Private Network) tunnel between a the Android device acting as client and a Wireguard server.

Install the Wireguard App and create from scratch a new tunnel

Figure 11.1. Create the Tunnel

Create the Tunnel


Give a name to the VPN tunnel and define the Interface by creating the private key and getting the public key, add the address received from the wireguard server administrator.

Figure 11.2. Define the Interface

Define the Interface


Important

Check what applications are allowed to use Wireguard: All Applications can use the tunnel or just the ones that get selected.

Copy and past the public key into a mail to the wireguard server administrator

Define the Peer (the connection information of wireguard server) with the values from the wireguard server administrator. In the example 3 IP address ranges are listed. The Android device is allowed to be (DHCP) in those networks.

Figure 11.3. Define the Peer

Define the Peer


Turn on the VPN tunnel

Figure 11.4. Turn on the VPN Tunnel

Turn on the VPN Tunnel


Test the VPN tunnel using a browser do not use https use just http or simply type in the IP address

Figure 11.5. Test the VPN Tunnel

Test the VPN Tunnel



Linurs startpage