1# @ohos.net.vpn (VPN Management)
2
3This module is the built-in VPN function provided by the OS. It allows users to set up VPN connections through the network settings of the OS. Generally, this module provides only limited functions and is subject to strict restrictions.
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8
9
10## Modules to Import
11
12```js
13import { vpn } from '@kit.NetworkKit';
14```
15
16## LinkAddress
17
18type LinkAddress = connection.LinkAddress
19
20Defines the network link address information.
21
22**System capability**: SystemCapability.Communication.NetManager.Core
23
24| Type  | Description                                                        |
25| ------ | ------------------------------------------------------------ |
26| [connection.LinkAddress](./js-apis-net-connection.md#linkaddress) | Network link address information.|
27
28## RouteInfo
29
30type RouteInfo = connection.RouteInfo
31
32Defines the network route information.
33
34**System capability**: SystemCapability.Communication.NetManager.Core
35
36| Type  | Description                                                        |
37| ------ | ------------------------------------------------------------ |
38| [connection.RouteInfo](./js-apis-net-connection.md#routeinfo) | Network route information.|
39
40
41## AbilityContext
42
43type AbilityContext = _AbilityContext
44
45**System capability**: SystemCapability.Ability.AbilityRuntime.Core
46
47
48| Type  | Description                                                        |
49| ------ | ------------------------------------------------------------ |
50| [_AbilityContext](../apis-ability-kit/js-apis-inner-application-uiAbilityContext.md) | Context of the target **UIAbility**. It is inherited from **Context** and provides the **UIAbility** configuration and methods for operating **UIAbility** and **ServiceExtensionAbility**.|
51