服务器配置
[root@kangcw frp_0.33.0_linux_amd64]# cat frps.ini
[common]
bind_port = 7000
vhost_http_port = 10086 #定义web
启动
./frps -c ./frps.ini
配置客户端
[common]
server_addr = 111.230.144.247
server_port = 7000
[web]
type = http
custom_domains = 111.230.144.247
local_port = 80
启动
C:\Users\Administrator>E:\frp_0.33.0_windows_amd64\frpc.exe -c E:\frp_0.33.0_win
dows_amd64\frpc.ini
访问
http://12.12.12.12:10086
来源:oschina
链接:https://my.oschina.net/kcw/blog/4313824