frp应用

frp是一个使外网可以访问内网的工具。

https://blog.csdn.net/ss300400a/article/details/100933390

中文说明如下:

https://github.com/fatedier/frp

注意事项是:windows下,运行frpc.exe和frps.exe要带参数,不然所配置的ini文件不起作用。

frps.exe -c frps.ini   

frpc.exe -c frpc.ini 

配置如下:

frps.ini

[common]
bind_port = 7000
vhost_http_port = 6077

frpc.ini

[common]
server_addr = 公网IP
server_port = 7000

[web]
type = http
local_ip = 10.1.135.10
local_port = 8077
remote_port = 8077
custom_domains = 公网IP

测试:http://公网IP:6077

实测可行。2019-11-25

 

posted @ 2019-11-25 17:31  太阳风暴  阅读(136)  评论(0)    收藏  举报