防火墙状态
firewall-cmd --state
关闭防火墙
systemctl stop firewalld.service
Frp后台启动
nohup ./frps -c frps.ini >/dev/null 2>&1 &
nohup ./frpc -c frpc.ini >/dev/null 2>&1 &
Frp停止
ps -aux|grep frp| grep -v grep
kill -9 进程号
firewall-cmd --state
systemctl stop firewalld.service
nohup ./frps -c frps.ini >/dev/null 2>&1 &
nohup ./frpc -c frpc.ini >/dev/null 2>&1 &
ps -aux|grep frp| grep -v grep
kill -9 进程号