【FRP】frp配置信息

服务端

$ cat frps.ini
[common]
bind_port = 7000
vhost_http_port = 80
vhost_https_port = 443

客户端

$ cat frpc.ini
[common]
server_addr = example.com
server_port = 7000

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 2222

[http]
type = http
local_port = 80
custom_domains = example.com

[https]
type = https
local_port = 443
custom_domains = example.com

[test_a]
type = http
local_port = 4000
custom_domains = a.example.com

[test_b]
type = http
local_port = 5000
custom_domains = b.example.com

[test_c]
type = http
local_port = 6000
custom_domains = c.example.com

posted on 2020-08-11 15:26  严中辉  阅读(125)  评论(0编辑  收藏  举报