Git Product home page Git Product logo

proxysu / proxysu Goto Github PK

View Code? Open in Web Editor NEW
5.4K 5.4K 1.5K 30.99 MB

Xray,V2ray,Trojan,NaiveProxy, Trojan-Go, ShadowsocksR(SSR),Shadowsocks-libev及相关插件,MTProto+TLS 一键安装工具,windows下用(一键科学上网)

License: GNU General Public License v3.0

C# 100.00%
ipv6 mtproto-proxy mtproto-tls naiveproxy proxy shadowrocket shadowsocks shadowsocks-libev shadowsocksr ssr ssr-tls-caddy trojan trojan-go v2ray v2ray-tls v2rayng vpn websocket-tls windows-v2ray xray

proxysu's People

Contributors

danielblackbeard avatar miscusi2023 avatar nagasurya avatar next-autumn avatar proxysu avatar sascascasc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

proxysu's Issues

New Issues

image
未能找到以下路径,安装都不了

Ubuntu 16.04.7 LTS安装v2ray WS+TLS失败

ProxySU版本:v2.3.1
安装选项:V2Ray WebSocket+TLS+Web
错误信息如下:

The following packages have unmet dependencies:
libarchive-tools : Depends: libarchive13 (= 3.2.1-2~ubuntu16.04.1) but 3.1.2-11ubuntu0.16.04.8 is to be installed
error: Installation of libarchive-tools failed, please check your network.

证书申请失败!原因未知,请向开发者提问!

添加VLESS VMESS XTLS TLS WS 复合方案
Trojan-Go + WebSocket + TLS + Web

CentOS7.5 Debian 9.3/10 Ubuntu18.04

申请域名证书......
/root/.acme.sh/acme.sh --issue --standalone -d mg1.usa1005.tk
[Wed Oct 7 17:05:16 UTC 2020] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Wed Oct 7 17:05:16 UTC 2020] Standalone mode.
[Wed Oct 7 17:05:17 UTC 2020] Create account key ok.
[Wed Oct 7 17:05:17 UTC 2020] Registering account: https://acme-v02.api.letsencrypt.org/directory
[Wed Oct 7 17:05:17 UTC 2020] Registered
[Wed Oct 7 17:05:17 UTC 2020] ACCOUNT_THUMBPRINT='Q6cP3VXpG9yBXiQzLdX1meBo3eINXwxbz2Tk_LyjPwg'
[Wed Oct 7 17:05:17 UTC 2020] Creating domain key
[Wed Oct 7 17:05:17 UTC 2020] The domain key is here: /root/.acme.sh/mg1.usa1005.tk/mg1.usa1005.tk.key
[Wed Oct 7 17:05:17 UTC 2020] Single domain='mg1.usa1005.tk'
[Wed Oct 7 17:05:17 UTC 2020] Getting domain auth token for each domain
[Wed Oct 7 17:05:18 UTC 2020] Getting webroot for domain='mg1.usa1005.tk'
[Wed Oct 7 17:05:18 UTC 2020] Verifying: mg1.usa1005.tk
[Wed Oct 7 17:05:18 UTC 2020] Standalone mode server

证书申请失败!原因未知,请向开发者提问!

debian10 安装trojan-go后报错,permission denied

如题,安装完trojan-go之后发现无法使用,登录vps查看错误日志,如下
trojan-go.service: Failed to execute command: Permission denied
trojan-go.service: Failed at step EXEC spawning /usr/bin/trojan-go: Permission denied

caddy无法启动成功

无论trojan-go,trojan都不行,代码如下:

uname -m
x86_64

command -v apt

command -v dnf

command -v yum
/usr/bin/yum

command -v zypper

command -v systemctl
/usr/bin/systemctl

command -v getenforce
/usr/sbin/getenforce

检测结果:OK!
getenforce
Disabled

正在检测域名是否解析到当前VPS的IP上......
curl -4 ip.sb
ip

ping 域名 -c 1 | grep -oE -m1 "([0-9]{1,3}.){3}[0-9]{1,3}"
ip

