TunnelNat

TunnelNat是一个利用frp/ngrok服务的高性能的反向代理应用,可以帮助您轻松地进行内网穿透,对外网提供服务,支持 tcp, http, https 等协议类型,并且 web 服务支持根据域名进行路由转发。

centos FRP 设置开机自启动

CentOS系统下,主要有两种方法设置自己安装的程序开机启动。
1、把启动程序的命令添加到/etc/rc.d/rc.local文件中。

  客户端自启动

#!/bin/sh#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff. 
nohup /root/frpc -c /root/frpc.ini >/root/frpc/log.txt 2>&1 &

服务端自启动

#!/bin/sh#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff. 
nohup /root/frps -c /root/frps.ini >/root/frpc/log.txt 2>&1 &



备注:请将  路径地址换成您电脑系统的真是路径


我的系统是Centos6.5其他系统的话设置开机启动可能会有所不同