Comments (7)
How was it installed? By directly downloading the core binary?
from mihomo.
services.mihomo = {
enable = true;
package = pkgs.mihomo;
webui = inputs.nur-linyinfeng.packages.x86_64-linux.yacd;
configFile = "/etc/mihomo/config.yaml";
};
Alpha 版本也尝试了(自己打包)不过还是一样
直接运行二进制没试过,稍等
from mihomo.
services.mihomo = { enable = true; package = pkgs.mihomo; webui = inputs.nur-linyinfeng.packages.x86_64-linux.yacd; configFile = "/etc/mihomo/config.yaml"; };Alpha 版本也尝试了(自己打包)不过还是一样 直接运行二进制没试过,稍等
尝试运行二进制,怀疑可能是nix打包造成的,项目action构建用的是go1.22.5,版本对不上
from mihomo.
好像能开启 TUN 了,不过dns好像解析不了,我的问题
感谢~
from mihomo.
然后我又试了一下 /nix/store/ph9gdr11v4y6szai0093m8kqh3jqknyk-mihomo-1.18.6/bin 里的,也能正常运行,会不会因为 systemd 守护进程没写好
from mihomo.
我看着好像也没啥问题。
sudo /nix/store/ph9gdr11v4y6szai0093m8kqh3jqknyk-mihomo-1.18.6/bin/mihomo -d /etc/mihomo
这个正常运行
尝试着自己写 service 文件
https://wiki.metacubex.one/startup/service/#systemd
from mihomo.
Fixed. Add services.mihomo.tunMode = true;
or set RestrictAddressFamilies = "AF_INET AF_INET6 AF_NETLINK";
Thanks a lot.
from mihomo.
Related Issues (20)
- [Bug] proxy group 引用proxy provider后自动选择(URL-Test)不生效,默认选中第一个节点 HOT 2
- [Bug] GeoSite规则未使用代理服务器的DNS HOT 6
- [Feature] 有考虑把vless子协议增加xtls-rprx-vision-udp443选项嘛 HOT 2
- [Feature] route-address 支持本地文件 HOT 5
- [Bug] Mihomo内核无法使用虚拟局域网内的主机上的代理服务器 HOT 5
- CMFA请求支持“从最近任务中隐藏”来防止误删后台。类似于surfboard和Flclash那样。
- [Bug] hosts写法不完善
- [Feature] proxy-providers 增加是否使用代理更新的选项 HOT 2
- [Bug] provider 中设定的 HTTP header 不生效 HOT 3
- [Bug] 负载均衡s5崩溃的问题
- [Bug] mihomo对代理节点的解析没有遵循“proxy-server-nameserver”的设置
- [Feature] ssh private-key 为路径时解析~为$HOME
- [Bug] 在alpine Linux下无法运行 HOT 3
- [Bug] 关闭IPV6的情况下,有部分网站依然被分配IPV6地址并可绕过clash直接访问网络 HOT 3
- [Bug] 死循环请求单个节点 (当开启 mobile hotspot热点) HOT 2
- [Feature] HTTPUpgrade 支持 0-rtt 配置 HOT 3
- [Feature] clash dns返回不了ipv6解析吗
- [Feature] 实现节点动态实时选择功能 HOT 6
- Manually Specifying DoH Server IP Address for 'default-nameserver' in 'mihomo' Configuration
- [技术咨询] Mihomo 监听 shadowsocks 端口同时在另一台主机使用 Mihomo 作为客户端访问时不通 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mihomo.