Coder Social home page Coder Social logo

tuic-install's Introduction

TUIC 安装指南

  1. 下载程序(linux-amd64)
curl -Lo /root/tuic https://github.com/EAimTY/tuic/releases/download/0.8.4/tuic-server-0.8.4-x86_64-linux-musl && chmod +x /root/tuic
  1. 下载配置
curl -Lo /root/tuic_config.json https://raw.githubusercontent.com/chika0801/tuic-install/main/config_server.json
  1. 下载systemctl配置
curl -Lo /etc/systemd/system/tuic.service https://raw.githubusercontent.com/chika0801/tuic-install/main/tuic.service
  1. 上传证书和私钥
  • 将证书文件改名为fullchain.cer,将私钥文件改名为private.key,使用WinSCP登录你的VPS,将它们上传到/root/目录。
  1. 启动程序
systemctl daemon-reload && systemctl enable --now tuic
systemctl status tuic
项目
程序 /root/tuic
配置 /root/tuic_config.json
检查 /root/tuic -c tuic_config.json
查看日志 journalctl -u tuic --output cat -e
实时日志 journalctl -u tuic --output cat -f

v2rayN 5.x 配置指南

  1. 下载Windows客户端程序tuic-client-0.8.4-x86_64-windows-msvc.exe,重命令为tuic.exe,复制到v2rayN文件夹。

  2. 下载客户端配置config_client.json,修改chika.example.com为证书中包含的域名,修改10.0.0.1为VPS的IP。

  3. 服务器 ——> 添加自定义配置服务器 ——> 浏览(B) ——> 选择客户端配置 ——> Core类型 tuic ——> Socks端口 50001

1

小技巧:只要证书在有效期内,证书中包含的域名不用解析到VPS的IP。一份证书,在多个VPS上使用。

SagerNet 配置指南

点击查看
选项
配置名称
服务器 VPS的IP
服务器端口 16386
Token chika
应用层协议协商 h3
证书(链) 留空
UDP Relay Mode NATIVE
Congestion Controller BBR
Disable SNI 不勾
服务器名称指示 证书中包含的域名
Reduce RTT 勾上
MTU 1146

Shadowrocket 配置指南

点击查看
选项
配置名称
类型 TUIC
地址 VPS的IP
端口 16386
密码 chika
模式 bbr
允许不安全 不选
UDP转发 选上
SNI 证书中包含的域名
ALPN h3
备注 留空

tuic-install's People

Contributors

chika0801 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.