How to Connect to Agate VPN Cloud
In This Article:
Overview
Purpose
This procedure is about configuring VPN connection to Agateās VPN
Applicability/Scope
This Procedure is applicable when a crew want to connect to Agateās network through VPN
Prerequisites
- Request VPN credential to DevOps (explained [below](How to Connect to Agate VPN Cloud 77af87247ca749d8bc06ee52d81ef31d.md))
Responsibilities
- DevOps: responsible to create and give VPN credential to crew
- Individual Crew: responsible to configure VPN connection on their own devices
Glossary
Item | Definition |
---|---|
VPN | Virtual Private Network. Enables userās devices to work as if they were directly connected to companyās private network. |
SoftEther | Open Source VPN App distributed by SoftEther Project at University of Tsukuba, Japan, since March 8, 2013. SoftEther Website |
Fedora 35 | Linux Distribution. add some more desc |
Procedure
Request VPN Credential
Flow
Steps
- Request for credential to DevOps by following steps here: How to Create Request Ticket to DevOps
- Once completed, DevOps will provide you with your own VPN Credential
Configure VPN Connection
VPN for Windows User
This step-by-step is showcased using Windows 10.
Steps
-
Go to this link: SoftEther Download Center
-
Download SoftEther
-
Select Software: SoftEther VPN (Freeware)
-
Select Component: SoftEther VPN Client
-
Select Platform: Select depend from your OS
-
Select CPU: Intel (x86 and x64)
-
Image 2.1
-
-
Click the first download link that appears. Wait for the download to finish
-
Image 3.1
-
-
Open the downloaded SoftEther VPN Client installer
-
Install SoftEther VPN Client with default configuration (click next until it installs). Click finish.
-
If you leave the āStart the SoftEther VPN Clientā checked during installation, SoftEther Client Manager will automatically open. Otherwise, run SoftEther VPN Client Manager from the Windows start menu or from your desktop
-
A prompt may pop-up saying you need to create Virtual Network Adapter. Skip to step 11 if this does the prompt does not pop-up
-
Click āYesā on the prompt
-
Image 8.1
-
-
Create VPN by clicking āOKā. Wait for the process to finish
-
Image 9.1
-
-
After the process is done, double click again on āAdd VPN Connectionā
-
Image 10.1
-
-
Configure the VPN Connection with configuration below:
-
Setting Name: VPN Name, e.g. Agate Cloud VPN. This is for naming purposes only
-
Host Name: 54.254.17.114
-
Port Number: 5555(Dropdown)
-
Virtual Hub Name: VPN
-
User Name: {Provided VPN Username} (see [Request VPN Credential](How to Connect to Agate VPN Cloud 77af87247ca749d8bc06ee52d81ef31d.md) above)
-
Password: {Provided Password} (see [Request VPN Credential](How to Connect to Agate VPN Cloud 77af87247ca749d8bc06ee52d81ef31d.md) above)
-
Image 11.1
-
-
Click āOKā to continue. You should be able to see the connection you configured.
-
Double click on the connection. If the āstatusā change from āOfflineā to āConnectedā, you are connected to Agateās VPN
-
Image 13.1
-
VPN for Linux User
This step-by-step is showcased using Fedora 35 Linux distribution, but it should work for other distribution. Please adjust and use the relevant module/package accordingly and as needed.
Steps
-
Install L2TP module/package & strongswan by typing this into your terminal:
$ sudo dnf install xl2tpd $ sudo dnf install NetworkManager-l2tp $ sudo dnf install NetworkManager-l2tp-gnome $ sudo dnf install strongswan
-
Wait until all module are installed
-
Open āSettingsā
-
Image 3.1
-
-
Go to āNetworkā > click ā+ā button on VPN section to add new VPN Connection
-
Image 4.1
-
-
Select āLayer 2 Tunneling Protocol (L2TP)ā
-
Image 5.1
-
-
Configure the VPN Profile with configuration below:
-
Name: VPN Name, e.g. AGATE-L2TP. This is for naming purposes only
-
Gateway: vpn600816842.softether.net ****or 54.254.17.114
-
Type: āPasswordā
-
User Name: {Provided VPN Username} (see [Request VPN Credential](How to Connect to Agate VPN Cloud 77af87247ca749d8bc06ee52d81ef31d.md) above)
-
Password: {Provided Password} (see [Request VPN Credential](How to Connect to Agate VPN Cloud 77af87247ca749d8bc06ee52d81ef31d.md) above)
-
NT Domain: Leave empty
-
Image 6.1
-
-
Click āIPsec Settingsā¦ā, a pop-up will appear. Configure with the information below:
-
Check Enable IPsec tunnel to L2TP host
-
Type: Pre-shared key (PSK)
-
Pre-shared key: vpn
-
Image 7.1
-
-
Click Apply on upper right corner. This will close the pop-up
-
Click Add on upper right corner. The VPN Connection should be added
-
Turn on your configured VPN Connection by clicking the toggle
-
Image 10.1
-
-
Your VPN should be connected now
-
Image 11.1
-
Troubleshooting
If connection cannot be established, check whether libreswan is installed or not. By default the NetworkManager-l2tp will use libreswan instead strongswan
$ sudo rpm -q libreswan
*// if returned libreswan version
// ex : libreswan-x.x.x-x.fc35.x86_64
// proceed to the next step*
Switch to strongswan with the following command
$ sudo ipsec stop
$ sudo rpm -e libreswan
$ sudo dnf install strongswan
Switching between libreswan and strongswan helps from some weird compatibilty issue
To revert back to libreswan, just install it again with the following command:
$ sudo dnf install libreswan
When you switch libreswan to strongswan (or the reverse), make sure NetworkManger-l2tp isn't running. You can stop NetworkManger-l2tp with the following command:
$ sudo killall -TERM nm-l2tp-service
Troubleshooting Source: https://community.ui.com/questions/L2TP-unusable-on-Fedora/d91fb0a7-0507-4c6d-be7f-259d2df8edc4
VPN for Mobile User
This step-by-step is showcased using Android. Please adjust accordingly for other mobile OSes.
Steps
-
Go to āSettingsā
-
Tap on āNetwork & Internetā
Alternatively, search āVPNā on settings search
-
Tap āVPNā
-
Tap ā+ā to add VPN Connection
-
Configure the VPN Connection with configuration below:
-
Name: VPN Name, e.g. Agate Cloud VPN. This is for naming purposes only
-
Server Address: vpn600816842.softether.net
-
Type:
-
IPSec Pre-Shared Key: vpn
-
User Name: {Provided VPN Username} (see [Request VPN Credential](How to Connect to Agate VPN Cloud 77af87247ca749d8bc06ee52d81ef31d.md) above)
-
Password: {Provided Password} (see [Request VPN Credential](How to Connect to Agate VPN Cloud 77af87247ca749d8bc06ee52d81ef31d.md) above)
-
Image 5.1
-
-
Tap āSaveā. The VPN Connection should be added
-
Tap on the connection to connect
No Comments