推荐:绕过ppsuc校园网防火墙(补档)
推荐:绕过ppsuc校园网防火墙(补档)
Last edited 2022-5-22
type
Post
status
Published
date
May 18, 2022
slug
summary
推荐用shadowsocks +clash for windows 实现混淆代理
tags
技术
工具
category
技术分享
icon
password
URL
Photo

前提准备

  • 一台云服务器(ubuntu)
  • 云服务器安装docker 和 docker-compose
    • 如何安装docker:https://yeasy.gitbook.io/docker_practice/install/ubuntu 如何安装docker-compose:https://www.myfreax.com/how-to-install-and-use-docker-compose-on-ubuntu-20-04/

Start

一 . 服务器搭建shadowsocks 代理

1. 上传我的压缩包并解压

 
  • 上传(宝塔,SFTP,…. )
  • 解压 :
    • rar文件建议下载unar : apt update && apt install unar
    • cd 到Shadowsocks.rar文件所在目录 unar Shadowsocks.rar
    • notion image

ps : 关于端口的一些说明

notion image

2. 修改好配置文件后 docker一键启动Shadowsocks 服务

notion image
➜ ~ cd /home/Docker/Shadowsocks ➜ Shadowsocks docker-compose up -d WARNING: The Docker Engine you're using is running in swarm mode. Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node. To deploy your application across the swarm, use `docker stack deploy`. Creating Shadowsocks ... Creating Shadowsocks ... done ➜ Shadowsocks docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 549cf1d7d12e shadowsocks_shadowsocks "ss-server -c /etc/s…" 21 seconds ago Up 19 seconds 0.0.0.0:443->443/tcp, :::443->443/tcp Shadowsocks

3 . 开启服务器防火墙端口

本文开启的是443端口,请视情况修改
📒
不同服务器运营商方法不同,请自行百度 ,如果安装宝塔面板记得放行443端口

服务端配置完成

二 . 本地clash 连接服务端 shadowsocks

1 . 本地添加配置文件 或者 下载配置文件

本地创建一个文件xxx.yml
proxies: - name: Firewall_Fuck type: ss server: x.x.x.x #服务端ip port: 443 # 你的服务器端口 , 我这里是443 cipher: chacha20-ietf-poly1305 password: yourpasswd # 你的密码 udp: true rules: - DOMAIN,ad.com,REJECT #可以过滤广告 - SRC-IP-CIDR,192.168.1.201/32,DIRECT - IP-CIDR,127.0.0.0/8,DIRECT - GEOIP,CN,DIRECT
notion image

PS: 高级配置文件请看文档

本人写过一个订阅连接可以当作模板看看:
导入方式:
notion image

三 . 开始使用:

1. 选择你的配置文件

notion image
 

2. 全局模式,选择你的代理

notion image

3. 开启系统代理

notion image

完毕

 
  • 技术
  • 工具
  • 网易云音乐代理密码学