mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4922] [Feature Request] Add socket reuse flag #3884
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#3884
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 @f0re1gnKey on GitHub (Aug 10, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4922
Describe the feature request
Added a socket listener reuse flag to facilitate simultaneous listening on 127.0.0.1 and 0.0.0.0
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Aug 10, 2025):
We usually need to approach problems based on actual needs and try to do things in the simplest way possible.
@f0re1gnKey commented on GitHub (Aug 10, 2025):
Two services are running on the server at the same time. One is the edge control access service responsible for controlling access, and the other is the frp service responsible for exposing intranet services. Legitimate access will be forwarded from the edge control service to frp's 127.0.0.1. The server has one static IP and multiple dynamic IPs, which makes it inconvenient to limit the listening IP of edge services. I also expose multiple ports externally, typically configuring them to automatically forward traffic to the same port.