frp在windows自启动

1.winsw.xml

1
2
3
4
5
6
7
8
<service>
<id>frp</id>
<name>frp</name>
<description>frp remote control</description>
<executable>frpc</executable>
<arguments>-c frpc.ini</arguments>
<logmode>reset</logmode>
</service>

2.安装和启动命令

1
2
3
4
5
6
7
8
9
将winsw.exe 和winsw.xml 放在frp 目录下
在frp 目录下输入安装命令
winsw.exe install
启动命令
winsw.exe start
重启命令
winsw.exe restart

外网远程控制win10默认的端口为3389 而不是80端口

frp在windows自启动
http://example.com/2025/04/03/frp在windows自启动/
作者
zgx
发布于
2025年4月3日
许可协议