内网穿透FRP

本文唯一作用是给自己和朋友们备忘,不对外服务。

中文文档:https://github.com/fatedier/frp/blob/master/README_zh.md

下载地址:https://github.com/fatedier/frp/releases

客户端配置

1、common块

[common]
token = ***保密***
server_addr = frp.mateor.cn
server_port = 8000
login_fail_exit = false

2、穿透tcp

[tcp-customName]
type = tcp
local_port = 22
remote_port = 1022

3、穿透http

[http-customService]
type = http
local_port = 80
custom_domains = test.mateor.cn

4、穿透https

[https-disk]
type = https
local_port = 443
custom_domains = test.mateor.cn