📗
deeplearning
  • 机器学习
    • LR & SVM
    • 树模型
    • 评测指标
    • 数据不平衡
  • CV基础
    • 基础模型
    • 初始化
    • 激活函数
    • 注意力机制
    • 损失函数
    • 优化器
    • 可视化
    • 轻量级网络
    • 多任务学习
  • deepfake
    • 数据集
  • 人脸
    • 数据集
    • 人脸对齐
    • 人脸检测
    • 人脸识别
  • 语义分割
    • 语义分割
  • 无监督
    • 无监督
  • 推荐系统
    • 推荐系统模型
    • 推荐系统中的偏差
    • 王喆:深度学习推荐系统
    • 特征处理
    • 重排序
    • 互联网商业化变现
  • 数学
    • bayes最大似然
    • 蒙特卡洛
  • 网站
    • css
    • html
    • js
    • jquery
    • flask
  • 基础工具
    • anaconda
    • docker
    • git
    • linux install
    • vpn
    • latex
  • python
    • numpy
    • matplotlib
    • pandas
    • multi process
    • pytorch
  • 设计模式
    • 设计模式之美
    • 图说设计模式
  • 其他
    • how to ask
    • python style
Powered by GitBook
On this page

Was this helpful?

  1. 基础工具

vpn

配置SwitchyOmega规则列表地址: https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt

v2ray

debian系统

  • 需要安装依赖apt install curl unzip daemon

  • 安装bash <(curl -L -s https://install.direct/go.sh)

  • 服务器配置vim /etc/v2ray/config.json

  • 启动服务systemctl start v2ray

  • 重启停止服务systemctl start|restart|stop|status v2ray

mac

  • 安装brew tap qiwihui/v2ray

  • brew install v2ray-core

  • 配置/usr/local/etc/v2ray/config.json

  • 启动服务brew services start start v2ray

  • 重启停止服务brew services start|restart|stop|status v2ray

  • v2ray配置大全:https://toutyrater.github.io/(墙)

  • 按道理来说,如下的配置是没有错误的,但是还是连不上,可能是mac客户端的问题

  • 服务器配置

{
  "inbounds": [
    {
      "port": 443,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "uuid" 
          }
        ]
      }
    },
    {
      "port": 444,
      "protocol": "shadowsocks",
      "settings": {
        "method": "aes-128-gcm",
        "password": "yuan.ga"
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    }
  ]
}
  • 客户端配置

{
  "inbounds": [
    {
      "port": 1080, // 监听端口
      "protocol": "socks", // 入口协议为 SOCKS 5
      "sniffing": {
        "enabled": true,
        "destOverride": ["http", "tls"]
      },
      "settings": {
        "auth": "noauth"  // 不认证
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "shadowsocks",
      "settings": {
        "servers": [
          {
            "address": "serveraddr.com", // Shadowsocks 的服务器地址
            "method": "aes-128-gcm", // Shadowsocks 的加密方式
            "ota": true, // 是否开启 OTA,true 为开启
            "password": "sspasswd", // Shadowsocks 的密码
            "port": 1024  
          }
        ]
      }
    }
  ]
}
Previouslinux installNextlatex

Last updated 3 years ago

Was this helpful?