# 自建独享落地节点

{% hint style="info" %}
适用于对 IP 质量要求较高的用户，需要一定的理解与动手能力

基于 L4 转发，理论上支持任何协议，以下仅为示例
{% endhint %}

* `系统建议：Linux Debian 10 及以上`
* `运行环境：Docker`
* `运行软件：Shadowsocks rust`

### 安装步骤

```
apt install docker.io -y
```

```
docker pull ghcr.io/shadowsocks/ssserver-rust && \
docker run --entrypoint ssserver \
        -d --name=shadowsocks \
           --net=host \
           --restart=always \
           --log-driver json-file \
           --log-opt max-size=10m \
           --log-opt max-file=3 \
        ghcr.io/shadowsocks/ssserver-rust \
        -s "[::]:8080" -m "aes-128-gcm" -k "Password" -U
```

or (DNS)

```
docker pull ghcr.io/shadowsocks/ssserver-rust && \
docker run --entrypoint ssserver \
        -d --name=shadowsocks \
           --net=host \
           --restart=always \
           --log-driver json-file \
           --log-opt max-size=10m \
           --log-opt max-file=3 \
        ghcr.io/shadowsocks/ssserver-rust \
        -s "[::]:8080" -m "aes-128-gcm" -k "Password" -U --dns "1.1.1.1,1.0.0.1"
```

or (IPv6 first)

<pre data-title="" data-full-width="false"><code><strong>docker pull ghcr.io/shadowsocks/ssserver-rust &#x26;&#x26; \
</strong>docker run --entrypoint ssserver \
        -d --name=shadowsocks \
           --net=host \
           --restart=always \
           --log-driver json-file \
           --log-opt max-size=10m \
           --log-opt max-file=3 \
        ghcr.io/shadowsocks/ssserver-rust \
        -s "[::]:8080" -m "aes-128-gcm" -k "Password" -U -6
</code></pre>

{% hint style="info" %}
~~对~~ [~~Telegram Bot~~](https://t.me/DlerCloud_bot) ~~发送指令 "/ssserver" 或 "/ssserver\_v6" 即可获取与本站个人端口加密/协议一致的部署命令~~
{% endhint %}

### 添加流量转发规则

1. 选择起源节点
2. 填入目标服务器地址
3. 填入目标端口
4. 勾选\[目标节点与本站个人端口加密/协议一致]

一分钟内自动生效，正常情况下在代理客户端选择起源节点即可

### 口碑较好的商家（排名不分先后）

{% hint style="info" %}
配合流量转发，仅需购买**国际宽带网络（**&#x52;outing Profile: Standar&#x64;**）**&#x56;PS/VDS
{% endhint %}

### 商业：静态 IP (static IP)

| 香港                                                       | 台湾                                     | 日本                                                       | 美国                                                       | 新加坡                                                          | 全球                                                                                    |
| -------------------------------------------------------- | -------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------------------------------- |
| [Dmit](https://www.dmit.io/aff.php?aff=21)               | [host.dler.org](http://host.dler.org/) | [Dmit](https://www.dmit.io/aff.php?aff=21)               | [Dmit](https://www.dmit.io/aff.php?aff=21)               | [IndoVirtue](https://billing.indovirtue.com/aff.php?aff=348) | [Vultr](https://www.vultr.com/?ref=7118937)                                           |
| [RFChost](https://my.rfchost.com/aff.php?aff=542)        |                                        | [Bandwagon](https://bandwagonhost.com/aff.php?aff=71806) | [RFChost](https://my.rfchost.com/aff.php?aff=542)        | [Nube](https://nube.sh/invite/2624168578884Z)                | [Linode](https://www.linode.com/lp/refer/?r=e4032736eb3640edd99335be2aa5cdaff53c9a00) |
| [Bandwagon](https://bandwagonhost.com/aff.php?aff=71806) |                                        | [Nube](https://nube.sh/invite/2624168578884Z)            | [Bandwagon](https://bandwagonhost.com/aff.php?aff=71806) | [RFChost](https://my.rfchost.com/aff.php?aff=542)            | [LightNode](https://www.lightnode.com/?inviteCode=BHYI2Q\&promoteWay=LINK)            |
| [Nube](https://nube.sh/invite/2624168578884Z)            |                                        | [RFChost](https://my.rfchost.com/aff.php?aff=542)        | [Nube](https://nube.sh/invite/2624168578884Z)            |                                                              |                                                                                       |

### 流媒体：动态IP (dynamic IP or Random IPv6)

| 香港                                                                               | 台湾                                                                               | 日本                                                                               | 美国                                                                               | 新加坡                                                                              | 韩国                                                                               | 英国                                                                               |
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| [NNC](https://new.nnc.sh/deploy/?aff=75)                                         | [NNC](https://new.nnc.sh/deploy/?aff=75)                                         | [NNC](https://new.nnc.sh/deploy/?aff=75)                                         | [NNC](https://new.nnc.sh/deploy/?aff=75)                                         | [NNC](https://new.nnc.sh/deploy/?aff=75)                                         | [Akile](https://akile.io/register?aff_code=f9cd9c94-8a32-491b-92d9-d7cb858748ed) | [Akile](https://akile.io/register?aff_code=f9cd9c94-8a32-491b-92d9-d7cb858748ed) |
| [Akile](https://akile.io/register?aff_code=f9cd9c94-8a32-491b-92d9-d7cb858748ed) | [Akile](https://akile.io/register?aff_code=f9cd9c94-8a32-491b-92d9-d7cb858748ed) | [Akile](https://akile.io/register?aff_code=f9cd9c94-8a32-491b-92d9-d7cb858748ed) | [Akile](https://akile.io/register?aff_code=f9cd9c94-8a32-491b-92d9-d7cb858748ed) | [Akile](https://akile.io/register?aff_code=f9cd9c94-8a32-491b-92d9-d7cb858748ed) |                                                                                  |                                                                                  |
| [PoloCloud](https://polocloud.xyz)                                               | [PoloCloud](https://polocloud.xyz)                                               | [PoloCloud](https://polocloud.xyz)                                               | [PoloCloud](https://polocloud.xyz)                                               | [PoloCloud](https://polocloud.xyz)                                               |                                                                                  | [PoloCloud](https://polocloud.xyz)                                               |
| [RFChost](https://my.rfchost.com/aff.php?aff=542)                                |                                                                                  | [RFChost](https://my.rfchost.com/aff.php?aff=542)                                | [RFChost](https://my.rfchost.com/aff.php?aff=542)                                | [RFChost](https://my.rfchost.com/aff.php?aff=542)                                |                                                                                  |                                                                                  |

{% hint style="warning" %}
以上部分链接包含AFF
{% endhint %}

### 更换 XanMod 内核

```
bash <(curl -fsSL https://raw.githubusercontent.com/dler-io/script/main/kernel.sh)
```

### 优化

```
bash <(curl -fsSL https://raw.githubusercontent.com/dler-io/script/main/optimize.sh)
```
