mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3616] ssh开启proxy_protocol后无法连接 #2886
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#2886
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 @CyrusLee1 on GitHub (Sep 15, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3616
Bug Description
openwrt 客户端开启proxy_protocol 会出现 Connection closed。
服务端日志:
2023/09/14 23:49:10 [I] [proxy.go:199] [354552c8a08dc737] [xxxx] get a user connection [xx.xx.xx.xx:4859]
客户端没有日志
openwrt的日志:
Fri Sep 15 11:48:46 2023 authpriv.info dropbear[9705]: Child connection from 10.0.0.1:39512
Fri Sep 15 11:48:46 2023 authpriv.info dropbear[9705]: Exit before auth from <10.0.0.1:39512>: Exited normally
关闭proxy_protocol后可以正常连接
frpc Version
0.51.3
frps Version
0.51.3
System Architecture
openwrt / amd64
Configurations
客户端配置
[common]
server_addr=xx.xx.xx.xx
server_port=xxxx
token=xxxxxxxx
user=xxxx
log_level=info
log_max_days=3
protocol=tcp
log_file=/var/etc/frp/frpc.log
tcp_mux=true
tls_enable=true
login_fail_exit=false
[openwrt-ssh]
type=tcp
remote_port=xxxxx
local_ip=10.0.0.1
local_port=22
use_encryption=true
use_compression=true
proxy_protocol_version=v2
服务端配置
[common]
bind_port = xxxx
quic_bind_port = xxxx
token=xxxxxxxx
Logs
No response
Steps to reproduce
...
Affected area
@CyrusLee1 commented on GitHub (Sep 15, 2023):
抱歉。ssh好像并不支持proxy_protocol。