本站支持「有偿」远程协助!

Windows 服务器搭建节点

Windows 服务器搭建 Xray 节点

Xray

https://cdn.jsdelivr.net/gh/googleians/Xray-core@main/xray.exe

配置

xray.exe -c config.toml

[log]
loglevel = "none"

[[inbounds]]
protocol = "vmess"
port = "2324"

[inbounds.settings]
decryption = "none"

[[inbounds.settings.clients]]
id = "b9ca9e73-ee13-5229-ad96-4045ea0342a7"

[inbounds.streamSettings]
network = "ws"

[[outbounds]]
protocol = "freedom"

防火墙

防火墙放行 xray.exe 程序

开机自启

https://github.com/winsw/winsw/releases/tag/v2.11.0

winsw 配置

xray.xml

<service>
<id>xray</id>
<name>Xray Service</name>
<executable>%BASE%\xray.exe -c serve.toml</executable>
</service>

winsw 命令

winsw.exe install xray.xml
winsw.exe start xray.xml
winsw.exe status xray.xml
Loading ...
无广告!