> For the complete documentation index, see [llms.txt](https://gfw.gitbook.io/vpn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gfw.gitbook.io/vpn/android-conf.md).

# Android客户端连接配置

<mark style="color:red;">安卓12以上的版本，请使用</mark>[<mark style="color:green;">OpenVPN</mark>](/vpn/multi-platform.md)

## 1.追加vpn配置

&#x20;点击`Settings`（设置）.

![](/files/-LMQpCylLdgu4TJuqYNw)

在`Wireless & Networks`(WIFI)目录,

点击 `More...`(更多) ,然后选择 `VPN`.

![](/files/-LMQpMAhXBpzAHxyQaaK)

![](/files/-LMQpRCZ2FaWwsPuXLgy)

&#x20;点击`Add VPN profile`（追加vpn）来创建vpn连接设置.

![](/files/-LMQpY6PmrvK_tGEvpkS)

&#x20;编辑`vpn`配置文件

![](/files/-LMQpeQ8zqv0rC1hURlq)

&#x20;选择`Show advanced options`(显示更多),可以打开更多选项

![](/files/-LMQpkZ8T8ICLwqEbI_O)

![](/files/-LMQpuLcJikwxuktSjOp)

&#x20;在配置里面，填入如下信息：

{% hint style="info" %}
&#x20;`Name`(名字)：
{% endhint %}

{% hint style="info" %}
&#x20;`Type`(类型): **`L2TP/IPSec PSK`**
{% endhint %}

{% hint style="info" %}
&#x20;`Server address`(服务器)：
{% endhint %}

{% hint style="info" %}
&#x20;`IPSec pre-shared key`(预共享密钥)：
{% endhint %}

{% hint style="info" %}
&#x20;`Forwarding routes`(路由转发):**0.0.0.0/0**
{% endhint %}

{% hint style="info" %}
&#x20;`Username`(账号)：
{% endhint %}

{% hint style="info" %}
&#x20;`Password`(密码)：
{% endhint %}

> &#x20;以上信息在申请账号时，会发送邮件到您的邮箱.

## 2.连接vpn

选择刚才创建的vpn配置,然后就可以连接vpn使用了.

查看连接状态,确认连接是否成功.

![](/files/-LMQqkPLVKpNivC3JVtS)
