Skip to content

无法开启 quic 协议 #4738

@haowen2000

Description

@haowen2000

Bug Description

开启quic协议后,FRPC就连不上FRPS。
TCP协议正常。

端口开放情况如下:

ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:6001
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:6001
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:6001
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:6001

frpc Version

0.61+

frps Version

0.61+

System Architecture

openwrt/arm64

Configurations

frps

bindPort = 6000
auth.method = "token"
auth.token = "XXXX"
quicBindPort = 6001
vhostHTTPPort = 6080
vhostHTTPSPort = 6443
log.to = "/var/log/frps.log"
log.level = "info"
webServer.addr = "192.168.1.100"
webServer.port = 6006

frpc

user = "home"
serverAddr = "xx.xx.com"
serverPort = 6001
loginFailExit = false
auth.method = "token"
auth.token = "XXXXX"
log.to = "/var/log/frpc.log"
transport.protocol = "quic"
transport.tls.enable = false

[[proxies]]
name = "n1_op_ssh"
type = "tcp"
localIP = "192.168.1.100"
localPort = 22
remotePort = 6101

Logs

FRPS日志

025-03-31 11:30:17.916 [I] [server/service.go:237] frps tcp listen on 0.0.0.0:6000
2025-03-31 11:30:17.916 [I] [server/service.go:261] frps quic listen on 0.0.0.0:6001
2025-03-31 11:30:17.917 [I] [server/service.go:305] http service listen on 0.0.0.0:6080
2025-03-31 11:30:17.917 [I] [server/service.go:319] https service listen on 0.0.0.0:6443
2025-03-31 11:30:17.917 [I] [frps/root.go:114] frps started successfully

FRPC 日志:

2025-03-31 11:34:57.370 [I] [client/service.go:295] try to connect to server...
2025-03-31 11:35:02.376 [W] [client/service.go:298] connect to server error: timeout: no recent network activity
2025-03-31 11:35:06.533 [I] [client/service.go:295] try to connect to server...
2025-03-31 11:35:11.544 [W] [client/service.go:298] connect to server error: timeout: no recent network activity
2025-03-31 11:35:20.665 [I] [client/service.go:295] try to connect to server...
2025-03-31 11:35:25.673 [W] [client/service.go:298] connect to server error: timeout: no recent network activity

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions