This commit is contained in:
hbc 2018-01-17 14:45:58 +00:00 committed by GitHub
commit 5359722ba5
2 changed files with 8 additions and 4 deletions

View File

@ -231,6 +231,7 @@ Configure frps same as above.
[secret_ssh] [secret_ssh]
type = stcp type = stcp
role = server
sk = abcdefg sk = abcdefg
local_ip = 127.0.0.1 local_ip = 127.0.0.1
local_port = 22 local_port = 22
@ -279,6 +280,7 @@ Now it can't penetrate all types of NAT devices. You can try **stcp** if **xtcp*
[p2p_ssh] [p2p_ssh]
type = xtcp type = xtcp
role = server
sk = abcdefg sk = abcdefg
local_ip = 127.0.0.1 local_ip = 127.0.0.1
local_port = 22 local_port = 22

View File

@ -95,7 +95,7 @@ master 分支用于发布稳定版本dev 分支用于开发,您可以尝试
[common] [common]
server_addr = x.x.x.x server_addr = x.x.x.x
server_port = 7000 server_port = 7000
[ssh] [ssh]
type = tcp type = tcp
local_ip = 127.0.0.1 local_ip = 127.0.0.1
@ -173,7 +173,7 @@ DNS 查询请求通常使用 UDP 协议frp 支持对内网 UDP 服务的穿
[common] [common]
server_addr = x.x.x.x server_addr = x.x.x.x
server_port = 7000 server_port = 7000
[dns] [dns]
type = udp type = udp
local_ip = 8.8.8.8 local_ip = 8.8.8.8
@ -202,7 +202,7 @@ frps 的部署步骤同上。
[common] [common]
server_addr = x.x.x.x server_addr = x.x.x.x
server_port = 7000 server_port = 7000
[unix_domain_socket] [unix_domain_socket]
type = tcp type = tcp
remote_port = 6000 remote_port = 6000
@ -234,6 +234,7 @@ frps 的部署步骤同上。
[secret_ssh] [secret_ssh]
type = stcp type = stcp
role = server
# 只有 sk 一致的用户才能访问到此服务 # 只有 sk 一致的用户才能访问到此服务
sk = abcdefg sk = abcdefg
local_ip = 127.0.0.1 local_ip = 127.0.0.1
@ -288,6 +289,7 @@ frp 提供了一种新的代理类型 **xtcp** 用于应对在希望传输大量
[p2p_ssh] [p2p_ssh]
type = xtcp type = xtcp
role = server
# 只有 sk 一致的用户才能访问到此服务 # 只有 sk 一致的用户才能访问到此服务
sk = abcdefg sk = abcdefg
local_ip = 127.0.0.1 local_ip = 127.0.0.1
@ -331,7 +333,7 @@ frps 的部署步骤同上。
[common] [common]
server_addr = x.x.x.x server_addr = x.x.x.x
server_port = 7000 server_port = 7000
[http_proxy] [http_proxy]
type = tcp type = tcp
remote_port = 6000 remote_port = 6000