Appearance
Linux 命令说明
本文例举了财运Up内网穿透(gostc) 客户端支持的所有命令行运行方式,以及注册为系统服务、实现后台运行和开机自启的命令。
1. 运行客户端
./gostc --tls=true -addr gostc.caiyunup.top -key {客户端密钥}2. 注册为系统服务(后台运行 + 开机自启)
1客户端模式注册为系统服务
shell
./gostc install --tls=true -addr gostc.caiyunup.top -key {客户端密钥}服务安装好后,可以使用以下命令启动/停止/卸载,系统服务会跟随随系统自启动
shell
# 启动服务
./gostc start
# 停止服务
./gostc stop
# 卸载服务
./gostc uninstall也可以使用systemctl进行管理
shell
# 启动服务
systemctl start gostc
# 停止服务
systemctl stop gostc运行的参数在安装时配置,如果需要修改运行参数,需要先卸载服务,然后重新运行安装命令
