Comments (8)
感谢你的反馈! 是的, 这个模块是5.6内核才引入特性, 目前Alinux3发行版没有明确的业务场景, 默认就没有开启. 请问你这边对这个模块是有业务场景需求吗? 如果用户对这个模块有需求, 我们会评估在 Alinux3 下一版本配置成模块形式.
业务场景有需要,不知什么时候能配置呢?或者给用户一个操作选项也行。
from cloud-kernel.
最新的5.10.134-13版本,已经打开了wireguard配置了。
可以使用以下命令安装该版本:
yum install kernel-5.10.134-13.al8.x86_64
from cloud-kernel.
感谢你的反馈!
是的, 这个模块是5.6内核才引入特性, 目前Alinux3发行版没有明确的业务场景, 默认就没有开启.
请问你这边对这个模块是有业务场景需求吗?
如果用户对这个模块有需求, 我们会评估在 Alinux3 下一版本配置成模块形式.
from cloud-kernel.
建议有可选项,比如对标社区的centos-plus,要不然用户冲着5.10内核来,结果核心的wireguard模块没有。
from cloud-kernel.
同问,要启用难道只能自己编译内核吗
from cloud-kernel.
这个问题需要怎么解决
from cloud-kernel.
系统 :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.
已解决
from cloud-kernel.
Related Issues (20)
- [SoC2020] Support upgrading the existing D-Bus daemon without reboot HOT 7
- snap doesn't meet dependency requirements HOT 3
- docker-ce doesn't meet dependency requirements HOT 4
- Missing a Dingtalk Group for Ali linux . HOT 2
- `CONFIG_CROSS_MEMORY_ATTACH` is not set in the kubernetes engine HOT 2
- I want information
- Missing yum-plugin-releasever-adapter in Alinux 3 alinux3-plus repo HOT 2
- tcp 传输小包返回结果有40ms延迟,跟内核tcp设计有关? HOT 1
- 5.10内核在cgroup v1 是否完整支持writeback功能? HOT 6
- cloud-kernel is cgroup V2 already supported?
- A question about systemd-nspawn
- 怎么为特定版本内核生成btf文件? HOT 1
- 重新下载安装yum rpm包,从哪里下载,下载什么版本的?
- 能否将intel i225的igc驱动移植到4.19的内核中 HOT 1
- AliyunLinux2 创建快照/镜像 后产生无用的 aliyun-base.repo 引起报错 HOT 1
- The return value of 'sscanf()' should be checked
- Document /proc/sys/net/ipv4/tcp_tw_timeout interface HOT 1
- 2020 Alibaba Summer of Code HOT 4
- [SoC2020] PostgreSQL: add io_uring support HOT 4
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 cloud-kernel.