Giter Site home page Giter Site logo

x-for-okteto's Introduction

X for Okteto


目录


项目特点:

  • 使用 CloudFlare 的 Argo 隧道,同时兼容 Json / token / 临时 三种方式认证,使用TLS加密通信,可以将应用程序流量安全地传输到Cloudflare网络,提高了应用程序的安全性和可靠性。此外,Argo Tunnel也可以防止IP泄露和DDoS攻击等网络威胁
  • 解锁 chatGPT
  • 在浏览器查看系统各项信息,方便直观
  • 集成哪吒探针,可以自由选择是否安装,支持 SSL/TLS 模式,适配 Nezha over Argo 项目: https://github.com/fscarmen2/Argo-Nezha-Service-Container
  • uuid,WS 路径既可以自定义,又或者使用默认值
  • 前端 js 定时和 pm2 配合保活,务求让恢复时间减到最小
  • 节点信息以 V2rayN / Clash / 小火箭 链接方式输出
  • 可以使用浏览器访问,使用 ttyd,ssh over http2
  • 项目路径 https://github.com/fscarmen2/X-for-Okteto

部署:

  • 注册 Okteto ,需要绑定 Github 账户,同时 Github 也要多加个企业邮箱,可以使用 CF 的域名邮箱,具体方法请谷歌

  • PaaS 平台设置的环境变量

    变量名 是否必须 默认值 备注
    UUID de04add9-5c68-8bab-950c-08cd5320df18 可在线生成 https://www.zxgj.cn/g/uuid
    WSPATH argo 勿以 / 开头,各协议路径为 /WSPATH-协议,如 /argo-vless,/argo-vmess,/argo-trojan,/argo-shadowsocks
    NEZHA_SERVER 哪吒探针与面板服务端数据通信的IP或域名
    NEZHA_PORT 哪吒探针服务端的端口
    NEZHA_KEY 哪吒探针客户端专用 Key
    NEZHA_TLS 哪吒探针是否启用 SSL/TLS 加密 ,如不启用不要该变量,如要启用填"1"
    ARGO_AUTH Argo 的 Token 或者 json 值
    ARGO_DOMAIN Argo 的域名,须与 ARGO_DOMAIN 必需一起填了才能生效
    WEB_USERNAME admin 网页和 webssh 的用户名
    WEB_PASSWORD password 网页和 webssh 的密码
    SSH_DOMAIN webssh 的域名,用户名和密码就是 <WEB_USERNAME> 和 <WEB_PASSWORD>
  • 路径(path)

    命令 说明
    /list 查看节点数据
    /status 查看后台进程
    /listen 查看后台监听端口

image

image

image

image

image

Argo Json 的获取

用户可以通过 Cloudflare Json 生成网轻松获取: https://fscarmen.cloudflare.now.cc

image

如想手动,可以参考,以 Debian 为例,需要用到的命令,Deron Cheng - CloudFlare Argo Tunnel 试用

Argo Token 的获取

详细教程: 群晖套件:Cloudflare Tunnel 内网穿透中文教程 支持DSM6、7

image

image

image

TTYD webssh 的部署

  • 原理
+---------+     argo     +---------+     http     +--------+    ssh    +-----------+
| browser | <==========> | CF edge | <==========> |  ttyd  | <=======> | ssh server|
+---------+     argo     +---------+   websocket  +--------+    ssh    +-----------+
  • 只能使用 Json 方式建的隧道,不能使用 Token

image

image

image

image

鸣谢下列作者的文章和项目:

大佬 Nike Jeff 的 trojan 项目,https://github.com/hrzyang/glitch-trojan ,在此基础上作修改。

免责声明:

  • 本程序仅供学习了解, 非盈利目的,请于下载后 24 小时内删除, 不得用作任何商业用途, 文字、数据及图片均有所属版权, 如转载须注明来源。
  • 使用本程序必循遵守部署免责声明。使用本程序必循遵守部署服务器所在地、所在国家和用户所在国家的法律法规, 程序作者不对使用者任何不当行为负责。

x-for-okteto's People

Contributors

fscarmen2 avatar

Stargazers

伶枫 avatar  avatar  avatar  avatar  avatar 极客青年 avatar  avatar  avatar 佐世保时雨 avatar  avatar xiaozhiob avatar  avatar  avatar  avatar Arash Nemat Zadeh avatar Mohammad avatar  avatar  avatar  avatar saeed avatar GetPHP avatar  avatar

Watchers

 avatar xiaozhiob avatar  avatar

x-for-okteto's Issues

求助:报错了。。

填完变量之后部署的时候报错

Run"Load manifest"

Found okteto compose manifest on docker-compose.yml

Unmarshalling compose...

Okteto compose unmarshalled successfully

deploy command failed: exit status 1

是因为变量写错了吗??

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.