mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4937] [Feature Request] Enhanced Interface Binding Support #3894
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#3894
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 @jeet0733 on GitHub (Aug 15, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4937
Describe the feature request
Description
Add support for network interface binding in FRP client connections, allowing users to specify which network interface to use when connecting to the FRP server through interface names or auto-detection, in addition to the existing IP address binding. I have developed it, kindly approve this feature and I will submit the PR.
Currently, frp supports:
connectServerLocalIPThis feature request adds the missing interface binding capabilities.
Implementation Approach
connectServerInterfacefield--bind-interface,--bind-ip) for runtime configurationUse Cases
Configuration Example
Command Line Interface
Benefits
connectServerLocalIPconfigurationsDescribe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Aug 15, 2025):
Thanks for the suggestion, but we don’t have plans to add this feature for now.
@jeet0733 commented on GitHub (Aug 18, 2025):
Hi fatedier, supporting the interface binding can really help where the IP of interface is not known in advance such as vpn interfaces. Another similar request was open at 3376 but was addressed with IP allocation workaround.
Since it requires minimal code changes, I would request you to review it once at 4943
@fatedier commented on GitHub (Aug 18, 2025):
Thank you for your submission. We do not intend to support this feature.
@f0re1gnKey commented on GitHub (Aug 20, 2025):
This developer is quite stubborn and sticks to what he calls his own principles.
Therefore, if you have new requirements, I recommend forking and modifying it yourself.
The developers said that you shouldn't add too much irrelevant content to frp, but in my opinion, all the http and ui related content is redundant, they can't be better than nginx/apache.
@github-actions[bot] commented on GitHub (Sep 4, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.