解析正确!OK!
检测端口占用情况......
lsof -n -P -i :80 | grep LISTEN

lsof -n -P -i :443 | grep LISTEN

检测结果:未被占用!
系统环境检测完毕,符合安装要求,开始布署......
开启防火墙相应端口......
firewall-cmd --zone=public --add-port=80/tcp --permanent
�[91mFirewallD is not running�[00m

firewall-cmd --zone=public --add-port=443/tcp --permanent
�[91mFirewallD is not running�[00m

yes | firewall-cmd --reload
�[91mFirewallD is not running�[00m

yum -q makecache

yum -y -q install xz-utils

正在安装Trojan......
curl -o /tmp/trojan-quickstart.sh https://raw.githubusercontent.com/trojan-gfw/trojan-quickstart/master/trojan-quickstart.sh

yes | bash /tmp/trojan-quickstart.sh
Entering temp directory /tmp/tmp.YnZUF17AyC...
Downloading trojan 1.16.0...
Unpacking trojan 1.16.0...
Installing trojan 1.16.0 to /usr/local/bin/trojan...
Installing trojan server config to /usr/local/etc/trojan/config.json...
Installing trojan systemd service to /etc/systemd/system/trojan.service...
Reloading systemd daemon...
Deleting temp directory /tmp/tmp.YnZUF17AyC...
Done!

find / -name trojan
/usr/local/bin/trojan
/usr/local/etc/trojan

Trojan安装成功!
systemctl enable trojan

mv /usr/local/etc/trojan/config.json /usr/local/etc/trojan/config.json.1

安装完毕,上传配置文件......
正在安装acme.sh......
yum -q makecache

yum -y -q install socat
Package socat-1.7.3.2-2.el7.x86_64 already installed and latest version

curl https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh | INSTALLONLINE=1 sh
[Fri Sep 4 15:15:54 PDT 2020] Installing from online archive.
[Fri Sep 4 15:15:54 PDT 2020] Downloading https://github.com/acmesh-official/acme.sh/archive/master.tar.gz
[Fri Sep 4 15:15:57 PDT 2020] Extracting master.tar.gz
[Fri Sep 4 15:15:57 PDT 2020] Installing to /root/.acme.sh
[Fri Sep 4 15:15:57 PDT 2020] Installed to /root/.acme.sh/acme.sh
[Fri Sep 4 15:15:57 PDT 2020] Installing alias to '/root/.bashrc'
[Fri Sep 4 15:15:57 PDT 2020] OK, Close and reopen your terminal to start using acme.sh
[Fri Sep 4 15:15:57 PDT 2020] Installing alias to '/root/.cshrc'
[Fri Sep 4 15:15:57 PDT 2020] Installing alias to '/root/.tcshrc'
[Fri Sep 4 15:15:57 PDT 2020] Installing cron job
56 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
[Fri Sep 4 15:15:57 PDT 2020] Good, bash is found, so change the shebang to use bash as preferred.
[Fri Sep 4 15:15:58 PDT 2020] OK
[Fri Sep 4 15:15:58 PDT 2020] Install success!

acme.sh安装成功!
cd ~/.acme.sh/

alias acme.sh=~/.acme.sh/acme.sh

申请域名证书......
/root/.acme.sh/acme.sh --issue --standalone -d 域名
[Fri Sep 4 15:16:04 PDT 2020] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Fri Sep 4 15:16:04 PDT 2020] Standalone mode.
[Fri Sep 4 15:16:04 PDT 2020] Creating domain key
[Fri Sep 4 15:16:04 PDT 2020] The domain key is here: /root/.acme.sh/域名/域名.key
[Fri Sep 4 15:16:04 PDT 2020] Single domain='域名'
[Fri Sep 4 15:16:04 PDT 2020] Getting domain auth token for each domain
[Fri Sep 4 15:16:06 PDT 2020] Getting webroot for domain='域名'
[Fri Sep 4 15:16:06 PDT 2020] Verifying: 域名
[Fri Sep 4 15:16:06 PDT 2020] Standalone mode server
[Fri Sep 4 15:16:10 PDT 2020] Pending
[Fri Sep 4 15:16:12 PDT 2020] Pending
[Fri Sep 4 15:16:15 PDT 2020] Pending
[Fri Sep 4 15:16:17 PDT 2020] Pending
[Fri Sep 4 15:16:20 PDT 2020] Pending
[Fri Sep 4 15:16:22 PDT 2020] Pending
[Fri Sep 4 15:16:24 PDT 2020] Pending
[Fri Sep 4 15:16:26 PDT 2020] Pending
[Fri Sep 4 15:16:29 PDT 2020] Pending
[Fri Sep 4 15:16:31 PDT 2020] Pending
[Fri Sep 4 15:16:34 PDT 2020] Pending
[Fri Sep 4 15:16:36 PDT 2020] Pending
[Fri Sep 4 15:16:39 PDT 2020] Success
[Fri Sep 4 15:16:39 PDT 2020] Verify finished, start to sign.
[Fri Sep 4 15:16:39 PDT 2020] Lets finalize the order.
[Fri Sep 4 15:16:39 PDT 2020] Le_OrderFinalize='https://acme-v02.api.letsencrypt.org/acme/finalize/95759182/5013942854'
[Fri Sep 4 15:16:40 PDT 2020] Downloading cert.
[Fri Sep 4 15:16:40 PDT 2020] Le_LinkCert='https://acme-v02.api.letsencrypt.org/acme/cert/0461cf8059c0119b04f042ef74d92c3797c1'
[Fri Sep 4 15:16:40 PDT 2020] Cert success.
-----BEGIN CERTIFICATE-----
MIIFYDCCBEigAwIBAgISBGHPgFnAEZsE8ELvdNksN5fBMA0GCSqGSIb3DQEBCwUA
MEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQD
ExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0yMDA5MDQwNjE4MzJaFw0y
MDEyMDMwNjE4MzJaMB8xHTAbBgNVBAMTFHRyMTAxLmZyZWVkb20xMDMueHl6MIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4A98mNjjQopSv9avNLU+Fzo1
NWkXvjnmrccqG7m2l/asxuVPM6/2GWOEvLsVaOhp1zQlk25Ksgt5BX5ju6hp49C1
/QCIeTsEPc6C8r/GPYfMCGHD40R43V/iNIppJTHLZ8eigNOS3Ph0d95YhCpeSyOK
tFRBGx/XdOaRiiNacJUQCNke7vqkAPTMLALjuWJTtYZ2LdZ3acLd01G5T4Xa/+ev
TVcDtSOxvhyTe/8Dqjfb21XyWxS+IUH9W39W1dw/NFm9SXMN9L4UC1VVHlytPFWl
L8qwTBE8/R8NOn0POHKpNLH0f+H1Cvwhm9/71Z0DAeFqGuoj1FnoNfXUTsSVNwID
AQABo4ICaTCCAmUwDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMB
BggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBSGkhtr9iY56VNMHaK3
fS9c60H9UDAfBgNVHSMEGDAWgBSoSmpjBH3duubRObemRWXv86jsoTBvBggrBgEF
BQcBAQRjMGEwLgYIKwYBBQUHMAGGImh0dHA6Ly9vY3NwLmludC14My5sZXRzZW5j
cnlwdC5vcmcwLwYIKwYBBQUHMAKGI2h0dHA6Ly9jZXJ0LmludC14My5sZXRzZW5j
cnlwdC5vcmcvMB8GA1UdEQQYMBaCFHRyMTAxLmZyZWVkb20xMDMueHl6MEwGA1Ud
IARFMEMwCAYGZ4EMAQIBMDcGCysGAQQBgt8TAQEBMCgwJgYIKwYBBQUHAgEWGmh0
dHA6Ly9jcHMubGV0c2VuY3J5cHQub3JnMIIBBAYKKwYBBAHWeQIEAgSB9QSB8gDw
AHYA8JWkWfIA0YJAEC0vk4iOrUv+HUfjmeHQNKawqKqOsnMAAAF0V/sqyQAABAMA
RzBFAiEArOgP9cmb0mNuirR90bZdHp4AfSTMWOGF7BJT0/M1IecCIBec5weU9KfC
Wnb67AQL79K178yqmQFl5Kt7cP8OJLNLAHYAB7dcG+V9aP/xsMYdIxXHuuZXfFeU
t2ruvGE6GmnTohwAAAF0V/srZAAABAMARzBFAiEA4IXuSsvVXLed1AKfmtQnvVXW
jEPmTgvBy01CNtZVn3wCIAMQkeUR6yhKADyiHZBxFd/4MJ8SOHzPb+DmiuRjNQXg
MA0GCSqGSIb3DQEBCwUAA4IBAQAstgu53zSOdMrrx2eIb6eGRglexDRqV75fRmDO
uTInR2V/CqFm31ofGYj3pGzgadqZX2qoG3kb/g0+XcbpYsnEw3RNeoGfjRHxYUIa
9Sukl5ZDDC3Zmwag639pyFP7MESt4gDRdoj5IVhpx7swMhyfJWyB6vffCMDCVUNi
A/u+v2KAGtxQ3tNH0afKBhJKgl6O5mDtIGzLcKA3klkKyKd6RFg8WO7Ag9dws8JJ
9PrnDW3nP9zyHyTA/LibYpUIkch6f6BVI/cAmp0xEpwaqtq753d3ib8v/JJo4J8H
8ICxM5Ypigz3xZqGtC3OBtO5bIoYwa7HmPG/MUozWc6+o6Lk
-----END CERTIFICATE-----
[Fri Sep 4 15:16:40 PDT 2020] Your cert is in /root/.acme.sh/域名/域名.cer
[Fri Sep 4 15:16:40 PDT 2020] Your cert key is in /root/.acme.sh/域名/域名.key
[Fri Sep 4 15:16:40 PDT 2020] The intermediate CA cert is in /root/.acme.sh/域名/ca.cer
[Fri Sep 4 15:16:40 PDT 2020] And the full chain certs is there: /root/.acme.sh/域名/fullchain.cer

证书申请成功!
安装证书到Trojan......
/root/.acme.sh/acme.sh --installcert -d 域名 --certpath /usr/local/etc/trojan/trojan_ssl.crt --keypath /usr/local/etc/trojan/trojan_ssl.key --capath /usr/local/etc/trojan/trojan_ssl.crt --reloadcmd "systemctl restart trojan"
[Fri Sep 4 15:16:44 PDT 2020] Installing cert to:/usr/local/etc/trojan/trojan_ssl.crt
[Fri Sep 4 15:16:44 PDT 2020] Installing CA to:/usr/local/etc/trojan/trojan_ssl.crt
[Fri Sep 4 15:16:44 PDT 2020] Installing key to:/usr/local/etc/trojan/trojan_ssl.key
[Fri Sep 4 15:16:44 PDT 2020] Run reload cmd: systemctl restart trojan

if [ ! -f "/usr/local/etc/trojan/trojan_ssl.key" ]; then echo "0"; else echo "1"; fi | head -n 1
1

证书成功安装到Trojan!
chmod 644 /usr/local/etc/trojan/trojan_ssl.key

安装Caddy......
yum install yum-plugin-copr -y
Loaded plugins: copr, fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.umflint.edu
  • extras: repos-lax.psychz.net
  • updates: centos3.zswap.net
    Package yum-plugin-copr-1.1.31-54.el7_8.noarch already installed and latest version
    Nothing to do

yum copr enable @caddy/caddy -y
Loaded plugins: copr, fastestmirror
copr done

yum -y -q install caddy
Package caddy-2.2.0~rc1-1.el7.x86_64 already installed and latest version

find / -name caddy
/etc/caddy
/var/lib/caddy
/usr/bin/caddy
/usr/share/bash-completion/completions/caddy
/usr/share/caddy

Caddy安装成功!
systemctl enable caddy

上传Caddy配置文件......
mv /etc/caddy/Caddyfile /etc/caddy/Caddyfile.bak

sed -i 's/##domain##/域名/' /etc/caddy/Caddyfile

Caddy配置文件上传成功,OK!
正在启动Caddy......
systemctl restart caddy

ps aux | grep caddy
root 11059 0.0 0.0 113288 3164 ? Ss 15:17 0:00 bash -c ps aux | grep caddy
root 11065 0.0 0.0 112812 2288 ? S 15:17 0:00 grep caddy

Caddy启动失败!
正在启动Caddy(第二次尝试)!
systemctl restart caddy

ps aux | grep caddy
root 11090 0.0 0.0 113288 3104 ? Ss 15:17 0:00 bash -c ps aux | grep caddy
root 11096 0.0 0.0 112812 2296 ? S 15:17 0:00 grep caddy

Caddy启动失败(第二次)!退出安装!

ipv6主机无法安装

解析正确!OK!
系统环境检测完毕,符合安装要求,开始布署......
正在安装V2Ray......
curl -o /tmp/go.sh https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Network is unreachable

yes | bash /tmp/go.sh -f
error: Failed to get release list, please check your network.

rm -f /tmp/go.sh

find / -name v2ray
/tmp/v2ray
/usr/local/etc/v2ray

安装失败,脚本运行出错!
发生错误,安装中断......

很棒的项目!

很棒的项目!不仅方便,搭建后的代理速度还很快!感恩!

顺利装完,无法使用。

在centos-7-x64上部署 VLESS+WebSocket+TLS+Web, 过程非常顺利,没有出现任何错误,不过电脑和手机都无法正常使用,错误如下:

[Warning] failed to handler mux client connection > v2ray.com/core/proxy/vless/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://某域名/4324):  > remote error: tls: internal error] > v2ray.com/core/common/retry: all retry attempts failed

ipv6搭建出现错误

debian10,安装v2ray的ws+tls,是纯ipv6小鸡,lxc架构.
错误日志:
find / -name v2ray
find: ‘/dev/.lxd-mounts’: Permission denied
find: ‘/sys/kernel/debug’: Permission denied
find: ‘/sys/dev/block’: Permission denied
find: ‘/sys/fs/pstore’: Permission denied
find: ‘/sys/fs/fuse/connections/47’: Permission denied
find: ‘/proc/tty/driver’: Permission denied

VLESS+TCP+XTLS+Web 模式安装后,开启CDN无法使用

域名是腾讯云的,DNS改到了Cloudflare解析,证书也是Cloudflare的。安装时不能开启CDN ,安装好之后使用V2rayN,正常使用;回到Cloudflare,开启CDN后,无法正常使用了,测速提示【远程服务器返回错误:(503)服务器不可用】。

若使用CDN,请先关闭

按照trojan 或者 trojan-go无论哪个模式,都出现错误。
弹出窗口显示:域名未能正确解析到VPS的IP上,若解析设置正确,请等待生效后重试。如果域名使用了CDN,请先关闭。

请问如何关闭CDN?
我使用的是搬瓦工 Debian10 ,刚刚重装的系统,这个VPS之前使用过v2ray+CDN,请问如何关闭CDN?
我把CDN里的 小黄云 点灰色了,还是没有用呀。
求指点

尝试多次安装Caddy失败!

证书申请成功!
安装证书到V2ray......
mkdir -p /usr/local/etc/v2ray/ssl

/root/.acme.sh/acme.sh --installcert -d vv2.sunnyadam.tk --certpath /usr/local/etc/v2ray/ssl/v2ray_ssl.crt --keypath /usr/local/etc/v2ray/ssl/v2ray_ssl.key --capath /usr/local/etc/v2ray/ssl/v2ray_ssl.crt --reloadcmd "systemctl restart v2ray"
[Thu Oct 8 01:29:45 UTC 2020] Installing cert to:/usr/local/etc/v2ray/ssl/v2ray_ssl.crt
[Thu Oct 8 01:29:45 UTC 2020] Installing CA to:/usr/local/etc/v2ray/ssl/v2ray_ssl.crt
[Thu Oct 8 01:29:45 UTC 2020] Installing key to:/usr/local/etc/v2ray/ssl/v2ray_ssl.key
[Thu Oct 8 01:29:45 UTC 2020] Run reload cmd: systemctl restart v2ray
[Thu Oct 8 01:29:45 UTC 2020] Reload success

if [ ! -f "/usr/local/etc/v2ray/ssl/v2ray_ssl.key" ]; then echo "0"; else echo "1"; fi | head -n 1
1

证书成功安装到V2Ray!
chmod 644 /usr/local/etc/v2ray/ssl/v2ray_ssl.key

安装Caddy......
echo "deb [trusted=yes] https://apt.fury.io/caddy/ /" | tee -a /etc/apt/sources.list.d/caddy-fury.list
deb [trusted=yes] https://apt.fury.io/caddy/ /

apt install -y apt-transport-https
Reading package lists...
Building dependency tree...
Reading state information...
apt-transport-https is already the newest version (1.8.2.1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

apt -qq update
5 packages can be upgraded. Run 'apt list --upgradable' to see them.

apt -y -qq install caddy
caddy is already the newest version (2.2.0).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

find / -name caddy
/usr/share/caddy
/etc/bash_completion.d/caddy
/etc/caddy
/var/lib/caddy
/var/lib/caddy/.config/caddy

安装Caddy失败!

能否在trojan-go的安装设置中增加多路复用的选项

首先感谢大佬提供这么好用的软件。
问题如下:
现在多路复用还需要手动修改一下配置文件,且重启后trojan-go总是需要手动systemctl restart一下。能否在安装时增加一项多路复用的可选配置。这样可以使得配置更加便捷,更加方便像我这类小白用户的使用。

Win10下使用直接闪退

使用的最新版本:v2.3.1
1.VPS 为亚马逊aws 的lightsail
2.使用了密钥登陆
3.设置了管理模式运行

反馈问题:点击安装V2ray,直接 闪退,

后继有人!

很欣慰,这个国家的人才真多!请保护包自己,不要泄露任何个人信息,

english version , please

Hello.

Many people around the world would like to use your program.

could you add a english version, please. or a tap where the client can chose Chinese or English, please

建议用WPF的MVVC来做一份

我看了代码做了好多判断,用mvvc来设计一下的话,可以省掉好些代码,而且可读性更好。建议作者这么来做一下,以后更新方便些。
给个赞!

VLESS-H2C-Caddy2 中 caddy2 配置文件 如何设置反代一个正常网站

参考至https://github.com/v2fly/v2ray-examples/tree/master/VLESS-H2C-Caddy2
v2ray client <--- H2 ---> caddy2 <--- H2C ---> v2ray server

caddy2 配置文件内容

test.myweb.club {

reverse_proxy https://lovelive-as-global.com

reverse_proxy /374c71672ced/ 127.0.0.1:22157 {
transport http {
versions h2c
}
}
}

我想要访问我的域名,内容是反代 https://lovelive-as-global.com 这个网站。

加了 reverse_proxy https://lovelive-as-global.com
v2ray无法正常工作,访问我的域名也打不开要代理的网站。

删除 reverse_proxy https://lovelive-as-global.com
v2ray正常工作。

建议重复安装时允许证书复用

重复安装时申请证书部分会这样
申请域名证书......
/root/.acme.sh/acme.sh --issue --standalone -d xxxx
[Tue Oct 6 17:35:36 MSK 2020] Domains not changed.
[Tue Oct 6 17:35:36 MSK 2020] Skip, Next renewal time is: Sat Dec 5 14:31:14 UTC 2020
[Tue Oct 6 17:35:36 MSK 2020] Add '--force' to force to renew.

证书申请失败!原因未知,请向开发者提问!

trojan无法正常使用

用新ip+新域名+最新客户端都无法正常使用。端口正常,伪装域名可以打开。

申请证书总是失败

申请域名证书......
/root/.acme.sh/acme.sh --issue --standalone -d yuchan.ml
[Mon Oct 5 17:18:56 UTC 2020] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Mon Oct 5 17:18:56 UTC 2020] Standalone mode.
[Mon Oct 5 17:18:56 UTC 2020] Single domain='yuchan.ml'
[Mon Oct 5 17:18:56 UTC 2020] Getting domain auth token for each domain
[Mon Oct 5 17:18:59 UTC 2020] Getting webroot for domain='yuchan.ml'
[Mon Oct 5 17:18:59 UTC 2020] Verifying: yuchan.ml
[Mon Oct 5 17:18:59 UTC 2020] Standalone mode server
[Mon Oct 5 17:19:04 UTC 2020] Pending
[Mon Oct 5 17:19:07 UTC 2020] Pending
[Mon Oct 5 17:19:10 UTC 2020] Pending

证书申请失败!原因未知,请向开发者提问!

最近安装一直停留在 正在为NaiveProxy升级服务端

等待很久也一直在这页面正在登录远程主机......
主机登录成功!
检测是否运行在root权限下...
id -u
0

检测结果:OK!
检测系统是否已经安装Caddy......
find / -name caddy
/usr/share/caddy
/usr/bin/caddy
/root/caddy
/etc/bash_completion.d/caddy
/etc/caddy
/var/lib/caddy

请先行卸载Caddy或重装VPS系统!
检测系统是否符合安装要求......
uname -m
x86_64

command -v apt
/usr/bin/apt

command -v dnf

command -v yum

command -v zypper

command -v systemctl
/bin/systemctl

command -v getenforce

检测结果:OK!
正在安装依赖的软件......
apt -qq update
184 packages can be upgraded. Run 'apt list --upgradable' to see them.

apt -y -qq install curl libnss3 xz-utils lsof unzip
lsof is already the newest version.
xz-utils is already the newest version.
curl is already the newest version.
libnss3 is already the newest version.
unzip is already the newest version.
The following packages were automatically installed and are no longer required:
libuuid-perl linux-base
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 184 not upgraded.

安装完毕!OK!
正在检测域名是否解析到当前VPS的IP上......
curl -4 ip.sb
107.x.x.x

ping xxxxx -c 1 | grep -oE -m1 "([0-9]{1,3}.){3}[0-9]{1,3}"
107.x.x.x

解析正确!OK!
检测端口占用情况......
lsof -n -P -i :80 | grep LISTEN

lsof -n -P -i :443 | grep LISTEN

检测结果:未被占用!
系统环境检测完毕,符合安装要求,开始布署......
开启防火墙相应端口......
正在安装Caddy.....
echo "deb [trusted=yes] https://apt.fury.io/caddy/ /" | tee -a /etc/apt/sources.list.d/caddy-fury.list
deb [trusted=yes] https://apt.fury.io/caddy/ /

apt install -y apt-transport-https
Reading package lists...
Building dependency tree...
Reading state information...
apt-transport-https is already the newest version.
The following packages were automatically installed and are no longer required:
libuuid-perl linux-base
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 184 not upgraded.

apt -qq update
184 packages can be upgraded. Run 'apt list --upgradable' to see them.

apt -y -qq install caddy
caddy is already the newest version.
The following packages were automatically installed and are no longer required:
libuuid-perl linux-base
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 184 not upgraded.

find / -name caddy
/usr/share/caddy
/usr/bin/caddy
/root/caddy
/etc/bash_completion.d/caddy
/etc/caddy
/var/lib/caddy

Caddy安装成功!
systemctl enable caddy

正在为NaiveProxy升级服务端
curl -o /tmp/caddy.zip https://raw.githubusercontent.com/proxysu/Resources/master/Caddy2/caddy20200816.zip

unzip /tmp/caddy.zip

然后就没下文了。

V2ray一键安装出错

显示安装失败.脚本运行出错。
日志如下:

yes | bash /tmp/go.sh -f
info: Installing V2Ray v4.28.2 for x86_64
Downloading V2Ray archive: https://github.com/v2fly/v2ray-core/releases/download/v4.28.2/v2ray-linux-64.zip
Downloading verification file for V2Ray archive: https://github.com/v2fly/v2ray-core/releases/download/v4.28.2/v2ray-linux-64.zip.dgst
error: Check failed! Please check your network or try again.

vps 是jp节点的vultr服务器,之前部署过ssr,v2ray。

caddy添加网页模板

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.