clash_for_windows_pkg icon indicating copy to clipboard operation
clash_for_windows_pkg copied to clipboard

[Feature Request]: Allow Lan 多网卡状态下,允许选择 NIC 或者 可以自定义Allow IP

Open keekychen opened this issue 2 years ago • 1 comments

功能描述

多网卡状态下, 不想在所有网卡上都开放Allow Lan, 有安全隐患,建议增加一个可勾选网卡的开关选项。

其他内容

No response

keekychen avatar Jul 04 '22 12:07 keekychen

进入 Home Directory ,编辑里面的 config.yaml,添加 bind-address 参数

# This is only applicable when `allow-lan` is `true`
# '*': bind all IP addresses
# 192.168.122.11: bind a single IPv4 address
# "[aaaa::a8aa:ff:fe09:57d8]": bind a single IPv6 address
bind-address: '*'

Fndroid avatar Jul 05 '22 03:07 Fndroid

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

Fndroid avatar Sep 04 '22 00:09 Fndroid

thanks, but edit yaml is not user friendly for those NICs with IP from DHCP server- you have to manually get ip address for one NIC, edit configure yaml every time when IP changed.

keekychen avatar Oct 18 '22 08:10 keekychen