首页
关于
Search
1
cloudflare支持的ws回源端口
869 阅读
2
Reality节点搭建
751 阅读
3
整理一下不同VPS厂商的Push政策
463 阅读
4
trojan-go安装和使用
336 阅读
5
Hello Word!
323 阅读
日常
脚本
Vps
软件
登录
Search
标签搜索
奇淫异技
Admin
累计撰写
22
篇文章
累计收到
3
条评论
首页
栏目
日常
脚本
Vps
软件
页面
关于
搜索到
22
篇与
的结果
2023-09-19
trojan-go安装和使用
Go实现的Trojan代理,支持多路复用/路由功能/CDN中转/Shadowsocks混淆插件,多平台,无依赖。下载trojan-gowget https://github.com/p4gefau1t/trojan-go/releases/download/v0.10.6/trojan-go-linux-amd64.zip #解压 unzip trojan-go-linux-amd64.zip #如果报错cannot find unzip需要先安装unzip ‘apt install unzip’ cd trojan-go-linux-amd64 申请ssl证书:#安装acme: curl https://get.acme.sh | sh #安装socat: apt install socat #添加软链接: ln -s /root/.acme.sh/acme.sh /usr/local/bin/acme.sh #注册账号: acme.sh --register-account -m
[email protected]
#开放80端口: ufw allow 80 #申请证书: acme.sh --issue -d 你的域名 --standalone -k ec-256 #安装证书: acme.sh --installcert -d 你的域名 --ecc --key-file /root/trojan/server.key --fullchain-file /root/trojan/server.crt #如果默认CA无法颁发,则可以切换下列CA: #切换 Let’s Encrypt: acme.sh --set-default-ca --server letsencrypt #切换 Buypass: acme.sh --set-default-ca --server buypass #切换 ZeroSSL: acme.sh --set-default-ca --server zerossltrojan-go配置文件:{ "run_type": "server", "local_addr": "0.0.0.0", "local_port": 443, "remote_addr": "192.83.167.78", "remote_port": 80, "password": [ "你的连接密码" ], "ssl": { "cert": "server.crt", "key": "server.key" } }使用配置文件启动客户端/path/trojan-go -config /path/config.json后台运行:nohup /path/trojan-go -config /path/config.json > trojan.log 2>&1 &
2023年09月19日
336 阅读
0 评论
0 点赞
2023-09-19
nginx伪装转发+vmess+ws+tls
以下内容全部基于Ubuntu18.04v2ray官方安装脚本bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)申请证书:#安装acme: curl https://get.acme.sh | sh #安装socat: apt install socat #添加软链接: ln -s /root/.acme.sh/acme.sh /usr/local/bin/acme.sh #切换CA机构: acme.sh --set-default-ca --server letsencrypt #申请证书: acme.sh --issue -d 替换为你的域名 --standalone -k ec-256 #安装证书: acme.sh --installcert -d 替换为你的域名 --ecc --key-file /usr/local/etc/v2ray/server.key --fullchain-file /usr/local/etc/v2ray/server.crt v2ray config配置文件{ "inbounds": [ { "port": 8388, "protocol": "vmess", "settings": { "clients": [ { "id": "sxju396b-cb85-494a-a554-eeaa1514bca7", "alterId": 0 } ] }, "streamSettings": { "network": "tcp", "security": "tls", "tlsSettings": { "certificates": [ { "certificateFile": "/usr/local/etc/v2ray/server.crt", "keyFile": "/usr/local/etc/v2ray/server.key" } ] } } } ], "outbounds": [ { "protocol": "freedom", "settings": {} } ] }测试配置可用性/path/v2ray -config /path/config.json安装nginx:#安装nginx: apt install nginx #重新加载nginx配置: systemctl reload nginxnginx配置(替换http{}里的内容):默认在/etc/nginx/sites-avaiable/default,多域名的话自行处理,方法类似server { listen 443 ssl; listen [::]:443 ssl; server_name yourdomain.com; #你的域名 ssl_certificate /usr/local/etc/v2ray/server.crt; ssl_certificate_key /usr/local/etc/v2ray/server.key; ssl_session_timeout 1d; ssl_session_cache shared:MozSSL:10m; ssl_session_tickets off; ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; ssl_prefer_server_ciphers off; location / { proxy_pass https://www.bing.com; #伪装网址 proxy_ssl_server_name on; proxy_redirect off; sub_filter_once off; sub_filter "www.bing.com" $server_name; proxy_set_header Host "www.bing.com"; proxy_set_header Referer $http_referer; proxy_set_header X-Real-IP $remote_addr; proxy_set_header User-Agent $http_user_agent; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_set_header Accept-Encoding ""; proxy_set_header Accept-Language "zh-CN"; } location /ahyxiaam-saoxas-fzniqwq.m3u8 { proxy_redirect off; proxy_pass http://127.0.0.1:8388; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } }此方法虽然伪装更为周全,但是由于套了一层nginx所以速度会慢一些.
2023年09月19日
105 阅读
0 评论
0 点赞
2023-09-19
V2rayU最新版下载
V2rayU,基于v2ray核心的mac版客户端,用于科学上网,使用swift编写,支持trojan,vmess,shadowsocks,socks5等服务协议,支持订阅, 支持二维码,剪贴板导入,手动配置,二维码分享等下载V2rayU最新版https://github.com/yanue/V2rayU/releases/latest
2023年09月19日
66 阅读
0 评论
0 点赞
2023-09-19
v2rayNG最新版下载
一款适用于Android的V2Ray客户端,支持Xray核心和v2fly核心下载v2rayNG最新版https://github.com/2dust/v2rayNG/releases/latest
2023年09月19日
16 阅读
0 评论
0 点赞
2023-09-19
V2RayN最新版下载
V2RayN 是 WinPC 平台上一个对新手比较友好的 V2Ray Windows 客户端。下载 V2RayN下载链接: https://github.com/2dust/v2rayN/releases/latest然后选择 v2rayN-Core.zip 下载{callout color="#f0ad4e"}别忘记时间校准,对于 V2Ray,它的验证方式包含时间,就算是配置没有任何问题,如果时间不正确,也无法连接 V2Ray 服务器的,服务器会认为你这是不合法的请求。所以系统时间一定要正确,只要保证时间误差在90秒之内就没问题。{/callout}
2023年09月19日
18 阅读
0 评论
0 点赞
1
...
3
4
5