WireGuard 组网网络打通方案

    Read

一、基础环境

$ uname -a
Linux open-boots-1.localdomain 5.14.0-514.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Sep 30 14:56:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ uname -r
5.14.0-407.el9.x86_64
$ uname -m
x86_64

### 假设服务器公网IP分别是:1.1.1.1;2.2.2.2;3.3.3.3 ### SourceByrd's Weblog-https://note.t4x.org/basic/cross-wireguard-config/

二、开启转发

SourceByrd's Weblog-https://note.t4x.org/basic/cross-wireguard-config/

三、服务配置

1:服务端+客户端模式下,请根据需求启动服务端或者客户端服务


2:综合模式下,启动wg-quick即可
SourceByrd's Weblog-https://note.t4x.org/basic/cross-wireguard-config/

SourceByrd's Weblog-https://note.t4x.org/basic/cross-wireguard-config/
3.1 服务器1.1.1.1服务端配置文件
VIP内容
VIP登录后查看

四、搭建解释

五、搭建实战

VIP内容
VIP登录后查看

参考文档:
1:https://blog.starryvoid.com/archives/337.html
2:https://www.wireguard.com/install
3:https://ewhisper.cn/posts/59274/
4:https://icloudnative.io/posts/configure-a-mesh-network-with-netmaker/
5:https://docs.procustodibus.com/guide/endpoints/preshared-key/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on March 18, 2025
  • 原文链接:https://note.t4x.org/basic/cross-wireguard-config/
匿名

Comment

Anonymous

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: