Files
notes/calendar/diary/2026年/2026-01-06.md
T
2026-03-01 01:43:46 +08:00

30 lines
1.5 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 任务
- [x] 开发:IBS 7.17.0 版本需求开发。(完成冒烟自测)
- [x] 割接:IBS 7.16.0-fix 验证用例。
- [x] 测试:前这个企业是有 配置管理 按钮的,我今天打开不知道为啥没了。
# 日志
```powershell
Get-NetAdapter -IncludeHidden | Sort-Object ifIndex | Format-Table ifIndex, Name, InterfaceDescription, Status, MacAddress, LinkSpeed -AutoSize
Get-DnsClientServerAddress -AddressFamily IPv4 | Sort-Object InterfaceIndex | Format-Table InterfaceIndex, InterfaceAlias, ServerAddresses -AutoSize
Get-DnsClientServerAddress -AddressFamily IPv6 | Sort-Object InterfaceIndex | Format-Table InterfaceIndex, InterfaceAlias, ServerAddresses -AutoSize
Get-NetIPConfiguration | Sort-Object InterfaceIndex | Select-Object InterfaceIndex, InterfaceAlias, @{n='IPv4GW';e={$_.IPv4DefaultGateway.NextHop}}, @{n='IPv6GW';e={$_.IPv6DefaultGateway.NextHop}} | Format-Table -AutoSize
把下面命令里的 <IFINDEX> 换成你在第 1 步看到的公司网卡 ifIndex
Get-CimInstance -Namespace root/StandardCimv2 -ClassName MSFT_NetAdapter -Filter "InterfaceIndex=IFINDEX" | Format-List InterfaceIndex, Name, InterfaceDescription, Status, HardwareInterface, NdisInterfaceType, InterfaceType, DriverDescription
Get-NetRoute -AddressFamily IPv4 -DestinationPrefix 0.0.0.0/0 | Sort-Object RouteMetric, ifIndex | Format-Table ifIndex, InterfaceAlias, NextHop, RouteMetric, PolicyStore -AutoSize
```
# 总结
不理解 singbox 的规则。