Description
============================================
SS - 2022 管理脚本
作者: jinqian
网站:https://jinqians.com
- 更新脚本
—————————————————————————————————— - 安装 Shadowsocks Rust
- 更新 Shadowsocks Rust
- 卸载 Shadowsocks Rust
—————————————————————————————————— - 启动 Shadowsocks Rust
- 停止 Shadowsocks Rust
- 重启 Shadowsocks Rust
—————————————————————————————————— - 设置 配置信息
- 查看 配置信息
- 查看 运行状态
—————————————————————————————————— - 安装 ShadowTLS
- 退出脚本
——————————————————————————————————
==================================
当前状态:未安装
请输入数字 [0-10]:1
[信息] 开始设置配置...
[信息] 已生成随机端口:49348
[注意] 是否使用该随机端口?
- 是
- 否,我要自定义端口
==================================
(默认: 1. 使用随机端口):2
请输入 Shadowsocks Rust 端口 [1-65535]
(默认:2525):33905
==================================
端口: 33905
[信息] 检查防火墙配置...
[信息] 检测到 iptables 防火墙...
[信息] 正在将端口 33905 加入 iptables 规则...
[成功] iptables 端口开放完成!
请选择 Shadowsocks Rust 加密方式
- aes-128-gcm (默认)
- aes-256-gcm (推荐)
- chacha20-ietf-poly1305
- plain (不推荐)
- none (不推荐)
- table
- aes-128-cfb
- aes-256-cfb
- aes-256-ctr
- camellia-256-cfb
- rc4-md5
- chacha20-ietf
==================================
[注意] AEAD 2022 加密(须v1.15.0及以上版本且密码须经过Base64加密)
================================== - 2022-blake3-aes-128-gcm (推荐)
- 2022-blake3-aes-256-gcm (推荐)
- 2022-blake3-chacha20-poly1305
- 2022-blake3-chacha8-poly1305
==================================
(默认: 1. aes-128-gcm):
==================================
加密: aes-128-gcm
请输入 Shadowsocks Rust 密码 [0-9][a-z][A-Z]
(默认:随机生成 Base64):
==================================
密码: Cs5ytv8TnwMj3vyHtG+bbQ==
是否启用 TFO ?
- 启用
- 禁用
==================================
(默认:1):
==================================
TFO: true
请选择 DNS 配置方式:
- 使用系统默认 DNS (推荐)
- 自定义 DNS 服务器
==================================
(默认:1):
==================================
DNS: 使用系统默认 DNS
[信息] 开始安装/配置依赖...
[信息] 开始安装系统依赖...
Hit:1 http://mirrors.aliyun.com/ubuntu noble InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu noble-updates InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu noble-backports InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu noble-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
jq is already the newest version (1.7.1-3build1).
gzip is already the newest version (1.12-1ubuntu3).
wget is already the newest version (1.21.4-1ubuntu4.1).
curl is already the newest version (8.5.0-2ubuntu10.6).
unzip is already the newest version (6.0-28ubuntu4.1).
xz-utils is already the newest version (5.6.1+really5.4.5-1build0.1).
openssl is already the newest version (3.0.13-0ubuntu3.5).
qrencode is already the newest version (4.1.1-1build2).
tar is already the newest version (1.35+dfsg-3build1).
0 upgraded, 0 newly installed, 0 to remove and 107 not upgraded.
cp: '/usr/share/zoneinfo/Asia/Shanghai' and '/etc/localtime' are the same file