> 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/mac-conf.md).

# 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使用了.+

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