请求:本机-》远端代理机-》远端内网机(或者本机当远端内网机也可)
返回:远端内网机-》远端代理机-》本机
服务端:211.159.16.x
内网客户端,测试端::windows pc机,也当测试机
http://mirror.cnop.net/frp/frp_0.21.0_windows_amd64.zip
[common]
bind_port = 7000
vhost_http_port = 6081
d:
cd D:/Program Files/frp_0.21.0_windows_amd64
frps.exe -c frps.ini
说明:[common]
server_addr = 211.159.16.x
server_port = 7000
[web]
type = http
local_port = 80
custom_domains = 211.159.16.x
d:
cd D:/Program Files/frp_0.21.0_windows_amd64
frpc.exe -c frpc.ini
http:// 211.159.16.x:6081
服务端启动脚本(放程序根目录):
@echo off%~d0cd %~dp0
frps.exe -c frps.ini
pause
客户端启动脚本(放程序根目录):
@echo off%~d0cd %~dp0frpc.exe -c frpc.ini
pause