Client Setup for Wireguard
Client Setup for Wireguard
Wireguard is a free and open source software application and communication protocol that implements VPN
techniques to create a secure point to point connection. Mannan uses this to create a VPN tunnel for remote
access of the Mannan Network. Below is a step wise setup guide for different operating systems, jump right
away to the operating system you are using to connect to the Mannan network by clicking on any of the
following:
Download the official wireguard client from the below mentioned links as per your system type.
o 64-bit: https://download.wireguard.com/windows-client/wireguard-amd64-0.1.0.msi
o 32-bit: https://download.wireguard.com/windows-client/wireguard-x86-0.1.0.msi
After the download is complete, run the setup file and click on Run
Mannan VPN Access v1.0
After the application is successfully installed, a window as shown below will open up:
Mannan VPN Access v1.0
Click on the arrow besides the Add Tunnel button and select Add Empty Tunnel as shown:
Mannan VPN Access v1.0
Enter the name as wg0 and coppy the below text after the PrivateKey Tag:
[P eer]
P ublicK ey = VKlkTLPnbazHPBUtqHsFW2GdchrA33XHkoz2XyyfIhw=
Allow edI P s = 0.0.0.0/0
Endpoint = 103.113.105.58:46352
Kindly note that the Address tag would include the IP assigned to you by the IT Admin, which would be
different for every employee. For ex: If a user has been assigned the IP 10.10.0.2, the final configuration
Mannan VPN Access v1.0
After this kindly copy the value of the value of Public Key and paste it in some text file or mail as you
would be required to share that the IT Admin. Click on Save. The opened window would be something
like this as shown:
Mannan VPN Access v1.0
Now share that public key with the IT admin on mail and wait for the confirmation. After that click on
Activate, and you would be connected to the Mannan Network. As you can see below or backupNAS
(192.168.2.21) is accessible now
umask 077
Two files must have been created by the name of privatekey and publickey in the home directory itself.
View those files by running the command:
cat privatekey
cat publickey
sudo vi /etc/wireguard/wg0.conf
Mannan VPN Access v1.0
[I nterface]
P rivateK ey = <Copy the content of the Private Key>
Address = <iP provided by IT Admin>/24
DN S = 8.8.8.8
[P eer]
P ublicK ey = VKlkTLPnbazHPBUtqHsFW2GdchrA33XHkoz2XyyfIhw=
Allow edI P s = 0.0.0.0/0
Endpoint = 103.113.105.58:46352
Please note that the Address and Private Key will have different values for everyone. The final config would look
something like this:
[I nterface]
P rivateK ey = MLI76wor8/szwGp0K4LxIl0QE2M/SOqpZaWUDHWb7XA=
Address = 10.10.0.2/24
DN S = 8.8.8.8
[P eer]
P ublicK ey = VKlkTLPnbazHPBUtqHsFW2GdchrA33XHkoz2XyyfIhw=
Allow edI P s = 0.0.0.0/0
Endpoint = 103.113.105.58:46352
Now share the public key we created in the earlier step with the System Admin and wait for his
confirmation.
After that run the command to activate or deactivate the connection:
Now You must be connected to Mannan Network and can work remotely as you would in the office accessing all
the resources of office with their original IPs.