# Mac客户端连接配置

## 1.追加vpn配置

追加网络配置

![](/files/-LMQrJgJutb2ADjvARfd)

&#x20;点击`+`

![](/files/-LMQrPWhZ5IJgDWoDlrA)

选择

`Interface:VPN`

`VPN Type`:`L2TP over IPsec`

点击`Create`(创建).

![](/files/-LMQrVr38CRUJGV6L73n)

&#x20;填入如下信息

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

{% hint style="info" %}
&#x20;`Account Name`(账号):
{% endhint %}

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

![](/files/-LMQrk5fSItkBmDY7QZu)

点击`Authentication Settings...`,

填入如下信息.

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

{% hint style="info" %}
&#x20;`Shared Secret`(预共享密钥):
{% endhint %}

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

![](/files/-LMQs1OfeeiScLTUJiDG)

点击`OK`(确认)保存认证信息后，

会自动返回到`Network`.+

点击`Advanced...` (显示更多)后,

选择`Send all traffic over VPN connection`(发送所有流量).

![](/files/-LMQs8FPjMphi06Tp2M1)

## 2.连接vpn

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

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gfw.gitbook.io/vpn/mac-conf.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
