GithubHelp home page GithubHelp logo

fork https://github.com/CCChieh/IBMYes

fork修改内容:

  • Secrets 加入 V2_ID, V2_PATH, ALTER_ID,
    对应vmess id, ws path, alterId
  • 使用actions, 每周自动更新v2ray, 部署到 IBM Cloud Foundray.

配置流程

配置IBM Cloud Fonudray

  • 注册并登录https://cloud.ibm.com/
  • 点击右侧 创建资源
  • 点击Cloud Foundray
  • 创建公共应用程序
  • 填写相关信息: 区域达拉斯(免费). 内存最高256M. 应用名称. 配置资源选Python
  • 应用程序域名 就是 应用名称+域, 比如: ibmyes.us-south.cf.appdomain.cloud
  • 点击右侧 创建

配置 Cloudflare 高速节点中转

这部分不配置也可以直接连 应用程序域名 使用, 就是有点慢.

  • 注册并登录https://www.cloudflare.com/
  • 点击 Workers
  • 点击 创建Worker
  • 在脚本位置加入下面这段, url.hostname修改为对应的 应用程序域名.
addEventListener(
  "fetch",event => {
    let url=new URL(event.request.url);
    url.hostname="ibmyes.us-south.cf.appdomain.cloud";
    let request=new Request(url,event.request);
    event.respondWith(
      fetch(request)
    )
  }
)
  • 点击保存并部署, 这里会给一个网址(比如cloudflare_workers.dev), 这个就是 v2ray 客户端要连的地址.

利用Github Actions 自动部署 IBM Cloud Fonudray

  • 返回 github, 到本项目 https://github.com/fcying/IBMYes
  • 点击右上角 Use this template, 生成一个自己的仓库(设为public,如果要用private,需要修改deploy.sh,提供一个可以下载的config.json连接)
  • 点击自己仓库的 Settings.
  • 点击 Secrets 建立以下几个secret, 不修改默认值的可以不建:
    IBM_ACCOUNT IBM Cloud的登录邮箱和密码, 一行邮箱, 一行密码.
    IBM_APP_NAME IBM应用的名称.
    IBM_MEMORY IBM应用内存大小, 默认值128M.
    V2_ID vmess id, 默认值d007eab8-ac2a-4a7f-287a-f0d50ef08680.
    V2_PATH ws path, 默认值path.
    ALTER_ID alterId, 默认值1.
    VLESS_EN 是否使用vless, 默认值false.
  • 点击项目 Actions, 点击IBM Cloud Deploy, 点击Run workflow, 后续每周会自动部署一次(IBM 10天不用会停).
  • 如果需要其他配置, 可以编辑自己仓库的config/config.json文件.

客户端设置

Clash

下面为对应的vmess部分设置.修改其中的server,uuid,alterId,path就好了.

  - name: "IBM"
    type: vmess
    server: cloudflare_workers.dev
    port: 443
    uuid: V2_ID
    alterId: ALTER_ID
    cipher: none
    udp: true
    tls: true
    network: ws
    ws-path: /V2_PATH

v2rayng

    address: cloudflare_workers.dev
    port: 443
    id: V2_ID
    alterId: ALTER_ID
    security: none
    network: ws
    path: /V2_PATH
    底层传输安全: tls

server address 可以使用 cloudflare.com或者别的CF的比较快的IP,对应的加一个伪装设置就行.

    clash:
    server: cloudflare.com
    ws-headers:
      Host: cloudflare_workers.dev

    v2rayng:
    address: cloudflare.com
    伪装域名: cloudflare_workers.dev

dlonzyz's Projects

hysteria icon hysteria

Hysteria is a feature-packed network utility optimized for networks of poor quality (e.g. satellite connections, congested public Wi-Fi, connecting from China to servers abroad)

install-script icon install-script

支持Xray/Trojan-Go/Hysteria/NaiveProxy的多用户Web管理面板

iptv icon iptv

Collection of publicly available IPTV channels from all over the world

iptv-1 icon iptv-1

肥羊的4K/8K超高清IPTV直播源&&直播代码仓库

iptv-2 icon iptv-2

IPTV 频道 影视 电视 直播 源

itv icon itv

从多个 m3u 列表按关键字筛选并组合节目列表

linux-netspeed icon linux-netspeed

BBR+BBR魔改+Lotsever(锐速)一键脚本 for Centos/Debian/Ubuntu

liveproxyspeedtest icon liveproxyspeedtest

🌩「自选优选 IP」测试直播代理 IP 延迟和速度,获取最快 IP (IPv4 / IPv6)!暂时支持百视通BesTV、爱尚AiShang

onelist icon onelist

一个类似emby的专注于刮削alist聚合网盘形成影视媒体库的程序。

openwrt-2 icon openwrt-2

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.

openwrt-packages-1 icon openwrt-packages-1

国内常用OpenWrt软件包源码合集,每天自动更新,建议使用lean或project-openwrt源码

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.