Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: inbound interface binding #138

Open
Zerorigin opened this issue Sep 9, 2024 · 1 comment
Open

feature request: inbound interface binding #138

Zerorigin opened this issue Sep 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Zerorigin
Copy link
Contributor

打算将 realm 部署在网关路由器上,网关上的虚拟接口 lan(br-lan)绑定了多个网口设备 ethX,并通过 vlan 划分了多个虚拟子接口,我想在其中一个虚拟子接口监听特定端口进行转发,但 realm 似乎还是会监听所有的 IPv4、IPv6 地址,而不是仅监听虚拟子接口 interface 上的 IPv4、IPv6 地址。

我的配置如下:

[log]
level = "warn"

[network]
no_tcp = false
use_udp = false

# DeepLX - API
[[endpoints]]
listen = "[::]:1188"
remote = "1.2.3.4:1188"
interface = "vlan_Services"
@zephyrchien zephyrchien added the enhancement New feature or request label Sep 9, 2024
@zephyrchien
Copy link
Collaborator

@Zerorigin
Thanks for the detailed description which is really helpful to understand your use case and locate the problem.

Currently the interface argument is just for outbound connections/traffics. Inbound ones has not been implemented but I will add this missing feature soon when I have time.

@zephyrchien zephyrchien changed the title 指定接口绑定和预期的似乎有点不一样 feature request: inbound interface binding Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants