[bug] apple芯片的mac指定dev_name无效
- Dominant language
- Rust
- Stars
- 13.6k
- Forks
- 1.4k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 34
Description
### 描述问题 / Describe the bug
版本: `easytier-macos-aarch64-v2.0.3.zip`
部分配置: 其中 dev_name = "utun36"
```yml
ipv4 = "10.144.144.3"
....
[flags]
# 连接到对等节点使用的默认协议
default_protocol = "tcp"
# TUN 设备名称,如果为空,则使用默认名称
dev_name = "utun36"
# 是否启用加密
enable_encryption = true
# 是否启用 IPv6 支持
enable_ipv6 = false
# TUN 设备的 MTU
mtu = 1380
# 延迟优先模式,将尝试使用最低延迟路径转发流量,默认使用最短路径
latency_first = true
# 将本节点配置为退出节点
enable_exit_node = false
# 禁用 TUN 设备
no_tun = false
# 为子网代理启用 smoltcp 堆栈
use_smoltcp = false
# 仅转发白名单网络的流量,支持通配符字符串。多个网络名称间可以使用英文空格间隔。如果该参数为空,则禁用转发。默认允许所有网络。例如:'*'(所有网络),'def*'(以def为前缀的网络),'net1 net2'(只允许net1和net2)
foreign_network_whitelist = "*"
disable_p2p = false
relay_all_peer_rpc = false
```
使用ifconfig命令:
实际为utun9
```bash
utun9: flags=8051 mtu 1360
inet 10.144.144.3 --> 10.8.8.8 netmask 0xffffff00
nd6 options=201
```
### 重现步骤 / Reproduction
_No response_
### 预期结果 / Expected behavior
_No response_
### 额外上下文 / Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.