内网穿透使用说明

内网穿透

内网穿透使用说明

2022-10-22 16:24


                                            




内网穿透支持的协议:

TCP/UDP/HTTP/HTTPS/STCP/SUDP/XTCP

 

内网穿透服务可用端口:

1000-3000, 4000-6999, 8000-65535

 

注:只有 TCP 或 UDP 隧道的“远程端口”受到以上限制。

 

frp 配置教程:

[common]

server_addr = xxx.cn

server_port = 7000

protocol = tcp

token = xxxxxxx

user = xxxxxxxx

tcp_mux = true

 

# 下面的例子改成你自己的配置

[ssh]

type = tcp

local_ip = 127.0.0.1

local_port = 22

remote_port = 6000

 

[web]

type = http

local_ip = 127.0.0.1

local_port = 80

custom_domains = example.com

 #改成你自己的域名,并把你的域名解析到frp服务器