mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3268] 使用cloudflare给内网某台电脑开了7000端口和7500。7500可以直接访问,但是7000端口始终无法用客户端连接 #2617
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#2617
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 @yelublue on GitHub (Jan 24, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3268
Bug Description
使用cloudflare给内网某台电脑开了7000端口和7500。7500可以直接访问,但是7000端口始终无法用客户端连接。

是因为cloudflare转发的时候地址就不对吗?
frpc Version
0.461
frps Version
0.461
System Architecture
windows64
Configurations
[common]
server_addr = b.xxx.top
server_port = 7000
[w520]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 9002
Logs
PS C:\frp> C:\frp\frpc.exe -c 112.ini
2023/01/24 08:50:12 [W] [service.go:133] login to server failed: dial tcp 172.67.135.129:7000: i/o timeout
dial tcp 172.67.135.129:7000: i/o timeout
PS C:\frp> C:\frp\frpc.exe -c 112.ini
2023/01/24 08:50:49 [I] [service.go:298] [c58355a158d5d389] login to server success, get run id [c58355a158d5d389], server udp port [0]
2023/01/24 08:50:49 [I] [proxy_manager.go:142] [c58355a158d5d389] proxy added: [w520]
2023/01/24 08:50:49 [I] [control.go:172] [c58355a158d5d389] [w520] start proxy success
PS C:\frp> C:\frp\frpc.exe -c 112.ini
2023/01/24 08:52:05 [W] [service.go:133] login to server failed: dial tcp 172.67.135.129:7000: i/o timeout
dial tcp 172.67.135.129:7000: i/o timeout
PS C:\frp> C:\frp\frpc.exe -c 112.ini
2023/01/24 08:57:53 [W] [service.go:133] login to server failed: dial tcp 172.67.135.129:7000: i/o timeout
dial tcp 172.67.135.129:7000: i/o timeout
PS C:\frp> C:\frp\frpc.exe -c 112.ini
2023/01/24 08:58:45 [W] [service.go:133] login to server failed: dial tcp 172.67.135.129:7000: i/o timeout
dial tcp 172.67.135.129:7000: i/o timeout
PS C:\frp>
Steps to reproduce
...
Affected area
@Becods commented on GitHub (Jan 25, 2023):
需要tunnel的配置文件
检查本地7000端口是否被监听,大概率非frp问题
cf不支持此协议列表所用端口之外的直连tcp隧道
参照官方教程 Arbitrary TCP 正确配置双端tunnel
@yelublue commented on GitHub (Jan 25, 2023):