VPS Neo
Retrieve connections after the 0309 shock
v2ray reverse proxy has been back online.
当前问题
重启后无法连接远程桌面,但网页转发正常
目前推测bridge端问题占主要因素
参考CSDN{Link}
Win10{Link}
“控制面板” –> “管理工具” –> “终端服务配置” –> “服务器设置” 在右边框中, 授权“每用户” 改成 “每设备”
逻辑为:
赋予权限 + 设置连接上限
Background
All server behind SCUT LAN fail to reach the public server by frp. Oversea frp and Ladder still work.
Current PC managed to do so.
Solutions:
Stay with FRP:
- P2P tunneling by STCP, secured proxy:
{CSDN}.
For well structed ini file, see {Link} - KCP: Beyond TCP, and UDP
for RDP merely.V2Ray [Succeeded]
主要参考:
{详细配置贴}
(官方说明)
映射linux 22, 80端口至公网
经验总结:
- 尽量复制,自己手打效率低且容易出错。
- 出现’unknown outbound/inbound id’大概率是设置语法或者拼写有错
- 运行前可以用v2ray -c config.json –test先试运行检查下。
- 查看error.log和access.log即使查找答案
- 草绘理清架构图,思考优先级,再写配置
- 注意区分{}和[],列表中元素需注意用”,”间隔
- 做好版本管理与备份。写代码勤用注释
当前架构
powered by mermaid.js
1 2 3 4 5 6 7 8 9 10 11 12 |
sequenceDiagram Bridge ->> Portal: [Interconn] Note over Bridge: Use bare port connection now <br> Can decorate with ws+tls in future. Portal ->> Bridge: [Interconn] Client ->> Portal: [dokodemo-door] <br> or <br> [vmess] NOte over Client: Bare port connection now <br> Will decorate with Nginx in future alt [dokodemo-door] Portal ->> Bridge: [redirect] else [vmess] Portal ->> Bridge: [global] end |
扩展:
{Nginx+v2ray+ws+tls反向代理-Github}
这里还有图形界面管理,像机场[{V2board-official}])(https://docs.v2board.com/ENV.html)
架构
DDNS
Dynamic DNS with Oray. Recover Jupyter services.
解压安装包:
···
$ tar xvzf file.tar.gz
···
测试中
先尝试3389直接接入:
taskschd.msc权限不足:https://blog.csdn.net/andyguan01_2/article/details/90061860
DOS 下,用SCHTASKS /?
可以查看如何直接编辑任务,键入taskschd可弹出GUI
查看日志
”’
journalctl -u [service name] -b
”’
可以导出到对应文件
CSDN
OneDrive等应用大陆无法访问
Win8 and higher version set up sandbox for winApps forbiding local traffic forwarding (how v2rayN client works). Can use third-party tools or system tool to release the LoopBack {Ref-Zhihu} (Termed lookback exemption). A bit too hard.
Currently just download a internel UWP toolbox. Tick the "Work and School Account" then "Save Changes" then oneDrive will work.
1 2 |
https://url19.ctfile.com/f/15677019-878628423-863fbb?p=1121 (访问密码: 1121) |
233boy v2ray scripts
aliyun购ECS服务器后用下方命令自动配置,注意默认只有tcp端口vmess协议,推荐使用ubuntu系统
1 |
bash <(curl -s -L https://git.io/v2ray.sh) |
自22年更新后默认强制打开VMESS AEAD 防止验证注入攻击,但初步使用可不考虑如下操作
1 2 3 4 |
systemctl cat v2ray # check config file location nano CONFIG_PATH/v2ray.services # change CONFIG_PATH to your own path # add the section below the execute line ExecStart=/usr/bin/env v2ray.vmess.aead.forced=false /etc/v2ray/bin/v2ray run -config /etc/v2ray/config.json -confdir /etc/v2ray/conf |
同时注意开放服务器运营商(Aliyun) 和 ufw防火墙端口