clash_for_windows_pkg
clash_for_windows_pkg copied to clipboard
[Feature Request]: Allow Lan 多网卡状态下,允许选择 NIC 或者 可以自定义Allow IP
功能描述
多网卡状态下, 不想在所有网卡上都开放Allow Lan, 有安全隐患,建议增加一个可勾选网卡的开关选项。
其他内容
No response
进入 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: '*'
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
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.