[GH-ISSUE #1205] Bind FRP client to a specific network adapter #948

Closed
opened 2026-05-05 12:36:09 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @pablozzz on GitHub (Apr 19, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1205

How to bind FRP client to a specific network adapter on Windows?
Great job, btw!

Originally created by @pablozzz on GitHub (Apr 19, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1205 How to bind FRP client to a specific network adapter on Windows? Great job, btw!
Author
Owner

@fatedier commented on GitHub (Apr 29, 2019):

You can't do that but you can set local_ip to connect.

<!-- gh-comment-id:487607348 --> @fatedier commented on GitHub (Apr 29, 2019): You can't do that but you can set `local_ip` to connect.
Author
Owner

@pablozzz commented on GitHub (May 6, 2019):

You can't do that but you can set local_ip to connect.

Hi @fatedier thanks for your response. I've tried use this config:

[http_proxy]
type = tcp
remote_port = 8080
plugin = http_proxy
plugin_http_user = abc
plugin_http_passwd = abc
local_ip = 192.168.0.1

But it doesn't help. The main thing that I need if my PC connected to VPN I would like FRP local proxy works to bypass VPN.

How do you think is it possible?

<!-- gh-comment-id:489729965 --> @pablozzz commented on GitHub (May 6, 2019): > You can't do that but you can set `local_ip` to connect. Hi @fatedier thanks for your response. I've tried use this config: [http_proxy] type = tcp remote_port = 8080 plugin = http_proxy plugin_http_user = abc plugin_http_passwd = abc local_ip = 192.168.0.1 But it doesn't help. The main thing that I need if my PC connected to VPN I would like FRP local proxy works to bypass VPN. How do you think is it possible?
Author
Owner

@fatedier commented on GitHub (May 7, 2019):

Update your route table ?

<!-- gh-comment-id:489906769 --> @fatedier commented on GitHub (May 7, 2019): Update your route table ?
Author
Owner

@pablozzz commented on GitHub (Jun 10, 2019):

@fatedier Thank you. Yes, I've used this way: I add in my win10 route table new route

139.xxx.xxx.xxx 255.255.255.255 192.168.0.1

where 139.xxx.xxx.xxx - is FRP server IP, but it doesn't help.

Proxy still use VPN connection (I see VPN IP instead real IP on IP detection services).
Do you have any more idea what can I do to bypass VPN connection?

<!-- gh-comment-id:500439508 --> @pablozzz commented on GitHub (Jun 10, 2019): @fatedier Thank you. Yes, I've used this way: I add in my win10 route table new route 139.xxx.xxx.xxx 255.255.255.255 192.168.0.1 where 139.xxx.xxx.xxx - is FRP server IP, but it doesn't help. Proxy still use VPN connection (I see VPN IP instead real IP on IP detection services). Do you have any more idea what can I do to bypass VPN connection?
Author
Owner

@ChenWenBrian commented on GitHub (Jul 12, 2019):

希望能有个全局参数,例如客户端连接服务器时,可以指定出口的网卡。

类似curl命令的interface参数,如:curl --interface eth0 whatismyip.akamai.com

<!-- gh-comment-id:510882783 --> @ChenWenBrian commented on GitHub (Jul 12, 2019): 希望能有个全局参数,例如客户端连接服务器时,可以指定出口的网卡。 类似curl命令的interface参数,如:`curl --interface eth0 whatismyip.akamai.com`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#948
No description provided.