Code Monkey home page Code Monkey logo

Comments (8)

vinsonzou avatar vinsonzou commented on May 29, 2024 4

感谢你的反馈! 是的, 这个模块是5.6内核才引入特性, 目前Alinux3发行版没有明确的业务场景, 默认就没有开启. 请问你这边对这个模块是有业务场景需求吗? 如果用户对这个模块有需求, 我们会评估在 Alinux3 下一版本配置成模块形式.

业务场景有需要,不知什么时候能配置呢?或者给用户一个操作选项也行。

from cloud-kernel.

maqiao-mq avatar maqiao-mq commented on May 29, 2024 1

最新的5.10.134-13版本,已经打开了wireguard配置了。
可以使用以下命令安装该版本:
yum install kernel-5.10.134-13.al8.x86_64

from cloud-kernel.

shiloong avatar shiloong commented on May 29, 2024

感谢你的反馈!
是的, 这个模块是5.6内核才引入特性, 目前Alinux3发行版没有明确的业务场景, 默认就没有开启.
请问你这边对这个模块是有业务场景需求吗?
如果用户对这个模块有需求, 我们会评估在 Alinux3 下一版本配置成模块形式.

from cloud-kernel.

vinsonzou avatar vinsonzou commented on May 29, 2024

建议有可选项,比如对标社区的centos-plus,要不然用户冲着5.10内核来,结果核心的wireguard模块没有。

from cloud-kernel.

imhun avatar imhun commented on May 29, 2024

同问,要启用难道只能自己编译内核吗

from cloud-kernel.

anananyang avatar anananyang commented on May 29, 2024

这个问题需要怎么解决

from cloud-kernel.

gopower avatar gopower commented on May 29, 2024

系统 :Linux cavalry 5.10.134-16.2.al8.x86_64 #1 SMP Mon Mar 4 08:43:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

错误信息:
2024-03-27T02:17:06.951Z Server Listening on http://0.0.0.0:51821
2024-03-27T02:17:06.953Z WireGuard Loading configuration...
2024-03-27T02:17:06.955Z WireGuard Configuration loaded.
2024-03-27T02:17:06.955Z WireGuard Config saving...
2024-03-27T02:17:06.957Z WireGuard Config saved.
$ wg-quick down wg0
$ wg-quick up wg0
Error: Command failed: wg-quick up wg0
[#]
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.8.0.1/24 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE; iptables -A INPUT -p udp -m udp --dport 51820 -j ACCEPT; iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT;
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
iptables v1.8.10 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
[#] ip link delete dev wg0

at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5) {

code: 3,
killed: false,
signal: null,
cmd: 'wg-quick up wg0'
}

from cloud-kernel.

gopower avatar gopower commented on May 29, 2024

已解决

from cloud-kernel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.