用 frp 暴露内网服务

# 服务端配置

[common]
bind_port = 7000
vhost_http_port = 8047
1
2
3
./frps -c ./frps.ini
1

# 客户端配置

[common]
server_addr = 49.4.71.57
server_port = 7000

[web]
type = http
local_ip = 127.0.0.1
local_port = 80
remote_port = 8047
use_compression = true
custom_domains = 49.4.71.57
1
2
3
4
5
6
7
8
9
10
11
./frpc -c ./frpc.ini
1