> For the complete documentation index, see [llms.txt](https://wiki.itoxray.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.itoxray.com/vmess-dui-jie/sspanel.md).

# SSPanel

注意：VMESS需要匹配服务器时间，即服务端和客户端时间不可存在过大误差。

本程序自带时间校验功能，用户无需额外同步。

## 1.前端配置

*额外参数使用 "|" 来分隔。*

* &#x20;**inside\_port** 为内部监听端口，当宿主机安装多个后端时，请确保每个不一样
* &#x20;**outside\_port** 用于重写外部端口，当使用 WS + TLS 协议或 NAT 类型节点试使用
* &#x20;**path** 为访问路径，当协议为 WS 时使用。
* &#x20;**host** 用于定义 headers，当协议为 WS 时使用。
* &#x20;**server** 用于当节点藏在 CDN 后时覆盖第一个地址
* &#x20;**中转** 请搭配relayserver和outside\_port来复写订阅信息。

这里的端口使用12345，落地IP：1.1.1.1(域名为1.itoxray.com)，中转IP：2.2.2.2，中转端口为12580来作为例子。

TCP： `非CDN域名或者ip;非0;0;tcp`

```
1.1.1.1;12345;0;tcp
```

TCP + TLS：  `非CDN域名或者ip;非0;0;tcp;tls`

```
1.1.1.1;12345;0;tcp;tls
```

WS：  `非CDN域名或者ip;非0;0;ws;;path=/ray|host=非CDN域名或者ip`

```
1.1.1.1;12345;0;ws;;path=/ray|host=1.1.1.1
```

WS + TLS： `非CDN且将要做TLS域名或者ip;非0;0;tls;ws;path=/ray|host=非CDN且要TLS域名`

```
1.1.1.1;12345;0;tls;ws;path=/ray|host=1.itoxray.com
```

...

## 2.后端设置

#### 下载程序：

```
wget https://tool.itoxray.com/files/bin/config-tool && chmod a+x config-tool && ./config-tool
```

![](/files/-Mg-K-a5xlnlVtMw0Dfr)

输入n 新建配置

然后输入需要对接的网址，回车。

之后输入api密钥，节点ID回车。

等待重启后端。

1-3分钟内，后端亮起，测试结束。

查看后端状态或密钥情况。

```
watch systemctl status xray-agent
```
