mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #5257] TCP PROXY V2 doesn't work with IPv6 Addresses #4070
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#4070
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 @viperman1271 on GitHub (Mar 20, 2026).
Original GitHub issue: https://github.com/fatedier/frp/issues/5257
Bug Description
I'm trying to decode the remote IP address of the connecting clients. For ipv4, there are no issues. But for ipv6, it seems to forward the ipv4 address of the docker gateway 100% of the time.
frpc Version
0.67.0
frps Version
0.67.0
System Architecture
linux/amd64
Configurations
frpc.ini
[common]
server_addr = WITHHELD
server_port = 7000
token = WITHHELD
[smtp]
type = tcp
local_ip = WITHHELD
local_port = 25
remote_port = 25
proxy_protocol_version = v2
frps.ini
[common]
bind_port = 7000
proxy_protocol_version = v2
dashboard_addr = 0.0.0.0
dashboard_port = 7500
dashboard_user = WITHHELD
dashboard_pwd = WITHHELD
token = WITHHELD
allow_ports = 25
Logs
Nothing in the logs describes the issue
Steps to reproduce
Affected area
@github-actions[bot] commented on GitHub (Apr 4, 2026):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.