1、启动/停止隧道非常简单,使用下面的命令即可,start 是启动,stop 是停止
# systemctl <start|stop> <Unit名称>
systemctl start frpc@xxxxxxxx:1113654
2、配置开机自启
systemctl enable frpc@xxxxxxxx:1113654 开启
systemctl disable frpc@xxxxxxxx:534048 禁用
3、查看运行状态
systemctl list-units frpc@*
systemctl list-units –all frpc@*

开启
systemctl start frpc@访问密钥:隧道编号

停用
systemctl stop frpc@访问密钥:隧道编号

查看
systemctl list-units –all frpc@*
禁用(删除)开机启动
systemctl disable frpc@访问密钥:隧道编号

启用开机启动
systemctl enable frpc@访问密钥:隧道编号