[GH-ISSUE #2367] pick interface for http proxy #1880

Closed
opened 2026-05-05 13:12:57 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @SemanticInheritance on GitHub (Apr 25, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2367

Hi,

I have multiple interfaces that i wish to create http proxy for, my basic config is:

[eth0-proxy]
type = tcp
remote_port = 6330
plugin = http_proxy

[eth1-proxy]
type = tcp
remote_port = 6330
plugin = http_proxy

i tried: local_addr, plugin_local_addr, local_ip, plugin_local_ip with eth0/1 interface ip hoping it would use it, but the endpoints keep returning the main server/interface ip.

Thanks.

Originally created by @SemanticInheritance on GitHub (Apr 25, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2367 Hi, I have multiple interfaces that i wish to create http proxy for, my basic config is: ``` [eth0-proxy] type = tcp remote_port = 6330 plugin = http_proxy [eth1-proxy] type = tcp remote_port = 6330 plugin = http_proxy ``` i tried: local_addr, plugin_local_addr, local_ip, plugin_local_ip with eth0/1 interface ip hoping it would use it, but the endpoints keep returning the main server/interface ip. Thanks.
gitea-mirror 2026-05-05 13:12:57 -06:00
Author
Owner

@fatedier commented on GitHub (Apr 25, 2021):

You can't do that now since frpc can't specify net interface. Maybe you can try to modify route tables to achieve the same thing.

<!-- gh-comment-id:826341085 --> @fatedier commented on GitHub (Apr 25, 2021): You can't do that now since frpc can't specify net interface. Maybe you can try to modify route tables to achieve the same thing.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 10, 2021):

Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.

<!-- gh-comment-id:858191942 --> @github-actions[bot] commented on GitHub (Jun 10, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
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#1880
No description provided.