Mannan VPN Access v1.
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:
1. Setup Guide for Windows (Win10, Win8, Win7, WinVista)
2. Setup Guide for Ubuntu or Linux Users
Client Setup Guide for Windows Users
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
A window will pop-up as shown:
Enter the name as wg0 and coppy the below text after the PrivateKey Tag:
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
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
would look like this:
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
Client Setup for Ubuntu Users
Run the following command on the terminal:
sudo add-apt-repository ppa:wireguard/wireguard
sudo apt install wireguard openresolv
We will now generate a key pair in the home directory:
umask 077
wg genkey | tee privatekey | wg pubkey > publickey
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
Now we will create a configuration file by running the following command:
sudo vi /etc/wireguard/wg0.conf
Mannan VPN Access v1.0
Copy and paste the following content into the file:
[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
Save and exit the file.
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:
To Activate : wg-quick up wg0
To Deactivate: wg-quick down wg0
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.