hello-yunshu / xray_bash_onekey Goto Github PK
View Code? Open in Web Editor NEWXray+Nginx 包含 VLESS WebSocket/gPRC+TLS / XTLS+TCP 协议的一键安装脚本
Home Page: https://www.idleleo.com/12/4876
License: GNU General Public License v3.0
Xray+Nginx 包含 VLESS WebSocket/gPRC+TLS / XTLS+TCP 协议的一键安装脚本
Home Page: https://www.idleleo.com/12/4876
License: GNU General Public License v3.0
可以弄个vmess版本的嘛 谢谢大佬
-- The job identifier is 1035 and the job result is failed.
Jul 11 17:12:56 beta sshd[46629]: Received disconnect from 49.51.12.25 port 51022:11: Bye Bye [preauth]
Jul 11 17:12:56 beta sshd[46629]: Disconnected from authenticating user root 49.51.12.25 port 51022 [preauth]
Jul 11 17:17:01 beta CRON[49225]: pam_unix(cron:session): session opened for user root by (uid=0)
Jul 11 17:17:01 beta CRON[49233]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jul 11 17:17:01 beta CRON[49225]: pam_unix(cron:session): session closed for user root
Jul 11 17:17:43 beta sshd[49650]: Received disconnect from 121.4.127.97 port 48966:11: Bye Bye [preauth]
Jul 11 17:17:43 beta sshd[49650]: Disconnected from authenticating user root 121.4.127.97 port 48966 [preauth]
另外,脚本可以自定义安装路径吗? 还有之前有证书的能不能不再申请了?
already issued for this exact set of domains in the last 168 hours: , retry after 2022-10-09T11:24:29Z: see https://letsencrypt.org/docs/duplicate-certificate-limit/",
安装向导里三个协议各有什么优势?或者区别主要有哪些?
运行idleleo提示如标题,同时无主界网站无法访问
[OK] 当前用户是 root用户, 进入安装流程
[错误] 当前系统为 debian 不在支持的系统列表内, 安装中断!
首先感谢大佬的脚本!
有一个小问题不知道能否该进:
我使用的SSH工具是MobaXterm,默认的终端设置选项里有“BackSpace sends ^H”,而脚本第四行是“stty erase ^?”。
结果就是脚本在运行中和运行后,退格键(BackSpace)都无法起作用,只能显示^H。小白一开始碰到这个问题还是很困惑的~~
假如终端默认设置了“erase = ^?”,那“stty erase ^?”似乎也没什么必要。
或者是这句还有其他用途?恳请大佬指教~~
选项3(nginx+tls+ws)安装到最后在选tls时出现代码错误,安装失败,但选项4(xtls+ws+nginx)安装成功,选9后出现“不支持该模式”
根据 XTLS 项目的提案,本脚本决定支持 UUIDv5 标准。
提案可以让任何一个字符串(30字节内)遵循 UUIDv5 标准进行一系列变换,最终生成 UUIDv5。
此提案加强了 UUID 的可视性,方便日常使用和分享。
简单说 Xray 可以自定义密码了。
根据提案,本脚本服务端将保持 UUID ,但会提供用户输入自定义字符串的机会。
用户可以在客户端 UUID 处输入自定义字符串。
对于客户端,由于不能保证客户端的 Xray-core 是否为最新版,因此在 UUID 处输入自定义字符串未必有效。
在使用 UUID 自定义字符串功能时,请务必注意客户端 Xray-core 版本,这也是此 issue 的目的。
`/bin/idleleo: line 2841: /tmp/version_cmp.tmp: Permission denied
/bin/idleleo: line 2842: /tmp/version_cmp.tmp: Permission denied
(standard_in) 1: syntax error
--2021-12-24 04:38:05-- https://raw.githubusercontent.com/paniy/Xray_bash_onekey/main/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 132499 (129K) [text/plain]
Saving to: ‘/etc/idleleo/install.sh’
install.sh 100%[=====================================>] 129.39K --.-KB/s in 0.002s
Last-modified header missing -- time-stamps turned off.
2021-12-24 04:38:05 (54.1 MB/s) - ‘/etc/idleleo/install.sh’ saved [132499/132499]
[OK] 下载最新脚本 完成 `
RT
开在这一步了,日志如下:
[OK] 安装 SSL 证书生成脚本 完成 [2021年 02月 05日 星期五 15:30:17 CST] Using ACME_DIRECTORY: https://acme-staging-v02.api.letsencrypt.org/directory [2021年 02月 05日 星期五 15:30:19 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:30:19 CST] Can not init api. [2021年 02月 05日 星期五 15:30:19 CST] Using CA: https://acme-staging-v02.api.letsencrypt.org/directory [2021年 02月 05日 星期五 15:30:19 CST] Standalone mode. [2021年 02月 05日 星期五 15:30:21 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:30:21 CST] Can not init api. [2021年 02月 05日 星期五 15:30:21 CST] Registering account: https://acme-staging-v02.api.letsencrypt.org/directory [2021年 02月 05日 星期五 15:30:24 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:30:24 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:30:36 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:30:36 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:30:40 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:30:40 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:30:46 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:30:46 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:30:52 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:30:52 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:30:57 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:30:57 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:31:01 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:31:01 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:31:06 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:31:06 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:31:13 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:31:13 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:31:19 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:31:19 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:31:25 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:31:25 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:31:31 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:31:31 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:31:36 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:31:36 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:31:42 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:31:42 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:32:01 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:32:01 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:32:06 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:32:06 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:32:19 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:32:19 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:32:37 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:32:37 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:32:43 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:32:43 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:33:01 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35 [2021年 02月 05日 星期五 15:33:01 CST] Could not get nonce, let's try again. [2021年 02月 05日 星期五 15:33:04 CST] Giving up sending to CA server after 20 retries. [2021年 02月 05日 星期五 15:33:04 CST] Register account Error: [2021年 02月 05日 星期五 15:33:04 CST] Please add '--debug' or '--log' to check more details. [2021年 02月 05日 星期五 15:33:04 CST] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
2021年7月21日, 官方文档中已明确说明默认证书申请机构是ZeroSSL(在这之前没有明确说明)
acme.sh --set-default-ca --server letsencrypt
public
target: default
icmp-block-inversion: no
interfaces:
sources:
services: ssh dhcpv6-client
ports: 80/tcp 443/tcp 34579/tcp 34579/udp 27607/tcp 34580/tcp 34580/udp 11111/tcp
protocols:
masquerade: yes
forward-ports: port=34579:proto=tcp:toport=443:toaddr=xxx
port=34579:proto=udp:toport=443:toaddr=xxx
port=34580:proto=tcp:toport=443:toaddr=xxx
port=34580:proto=udp:toport=443:toaddr=xxx
source-ports:
icmp-blocks:
rich rules:
原来都是可用的,但是用了你的脚本后这块就失败了是什么原因呀?
大神,安装好后,连通性显示无法连通,节点也用不了,请教下是什么原因?谢谢
[错误] 脚本维护中.. 请稍后再试!
这个错误已经好久了,是服务器不维护了吗?
我这里查看到启动配置文件目录是在/etc/nginx/conf/nginx.conf
--conf-path=/etc/nginx/nginx.conf
导致使用nginx -s reload或者nginx -t等提示/etc/nginx/nginx.conf not found
使用的ip v6 vps, cloudflare dns, 请问如何解决,谢谢
[Wed Aug 4 01:49:23 UTC 2021] The domain key is here: /root/.acme.sh/xxx.xxx.net_ecc/xxx.xxx.net.key
[Wed Aug 4 01:49:23 UTC 2021] Single domain='xxx.xxx.net'
[Wed Aug 4 01:49:23 UTC 2021] Getting domain auth token for each domain
[Wed Aug 4 01:49:25 UTC 2021] Getting webroot for domain='xxx.xxx.net'
[Wed Aug 4 01:49:25 UTC 2021] Verifying: xxx.xxx.net
[Wed Aug 4 01:49:25 UTC 2021] Standalone mode server
[Wed Aug 4 01:49:27 UTC 2021] Pending, The CA is processing your order, please just wait. (1/30)
[Wed Aug 4 01:49:30 UTC 2021] xxx.xxx.net:Verify error:Fetching http://xxx.xxx.net/.well-known/acme-challenge/bdfxYdznQY8p60_RQ3G0-vRvb3fDdUnicK7Yx-2tIik: Connection refused
[Wed Aug 4 01:49:30 UTC 2021] Please add '--debug' or '--log' to check more details.
[Wed Aug 4 01:49:30 UTC 2021] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[错误] SSL 证书测试签发失败
之前一直正常使用没问题,前天出现问题;手机v2rayng链接提示 失败 io: read/write on close pipe;
用最新版重新搭建,问题依旧;
Oracle cloud
ubuntu系统
Doesn't work, installation of xray. Broken template link. Please fix that.
Hello .
Could you tell me how to add on the server configuración a SNI ( server name indication ) , please.
Because my ISP provider only let me connect to internet using a SNI .
Or could you add a feature that tell us if we want to add a SNI , please . It is the only way I can connect to internet.
The client configuration similar like this :
{
"dns": {
"hosts": {
"domain:googleapis.cn": "googleapis.com"
},
"servers": [
"https://1.0.0.1/dns-query",
{
"address": "https+local://223.5.5.5/dns-query",
"domains": [
"full:ca1.vless.co"
],
"skipFallback": true
}
]
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 2081,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"userLevel": 8
},
"sniffing": {
"destOverride": [
"http",
"tls"
],
"enabled": true,
"metadataOnly": false
},
"tag": "socks"
},
{
"listen": "127.0.0.1",
"port": 9081,
"protocol": "http",
"settings": {
"allowTransparent": true,
"userLevel": 8
},
"sniffing": {
"destOverride": [
"http",
"tls"
],
"enabled": true,
"metadataOnly": false
},
"tag": "http"
},
{
"listen": "127.0.0.1",
"port": 6451,
"protocol": "dokodemo-door",
"settings": {
"address": "1.0.0.1",
"network": "tcp,udp",
"port": 53
},
"tag": "dns-in"
}
],
"log": {
"loglevel": "error"
},
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "ca1.vless.co",
"port": 443,
"users": [
{
"encryption": "none",
"id": "81f1f510-3ca7-4734-8956-0f4fce670af5",
"level": 8
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"serverName": "www.yahoo.com"
},
"wsSettings": {
"headers": {
"Host": "www.yahoo.com"
},
"path": "/fastssh?u\u003dmamamio\u0026p\u003d6147b8242bcbc\u0026"
}
},
"tag": "proxy-global-2"
},
{
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
},
"tag": "direct"
},
{
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
},
"tag": "bypass"
},
{
"protocol": "blackhole",
"tag": "block"
},
{
"protocol": "dns",
"settings": {},
"tag": "dns-out"
}
],
"policy": {
"levels": {
"8": {
"connIdle": 300,
"downlinkOnly": 1,
"handshake": 4,
"uplinkOnly": 1
}
},
"system": {
"statsOutboundDownlink": true,
"statsOutboundUplink": true
}
},
"routing": {
"domainMatcher": "mph",
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"inboundTag": [
"dns-in"
],
"outboundTag": "dns-out",
"type": "field"
}
]
},
"stats": {}
}
对于多账号控制使用流量限额,x-ui面板支持流量控制,但是好像不能设置Xray+Nginx
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.