内网穿透FRP工具的使用

https://github.com/fatedier/frp

https://gofrp.org/zh-cn/docs/overview/

启动

Linux server example:

1
2
3
4
5
6
7
8
#Linux后台启动
nohup ./frps -c ./frps.toml&

#查看当前进程
ps aux

#关闭
kill -9 PID

windows client example:

1
2
3
4
5
6
7
8
#windows后台启动
start /b frpc.exe -c frpc.toml

#查看当前进程
tasklist

#结束进程
taskkill /pid PID -f

端口被占用:

1
2
netstat -nap
kill -9 PID

__END__