mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #804] 不能使用STCP #627
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#627
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @asdaragon on GitHub (Jun 5, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/804
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
frps 0.20.0
frpc 0.20.0
frpc_Visitor 0.20.0
What operating system and processor architecture are you using (
go env)?frps - ubuntu
frpc - win2016
frpc_Visitor - win7
Configures you used:
frpc
[ubuntu_shh_stcp]
type = stcp
sk = Qwe159874123
local_ip = 192.168.1.40
local_port = 22
use_encryption = true
use_compression = true
frpc_Visitor
[secret_tcp_visitor]
role = visitor
type = stcp
server_name = ubuntu_shh_stcp
sk = Qwe159874123
bind_addr = 127.0.0.1
bind_port = 22
use_encryption = true
use_compression = true
Steps to reproduce the issue:
1.两台机器启动了frpc
2.连接正常
3.使用XSHELL访问Frpc_Visitor
Describe the results you received:

Describe the results you expected:
无
Additional information you deem important (e.g. issue happens only occasionally):
无
Can you point out what caused this issue (optional)
无
@fatedier commented on GitHub (Jun 6, 2018):
两边的
user这个参数是不是配置的不一样。@asdaragon commented on GitHub (Jun 8, 2018):
User配置是一样的。我想问一下,如果NAT类型是Udpblocked的话应该用不了吧
@fatedier commented on GitHub (Jun 8, 2018):
不是,stcp 不是 p2p 和 NAT 类型无关,之后我会测试下是哪里的问题。
你最好贴下你的完整的配置,同时最好简化,一些不必要的配置可以去掉。
@fatedier commented on GitHub (Jun 8, 2018):
看起来是对 user 作为 server_name 的 prefix 部分有问题,已修改。
@ljpwinxp2 commented on GitHub (Jul 27, 2018):
我也是0.20版本,也是碰到这种问题。我该如何在还没发布新版本的时候去修复这个问题呢