Magazine

How to Setup VPN in Harmony OS

Posted on the 16 August 2023 by Silverhanna
How to Setup VPN in Harmony OS

If you have some Huawei gadgets and you want to use a VPN on your Harmony smart phone we have prepared simple VPN setup guides for you. Below you can see how to setup a PPTP and LTP VPN on Harmony OS.

A virtual private network (VPN) is a private network established on a public network. It has a great level of security, management, and functions. Using a VPN you can protect your privacy and avoid Internet limits as well because you can mask your IP address.

  1. Connect your computer or phone to the CPE's Wi-Fi (or connect your computer to the CPE's LAN port using an Ethernet cable).
  2. Go to Advanced > Router > VPN.
  3. Click Enable VPN to enable the VPN function of the router, and set Connection type to L2TP VPN client.

    Setup Harmony

    1. The parameter values in the following figure are for reference only. Set the parameters based on the actual VPN account.
    2. When L2TP is used for VPN dial-up, the entered parameters must be the VPN server parameters of the L2TP type. Otherwise, the dial-up will fail.
Option Description

Mandatory or Optional

LNS address

IP address or domain name of the L2TP server

Mandatory

Hostname

Host name of the L2TP server

Optional

Setup Harmony

If the server does not have a host name, enter any value. If the server requires host name verification, the entered host name must be correct. For details, see the VPN account that has been applied for.

Tunnel password

Tunnel password of the L2TP server

Optional

Setup Harmony

If the server does not have a tunnel password, enter any value. If the server requires tunnel password verification, the entered tunnel password must be correct. For details, see the VPN account that has been applied for.

PPP user name

User name of the L2TP server

Mandatory

PPP password

Password of the L2TP server

Mandatory

    Click Save. If the Connection Status is Connected, it indicates that the VPN is successfully connected.
  1. Connect your computer or phone to the CPE's Wi-Fi (or connect your computer to the CPE's LAN port using an Ethernet cable).
  2. Go to Advanced > Router > VPN.
  3. Click Enable VPN to enable the VPN function of the router, and set Connection type to PPTP VPN client.

    Setup Harmony

    When PPTP is used for VPN dial-up, the entered parameters must be the VPN server parameters of the PPTP type. Otherwise, the dial-up will fail.

    Option Description

    Mandatory or Optional

  4. Click Save. If the Connection Status is Connected, it indicates that the VPN is successfully connected.

HarmonyOS, also known as Hongmeng OS in Chinese, is an operating system developed by Huawei Technologies, a Chinese multinational technology company. HarmonyOS is designed to be a versatile and unified operating system that can run across a wide range of devices, from smartphones and tablets to smart TVs, wearables, IoT devices, and more.

Key features and aspects of HarmonyOS include:

  1. Distributed Architecture: One of the central concepts of HarmonyOS is its distributed architecture, which enables seamless collaboration and interaction between different devices. This means that devices running HarmonyOS can work together as a unified system, sharing resources and functionalities.
  2. Microkernel Structure: HarmonyOS utilizes a microkernel architecture, which separates critical system services and components from the kernel, providing better security and stability. This design aims to reduce potential vulnerabilities and improve overall system performance.
  3. Adaptive User Experience: HarmonyOS aims to provide a consistent and adaptive user experience across various device types and screen sizes. It supports responsive design and layout adaptation to ensure that apps and interfaces look and work well on different devices.
  4. Multi-Device Collaboration: HarmonyOS supports features that enable multi-device collaboration. For example, users can seamlessly transfer tasks and content between devices, such as using a smartphone to control a HarmonyOS-based smart TV.
  5. Deterministic Latency Engine: HarmonyOS includes a deterministic latency engine that optimizes system resource allocation and task scheduling, resulting in smoother and more responsive user experiences.
  6. Developer-Friendly: HarmonyOS offers a set of development tools and frameworks that make it easier for developers to create applications that can run on different types of devices without significant modifications.

Huawei initially introduced HarmonyOS in 2019 as an alternative operating system amid uncertainties about the company's access to Google's Android ecosystem due to trade restrictions imposed by the U.S. government. HarmonyOS is not only intended to be a replacement for Android but also aims to create a more connected and unified ecosystem of devices under Huawei's umbrella.


Back to Featured Articles on Logo Paperblog