mihomo icon indicating copy to clipboard operation
mihomo copied to clipboard

[Feature] FreeBSD中支持tun

Open 0x79H opened this issue 4 months ago • 2 comments

Verify steps

  • [X] 我已经在 Issue Tracker 中找过我要提出的请求 I have searched on the issue tracker for a related feature request.
  • [X] 我已经仔细看过 Documentation 并无法找到这个功能 I have read the documentation and was unable to solve the issue.

Description

这个问题如何影响到你?

  1. Issues未找到相关的请求
  2. clash premium支持此功能
  3. tun2socks可以不优雅的替代此功能

你想实现什么功能?

在freebsd(且openbsd?)中支持tun模式

目前 Mihomo Core 的行为是什麽?

mihomo在FreeBSD中提示 Start TUN listening error: create NetworkUpdateMonitor: invalid argument

Possible Solution

好像是因为sing-tun不支持在freebsd中进行tun, 没相关实现的代码... 找上游? 发现wireguard-go或者tun2socks支持在freebsd中进行tun, 感觉可以参考 premium使用的直接是golang.zx2c4.com/wireguard/tun.CreateTUN🤔

0x79H avatar Apr 02 '24 03:04 0x79H

可能很久都不会得到支持,开发者没几个用*bsd的,sing-tun新特性支持也不会放弃,或者,你会golang的话,可以pr

xishang0128 avatar Apr 02 '24 09:04 xishang0128

bsd系确实难崩……

daiaji avatar Apr 17 '24 11:04 daiaji