内网渗透之frp隧道搭建
内网穿透工具frp
1 文件下载地址:
https://github.com/fatedier/frp/releases
版本和操作系统对应关系
2 搭建socks5代理
配置文件如下:
服务端: ./frps -c frps.ini
(运行时需要删除frps.ini中#注释的东西以及#号,不然会报错,这里加注释是为了说明每个配置行的含义)
frps.ini
[common]
bind_addr = 0.0.0.0 #绑定的ip,为本机
bind_port = 17000 #绑定的端口
dashboard_addr = 0.0.0.0 #管理地址
dashboard_port = 27500 #管理端口
dashboard_user = root #管理的用户名
dashboard_pwd = toor #管理用户的密码
token = 1q2w3e