RuralHunter / CoreELEC

This is CoreELEC for Phicomm N1 device only. Run ./mkn1 to build.
https://coreelec.org
600 stars 105 forks source link

[BUG]无法使用clash透明代理 #71

Closed lalalale39 closed 2 years ago

lalalale39 commented 2 years ago

Describe the bug

无法使用clash透明代理

To Reproduce

Steps to reproduce the behavior: 安装docker后,使用macvlan建立clash容器,启动报错 iptables v1.8.7 (legacy): unknown option "--on-port",

进一步查询发现是因为内核模块中缺少了TPROXY模块,是否可以在编译中打开相关模块如下: CONFIG_NF_SOCKET_IPV4=m CONFIG_NF_TPROXY_IPV4=m CONFIG_NF_DUP_IPV4=m

Informations

其他是否还有模块要打开,我也不清楚,可以先打开这几个试试看。

RuralHunter commented 2 years ago

try this: https://pan.baidu.com/s/1HHtwSIMeges6bFHe_f22sQ?pwd=dzdv

lalalale39 commented 2 years ago

感谢,完美解决,目前可以用透明代理了。

yesky84 commented 2 years ago

感谢,完美解决,目前可以用透明代理了。

你好,我也想要docker运行clash-peemium作透明代理。可以叫谁我完整方法吗?网上没有找到教程. 之前刷armbian时用clash-premium install安装过,docker版的搞不来。请赐教.谢谢

lalalale39 commented 2 years ago

感谢,完美解决,目前可以用透明代理了。

你好,我也想要docker运行clash-peemium作透明代理。可以叫谁我完整方法吗?网上没有找到教程. 之前刷armbian时用clash-premium install安装过,docker版的搞不来。请赐教.谢谢

hub.docker.com上搜索rinex20/clash-transparent-proxy-docker,里面有详细按照办法。

yesky84 commented 2 years ago

感谢,完美解决,目前可以用透明代理了。

你好,我也想要docker运行clash-peemium作透明代理。可以叫谁我完整方法吗?网上没有找到教程. 之前刷armbian时用clash-premium install安装过,docker版的搞不来。请赐教.谢谢

hub.docker.com上搜索rinex20/clash-transparent-proxy-docker,里面有详细按照办法。

你好,按照方法容器是运行起来了。局域网也有macnet的IP地址了。但将它设为网关还是不能上网,提示网络不可用。请问n1还需要其它设置吗?

lalalale39 commented 2 years ago

估计是配置文件的问题了,建议你把配置文件发我看看吧。

yesky84 @.***> 于2022年5月12日周四 18:12写道:

感谢,完美解决,目前可以用透明代理了。

你好,我也想要docker运行clash-peemium作透明代理。可以叫谁我完整方法吗?网上没有找到教程. 之前刷armbian时用clash-premium install安装过,docker版的搞不来。请赐教.谢谢

hub.docker.com上搜索rinex20/clash-transparent-proxy-docker,里面有详细按照办法。

你好,按照方法容器是运行起来了。局域网也有macnet的IP地址了。但将它设为网关还是不能上网,提示网络不可用。请问n1还需要其它设置吗?

— Reply to this email directly, view it on GitHub https://github.com/RuralHunter/CoreELEC/issues/71#issuecomment-1124811452, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWCV5CVER7FVHGUXUCOSCLVJTKQDANCNFSM5RFATPNQ . You are receiving this because you authored the thread.Message ID: @.***>

yesky84 commented 2 years ago

估计是配置文件的问题了,建议你把配置文件发我看看吧。 yesky84 @.> 于2022年5月12日周四 18:12写道: 感谢,完美解决,目前可以用透明代理了。 你好,我也想要docker运行clash-peemium作透明代理。可以叫谁我完整方法吗?网上没有找到教程. 之前刷armbian时用clash-premium install安装过,docker版的搞不来。请赐教.谢谢 hub.docker.com上搜索rinex20/clash-transparent-proxy-docker,里面有详细按照办法。 你好,按照方法容器是运行起来了。局域网也有macnet的IP地址了。但将它设为网关还是不能上网,提示网络不可用。请问n1还需要其它设置吗? — Reply to this email directly, view it on GitHub <#71 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWCV5CVER7FVHGUXUCOSCLVJTKQDANCNFSM5RFATPNQ . You are receiving this because you authored the thread.Message ID: @.>

解决了。我一直用手机测试。手机dns的备用地址没有删掉,导致外网走备用dns解析。所以不能翻。现在可以了