Giter Site home page Giter Site logo

dumpmemory / vpstoolbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from laoz77/trojan-gfw-script

1.0 0.0 2.0 133.95 MB

厌倦了总是需要手动输入命令安装博客,网盘,RSS,邮箱,影音,代理了吗?VPSToolBox提供了一整套全自动化的解决方案,解放双手,从今天开始!

License: MIT License

Shell 100.00%

vpstoolbox's Introduction

VPSToolBox

English version

一键在 Linux VPS 上安装 Trojan-GFW。

A Trojan-GFW script designed for Debian based Linux virtual private server.

使用方法 How to use

apt -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true update && apt-get install sudo curl screen -y && curl -LO https://raw.githubusercontent.com/johnrosen1/vpstoolbox/master/vps.sh && sudo screen -U bash vps.sh

仅支援 Debian/Ubuntu 系统。

给纯新手小白看的教程

纯新手教程点这里!!!

如果觉得好用,欢迎打钱帮助开发或者尝试以下服务,😃❤️🤣

流程图

流程图

路由测试

路由测试用于自动生成Trojan/Vless链接,现已支持 AS4134 AS4837 AS9808 AS4538 AS4809 AS9929 AS2914 AS2497 AS2516 AS4725 AS3491 AS9269 AS4635 AS4760 AS58453 AS4637 AS64050 AS6939 AS174 AS3356 AS3257 AS6461 AS701 AS7018 AS1239 AS1299 AS6453 AS6830 AS5511 AS6762 AS3320 对应 163 169 CMNET CERNET CN2 CU-VIP NTT IIJ KDDI SoftBank PCCW HKBN HKIX HKT CMI Telstra BGPNET HE Cogent LEVEL3 GTT Zayo Verizon ATT T-Mobile Arelion TATA Liberty Orange SPARKLE Deutsche

手动测试方法

curl --retry 5 -LO https://raw.githubusercontent.com/johnrosen1/vpstoolbox/master/install/route.sh
source route.sh
route_test

完成效果图

demo

前提条件及使用要点 Usage instruction

  1. 请以 root(sudo -i) 运行(可覆盖安装)。

root

  1. 请自行购买/白嫖/使用现有的域名完成 DNS A 解析,即将域名指向你的 VPS IP,(Namesilo 最慢需要 15+min 生效)。dns
  2. 请在 服务器/VPS/其他各种 控制面板中 完全关闭或禁用 VPS 防火墙(即开放所有 TCP + UDP 端口)。防火墙

_Trojan-gfw 以及 Shadowsocks-rust 皆支援 Fullcone-nat 但需服务器开启所有端口才能生效。

  1. HTTP 申请 TLS 证书需 域名 A 解析生效API 申请则需要输入正确的信息。issuecert
  2. 安装完成后,BBR 已默认启用,无需手动配置。
  3. 如果需要通过Cloudflare CDN转发Vless(gRPC)流量,请在Cloudflare控制面板的网络,SSL/TLS,防火墙中按照下图进行设置。grpc ssl cf_firewall 0_rtt

隐私声明

  1. IP数据库使用ipinfo.io,仅用于生成Vless以及Trojan链接。

免责声明 Disclaimer

  1. 本项目不对使用 Vultr 提供的机器造成的任何可能问题负责(this project is not responsible for any possible problems caused by Vultr machines) !

支援的软件及应用 Supported applications

打勾的为启用默认安装的,其余请手动选中以安装,分类标签仅供参考。

支援的 Linux 发行版

打勾的为测试过的,保证可用性,未打勾的表示理论上支援但未测试。

  • Debian11
  • Debian10
  • Debian9
  • Debian8
  • Ubuntu 20.xx
  • Ubuntu 18.xx
  • Ubuntu 16.xx
  • Ubuntu 14.xx

支援的代理客户端

  1. v2rayNG 安卓
  2. Shadowrocket ios
  3. Netch Windows
  4. Qv2ray Windows/Linux/Macos

可能的错误及原因

  1. 证书签发失败

可能原因: (1)tcp 80/443即tcp http/https端口未开放 (2)域名A解析未完成 或 api信息输入错误

  1. 重启后连不上了

可能原因: (1)VPS厂商面板问题(不常见)(2)重启时间长,请等待

  1. 某个服务 404 / 502 了

可能原因: (1)安装清单里面没有勾选(2)某个服务掉线了(请及时反馈)

  1. 安装中途卡住了

可能原因: (1)网络缓慢或出错(2)CPU或硬盘 垃圾导致某个安装过程缓慢

  1. 安装后连不上

可能原因: (1)客户端配置错误(2)本地网络问题(3)某个服务掉线了(请及时反馈)

生成的CLI界面管理

关闭

mv /etc/profile.d/mymotd.sh /etc/

重新开启

mv /etc/mymotd.sh /etc/profile.d/mymotd.sh

证书续签日志

cat /root/.trojan/letcron.log

项目实现 Program Language

使用bash shell实现。

Code Quality

  1. 本项目实现了模块化

Rclone 以及全自动上传脚本使用方法

Aria2+Rclone+Onedrive 实现全自动化下载

Debug 相关

  1. 本项目主要采用 systemd+docker-compose 启动服务。
  2. 具体的懒得写了,systemctl查看运行状态,有问题记得反馈即可。

Stargazers over time

Stargazers over time

vpstoolbox's People

Contributors

anonymous12357 avatar lem923 avatar xuebaxi avatar

Stargazers

 avatar

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.