yeahwu / v2ray-wss Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
建议加个提醒,一定要通过防火墙打开相应的端口,我是debian 11的折腾了一晚上,死活nmap检测端口一会存活,一会关闭,一会可以访问,一会就不行了,然后换了其他的脚本,都是一个样子,最后把防火墙关了就好了
听说IPV6的墙没那么高,想试试IPV6
安装失败,查看Nginx状态,systemctl status nginx
cannot load certificate... 加载不了证书,acme申请失败了?
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2023-09-13 09:58:31 CST; 58s ago
Docs: man:nginx(8)
Process: 49175 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Sep 13 09:58:31 sunway-la systemd[1]: Starting A high performance web server and a reverse proxy server...
Sep 13 09:58:31 sunway-la nginx[49175]: nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/la688.sunway.run/fullchain.pem": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: >
Sep 13 09:58:31 sunway-la nginx[49175]: nginx: configuration file /etc/nginx/nginx.conf test failed
Sep 13 09:58:31 sunway-la systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Sep 13 09:58:31 sunway-la systemd[1]: nginx.service: Failed with result 'exit-code'.
Sep 13 09:58:31 sunway-la systemd[1]: Failed to start A high performance web server and a reverse proxy server.
##报错如下:
[Wed Sep 13 09:58:30 CST 2023] Invalid status, la688.sunway.run:Verify error:"error":{
[Wed Sep 13 09:58:30 CST 2023] Please add '--debug' or '--log' to check more details.
[Wed Sep 13 09:58:30 CST 2023] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
2023-09-13 09:58:04 (160 MB/s) - ‘tcp-wss.sh’ saved [8191/8191]
==================================================
论坛:https://1024.day
介绍:一键安装SS-libev,v2ray+ws+tls和Reality代理
系统:Ubuntu、Debian、CentOS
==================================================
1. 安装 Shadowsocks-libev
2. 安装 v2ray+ws+tls
3. 安装 Reality
0. 退出脚本
请输入数字:2
====输入已经DNS解析好的域名====
la688.sunway.run
回车或等待15秒为默认端口443,或者自定义端口请输入(1-65535):33333
Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
net-tools is already the newest version (1.60+git20180626.aebd88e-1ubuntu1).
curl is already the newest version (7.68.0-1ubuntu2.19).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
cron is already the newest version (3.0pl1-136ubuntu1).
socat is already the newest version (1.7.3.3-2).
nginx is already the newest version (1.18.0-0ubuntu1.4).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1032 0 1032 0 0 15876 0 --:--:-- --:--:-- --:--:-- 15876
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 216k 100 216k 0 0 9837k 0 --:--:-- --:--:-- --:--:-- 9837k
[Wed Sep 13 09:58:19 CST 2023] Installing from online archive.
[Wed Sep 13 09:58:19 CST 2023] Downloading https://github.com/acmesh-official/acme.sh/archive/master.tar.gz
[Wed Sep 13 09:58:19 CST 2023] Extracting master.tar.gz
[Wed Sep 13 09:58:19 CST 2023] Installing to /root/.acme.sh
[Wed Sep 13 09:58:19 CST 2023] Installed to /root/.acme.sh/acme.sh
[Wed Sep 13 09:58:19 CST 2023] Installing alias to '/root/.bashrc'
[Wed Sep 13 09:58:19 CST 2023] OK, Close and reopen your terminal to start using acme.sh
[Wed Sep 13 09:58:19 CST 2023] Installing cron job
47 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
[Wed Sep 13 09:58:19 CST 2023] Good, bash is found, so change the shebang to use bash as preferred.
[Wed Sep 13 09:58:20 CST 2023] OK
[Wed Sep 13 09:58:20 CST 2023] Install success!
[Wed Sep 13 09:58:20 CST 2023] Using CA: https://acme.zerossl.com/v2/DV90
[Wed Sep 13 09:58:20 CST 2023] Run pre hook:'systemctl stop nginx'
[Wed Sep 13 09:58:20 CST 2023] Standalone mode.
[Wed Sep 13 09:58:20 CST 2023] Creating domain key
[Wed Sep 13 09:58:21 CST 2023] The domain key is here: /root/.acme.sh/la688.sunway.run_ecc/la688.sunway.run.key
[Wed Sep 13 09:58:21 CST 2023] Single domain='la688.sunway.run'
[Wed Sep 13 09:58:21 CST 2023] Getting domain auth token for each domain
[Wed Sep 13 09:58:23 CST 2023] Getting webroot for domain='la688.sunway.run'
[Wed Sep 13 09:58:23 CST 2023] Verifying: la688.sunway.run
[Wed Sep 13 09:58:23 CST 2023] Standalone mode server
[Wed Sep 13 09:58:25 CST 2023] Processing, The CA is processing your order, please just wait. (1/30)
[Wed Sep 13 09:58:30 CST 2023] Invalid status, la688.sunway.run:Verify error:"error":{
[Wed Sep 13 09:58:30 CST 2023] Please add '--debug' or '--log' to check more details.
[Wed Sep 13 09:58:30 CST 2023] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Wed Sep 13 09:58:30 CST 2023] Run post hook:'~/.acme.sh/acme.sh --installcert -d la688.sunway.run --ecc --fullchain-file /etc/letsencrypt/live/la688.sunway.run/fullchain.pem --key-file /etc/letsencrypt/live/la688.sunway.run/privkey.pem --reloadcmd "systemctl start nginx"'
[Wed Sep 13 09:58:30 CST 2023] Installing key to: /etc/letsencrypt/live/la688.sunway.run/privkey.pem
[Wed Sep 13 09:58:30 CST 2023] Installing full chain to: /etc/letsencrypt/live/la688.sunway.run/fullchain.pem
cat: /root/.acme.sh/la688.sunway.run_ecc/fullchain.cer: No such file or directory
[Wed Sep 13 09:58:30 CST 2023] Error when run post hook.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22454 100 22454 0 0 1289k 0 --:--:-- --:--:-- --:--:-- 1289k
info: No new version. The current version of V2Ray is v5.7.0 .
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
安装已经完成
===========v2ray配置参数============
协议:VMess
地址:la688.sunway.run
端口:33333
UUID:15a6bb1c-25ba-4947-b446-de58a7f7c05f
加密方式:aes-128-gcm
传输协议:ws
路径:/09d5d4
底层传输:tls
注意:8080是免流端口不需要打开tls
====================================
vmess://eyJwb3J0IjozMzMzMywicHMiOiIxMDI0LXdzcyIsInRscyI6InRscyIsImlkIjoiMTVhNmJiMWMtMjViYS00OTQ3LWI0NDYtZGU1OGE3ZjdjMDVmIiwiYWlkIjowLCJ2IjoyLCJob3N0IjoibGE2LnN1bndheS5ydW4iLCJ0eXBlIjoibm9uZSIsInBhdGgiOiIvMDlkNWQ0IiwibmV0Ijoid3MiLCJhZGQiOiJsYTYuc3Vud2F5LnJ1biIsImFsbG93SW5zZWN1cmUiOjAsIm1ldGhvZCI6Im5vbmUiLCJwZWVyIjoibGE2LnN1bndheS5ydW4iLCJzbmkiOiJsYTYuc3Vud2F5LnJ1biJ9
最后这个vmess是不可用的,因为nginx都起不来了,加载不了证书
有没有大神做成docker版本的
大神你好,
我用的是 clash,请问客户端该如何写法?
我看 /usr/local/etc/v2ray/client.json, 没有 alterId 信息?
谢谢
clash里面不知道怎么配置,配置了一直打不开
connectex: No connection could be made because the target machine actively refused it.
connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
印象中好像是4.34可以用,今天试了5.1.0没有成功使用
systemctl status:
shadowsocks.service - Shadowsocks Server
Loaded: loaded (/etc/systemd/system/shadowsocks.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 二 2022-04-12 23:09:37 CST; 2s ago
Process: 8463 ExecStart=/usr/bin/ss-server -c /etc/shadowsocks-libev/config.json (code=exited, status=203/EXEC)
Main PID: 8463 (code=exited, status=203/EXEC)
4月 12 23:09:37 C20220412219383 systemd[1]: Started Shadowsocks Server.
4月 12 23:09:37 C20220412219383 systemd[1]: shadowsocks.service: main process exited, code=exited, status=203/EXEC
4月 12 23:09:37 C20220412219383 systemd[1]: Unit shadowsocks.service entered failed state.
4月 12 23:09:37 C20220412219383 systemd[1]: shadowsocks.service failed.
-- The error number returned by this process is 13.
4月 12 23:44:13 C20220412219383 systemd[1]: shadowsocks.service: main process exited, code=exited, status=203/EXEC
4月 12 23:44:13 C20220412219383 systemd[1]: Unit shadowsocks.service entered failed state.
4月 12 23:44:13 C20220412219383 systemd[1]: shadowsocks.service failed.
4月 12 23:44:13 C20220412219383 polkitd[1530]: Unregistered Authentication Agent for unix-process:4855:249422 (system bus n
centos 7.6
搜了一下可能是启动.sh第一行少#!/bin/sh,但是没找到启动.sh在哪,请大佬教一下
ubuntu22.04 ss installation tested: OK
thanks alot
因为此前有部分端口(443、80等)被封了,建议可以随机生成端口或让用户手动填写~
安装过程中报错,代码跳太快,没法复制过来,试了azure和aws的都在安装过程中报错用不了
reality不能套CDN,如果被封了IP就gg了,有什么办法做保护么?
买了你说的便宜vps,缺省的系统报这个错误,然后重装了ubuntu 20也一样。
发现服务器重启后节点就掉了,如何开启服务?重新搭建的话太麻烦了.是否能做到重启后自动启动服务?
安装完以后 怎么查看配置的信息啊。。。忘记了 不知道怎么去查看。有没有通过链接添加,怎么弄每天换个IP呢/。像拨号一样 可以换IP
我安装了shadowsocks-libev 修改了配置 用ss-server 命令无法重启服务
./scripts/tcp-wss.sh: 4: [[: not found
./scripts/tcp-wss.sh: 110: Syntax error: "(" unexpected
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.