Tech、Food & Life

  • 首页
  • 软件下载
    • 电脑和软件
    • Mac软件
    • windows软件
  • Telegram电报
  • 网站资源推荐
  • 海外流媒体
    • netflix
    • Youtube
    • Disney+
    • HBO
  • 生活日常
    • COVID19疫情相关
    • 德国驾照和车
    • 电脑和软件
    • 花花草草
  • 烘焙
  • 关于我
  • 中EN
Tech Food & Life
爱技术,爱美食,爱生活
  1. Home
  2. English Articles
  3. Article

Deploy Docker Shadowsocks on Tencent Cloud to Access China from Abroad

2026年6月8日 1点热度 0人点赞 0条评论
Language: 🇨🇳 中文版 🇬🇧 English

If you need to access Chinese websites and services while abroad, deploying a Shadowsocks proxy on a Tencent Cloud server is a reliable solution. This guide walks you through the process, starting with a clean Debian 11 installation, then installing Docker, and finally setting up Shadowsocks-libev with v2ray-plugin.

1. Prepare Your Tencent Cloud Server

Tencent Cloud's default images often have issues, so it's best to reinstall with a clean Debian 11 using a DD script. However, Tencent Cloud includes components that block DD installation. You must disable and remove them first.

systemctl stop tat_agent
systemctl disable tat_agent
rm -rf /etc/systemd/system/tat_agent.service
rm -fr /usr/local/qcloud

ps -A | grep agent
# Check if any Tencent Cloud components remain
# kill the process if found

After removing all Tencent Cloud components, you can proceed with DD installation. I recommend using the hiCasper script, which I've reviewed and found safe.

# Install required dependencies
apt-get install -y xz-utils openssl gawk file curl wget

wget --no-check-certificate -O AutoReinstall.sh "https://cdn.jsdelivr.net/gh/hiCasper/Shell/AutoReinstall.sh" && bash AutoReinstall.sh

# Manually select your OS; I chose Debian 11
# After selection, the process is fully automatic

After about 10 minutes (depending on your VPS performance), you'll have a fresh Debian 11 installation. SSH into your VPS (remember to change the SSH port and disable password login).

Username: root
Default password: Pwd@Linux

2. Install Docker

Use the official Docker installation script with a Aliyun mirror for faster download in China.

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

3. Deploy Shadowsocks-libev with v2ray-plugin (WebSocket, No Domain Required)

Follow these steps to set up the proxy without needing a domain name.

3.1 Create Configuration File

mkdir /etc/shadowsocks-libev
cd /etc/shadowsocks-libev
vim config.json

# Add the following configuration:
{
"server":"0.0.0.0",
"server_port":9000,
"method":"aes-256-gcm",
"timeout":300,
"password":"password0",
"fast_open":false,
"nameserver":"8.8.8.8",
"mode":"tcp_and_udp",
"plugin":"v2ray-plugin",
"plugin_opts":"server"
}
# Save and exit

Note: Keep server as 0.0.0.0. For more options, refer to the official documentation. If you set "plugin_opts":"server;mux=0", you can use Quantumult X to add the node.

3.2 Run Docker Container

docker run -d --name ss-libev --restart always -p 9000:9000 -p 9000:9000/udp -v /etc/shadowsocks-libev:/etc/shadowsocks-libev teddysun/shadowsocks-libev

Explanation: -d runs in background; --name assigns a name; --restart always auto-restarts; -p maps ports (TCP and UDP); -v mounts the config directory; teddysun/shadowsocks-libev is the Docker image.

Check if the container is running:

docker ps -as

You should see ss-libev in the list.

4. Configure Client

For Shadowrocket (iOS), use the China-return rules to proxy only traffic to Chinese sites.

Your proxy is now ready. Connect your client using the server IP, port 9000, password you set, and method aes-256-gcm with v2ray-plugin (WebSocket).

标签: 暂无
最后更新:2026年6月8日

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

Latest Popular Random
Latest Popular Random
德国求职信(Anschreiben)怎么写:格式规范与正文结构详解 德国 Bio 有机产品值不值得买:哪些食物优先选有机,在哪里买最省 德国学生餐厅(Mensa)完全指南:价格、菜单、付款和全国特色 穷游瑞士:从德国出发 5 天 500 欧的可行路线 Notion + Obsidian 管理博士/硕士科研笔记:知识库搭建方案 在德国复刻中式早餐:豆浆、油条和葱油饼在家怎么做
ggplot2 科研配色方案:5 套可直接用的代码单细胞测序入门:Seurat 完整流程(raw counts → UMAP)全注释德国面粉 Type 405/550/1050 区别:对应中国低筋/中筋/高筋粉的换算在德国做中式面食:食材替代方案和必去亚洲超市攻略德国黄油烘焙指南:Süßrahm vs Sauerrahm、脂肪含量和温度处理德国硕士申请全流程:Uni-Assist 注册、材料提交和 NC 判断
CPU占用查看工具RunCat_for_windows WinRAR注册并去除屏蔽广告弹窗 德国网购退货全攻略:Amazon.de / Zalando / Otto 对比 全球实时航班交通(FlightAware) 免费机场/白嫖、公益机场推荐评测 2021年12月隔离政策更新*全国各地最新隔离政策汇总!
Tags
奈飞 windows 在线 破解 mac 4k 下载 Netflix

COPYRIGHT © 2020-2025 SUNQI.ORG ALL RIGHTS RESERVED. 本站部分资源来源于网络,如有侵权请联系删除,谢谢。

Theme Kratos Made By Seaton Jiang