How to Create and Connect to VPN

Step 1: Open Run Dialog

Press Windows Key + R to open the Run dialog.

Run Dialog

Step 2: Open Command Prompt

Type cmd and press Enter to open Command Prompt.

Command Prompt

Step 3: Paste and Run PowerShell Script

Right-click inside Command Prompt to paste the following PowerShell script, and then press Enter:

powershell Add-VpnConnection -Name "Office_VPN_146L" -ServerAddress "103.173.135.146" -TunnelType L2tp -EncryptionLevel Optional -AuthenticationMethod MSChapv2 -L2tpPsk "600125" -Force

powershell Add-VpnConnection -Name "Office_VPN_146P" -ServerAddress "103.173.135.146" -TunnelType "Pptp"
Command Prompt with PowerShell Script

Step 4: Install Microsoft Authenticator

Install Microsoft Authenticator from the Play Store or App Store.

Step 5: Scan the QR Code from WhatsApp

Use Microsoft Authenticator to scan the QR code provided on WhatsApp to set up MFA (Multi-Factor Authentication).

Scanning QR Code in Microsoft Authenticator Combined Password and OTP

Step 6: Find Username, Password from Whatsapp, and OTP from MFA APP

For example, if the username of Kishore is kishore@elemertech.in and password is yahoo123:

Combine Password and OTP:

Password + OTP: yahoo123895823

Step 7: Connect to VPN from Taskbar

After the VPN connection is created, go to the taskbar, click on the network icon, then click on VPN, and select "Office_VPN_146" to connect.

Network Icon with VPN Option