You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<configuration>
<!-- ID of the service. It should be unique accross the Windows system-->
<id>Frpc</id>
<!-- Display name of the service -->
<name>Frpc Service</name>
<!-- Service description -->
<description>网络映射服务</description>
<!-- Path to the executable, which should be started -->
<executable>%BASE%\frpc.exe</executable>
</configuration>
目前只测试了rdp客户端
可以考虑将windows客户端直接部署为服务,就可以随机启动了:
winsw/winsw: A wrapper executable that can run any executable as a Windows service, in a permissive license.
https://github.com/winsw/winsw
只需要在frpc客户端文件夹下:
将winsw.exe放进去改名为例如frpcs.exe,然后增加同名的配置文件frpcs.xml
同时修改open.bat 安装并启动服务:
我把这三个文件添加到现有jar包,重新打包后build docker镜像,实验下载客户端没问题。
客户端配置文件frpc.ini 中的 server_addr 是IP地址,这个我感觉算是个bug,因为已经配置了服务器的域名但没有用上,建议后期修复。
建议加上auth_token 配置项,采用默认值token不太安全。
The text was updated successfully, but these errors were encountered: