mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #717] 可否指定客户端出去的网卡接口 #567
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#567
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 @hieixu on GitHub (Apr 22, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/717
背景:
路由器的操作系统是LEDE,有2个wan接口,frpc 只会走默认的wan。
如果默认的wan出问题(断网,但是连接还在)了,frpc 就无法连接服务器了。
需求:
希望frpc和curl一样,增加一个interface的参数,指定出去的网络接口
@kavid commented on GitHub (Apr 22, 2018):
frpc的服务器在哪里?架构是啥样的
@kavid commented on GitHub (Apr 22, 2018):
那你们的wan口断了一个,你们的网络还能够正常访问的?
就是frps和frpc不能连接?估计重新启动一下frps就行了
@hieixu commented on GitHub (Apr 23, 2018):
frp服务器是普通的架构。
默认wan断掉后,路由器自己是不能上网的,但是路由器下面的客户端可以正常上网。
问题和frps无关,重启frps是无作用的。
这个需求核心是绑定frpc连接出去的网络接口
@fatedier commented on GitHub (Apr 23, 2018):
暂不考虑这个方面的问题,尽量通过外部手段或者脚本去解决吧~
@kavid commented on GitHub (Apr 24, 2018):
嗯,确实没有啥必要考虑
首先专线不是那么容易断掉的。
其次这种应用范围太小了。
@dongliqiang1985 commented on GitHub (Jun 29, 2021):
问题描述:
设备有两个网卡,eth0(无法上网,用于内部通信),wlan0(4G,可上网)。问题:插上eth0网线后,frpc离线。
可有解决方案?能否修改frpc.ini支持指定网卡?
@haha252 commented on GitHub (Jun 9, 2024):
要是能让frp在断网过后自动切换线路尝试就好了~