mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
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#5069
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?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/4902
Author: @fatedier
Created: 7/28/2025
Status: ✅ Merged
Merged: 7/28/2025
Merged by: @fatedier
Base:
dev← Head:devin/1753685736-fix-ssh-gateway-bindaddr📝 Commits (1)
42ab433Fix SSH tunnel gateway binding address issue #4900📊 Changes
2 files changed (+6 additions, -2 deletions)
View changed files
📝
Release.md(+5 -1)📝
server/service.go(+1 -1)📄 Description
WHY
Fixes #4900 where SSH tunnel gateway fails to accept external connections when
proxyBindAddris set to "127.0.0.1".Root Cause: SSH tunnel gateway was incorrectly binding to
cfg.ProxyBindAddrinstead ofcfg.BindAddr, causing it to only listen on localhost whenproxyBindAddr = "127.0.0.1".Solution: Changed SSH gateway initialization to use
cfg.BindAddrfor external accessibility while preservingproxyBindAddrfunctionality for actual proxy connections.WHAT
Main Change:
server/service.goline 265 to usecfg.BindAddrinstead ofcfg.ProxyBindAddrfor SSH tunnel gateway bindingSupporting Changes:
Release.mdwith fix description following project conventionsVERIFICATION
Local Testing Results:
0.0.0.0:60000instead of127.0.0.1:60000with test config:Behavior Change:
proxyBindAddr, rejecting external connections when set to "127.0.0.1"bindAddrfor external accessibilityREVIEW CHECKLIST
Critical Items:
server/service.golines 265-266 before mergeproxyBindAddrconfigurationsproxyBindAddr(user requirement)Additional Verification:
proxyBindAddr = "127.0.0.1"Link to Devin run: https://app.devin.ai/sessions/05cd89122d014c468428f66f349fcaa9
Requested by: @fatedier
Related Issue: #4900
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.