V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
fdghjk
V2EX  ›  WireGuard

快速部署 wireguard 的最佳实践是?

  •  
  •   fdghjk · Feb 10, 2024 · 5806 views
    This topic created in 813 days ago, the information mentioned may be changed or developed.

    第一次用,想用 docker 部署,最好有 webui 界面,最好的方案是啥?

    11 replies    2024-02-10 19:48:09 +08:00
    luckyava
        1
    luckyava  
       Feb 10, 2024
    wg-easy
    bao3
        2
    bao3  
       Feb 10, 2024
    我……是建议你,要建就建个 head scale ,它直接使用 tail scale 的客户端,所以也算方便,同时连接过程又是通过 wireguard 进行连接。
    比 wireguad 好的地方是,极容易组成局域网,极容易指定 exit node (网络出口),比如我把家里的 nas 和欧洲、美国的 服务器都设置为 exit node ,这样手机上就可以随意在 3 都间切换。
    mantouboji
        3
    mantouboji  
       Feb 10, 2024
    别用 docker ,别用 web ,就几行命令行操作,写两个文本配置文件而已。你说的那些都是脱了裤子放屁。
    bakaft
        4
    bakaft  
       Feb 10, 2024   ❤️ 1
    ^+1
    wg-quick 足矣
    f165af34d4830eeb
        5
    f165af34d4830eeb  
       Feb 10, 2024
    投 tailscale 一票
    Pteromyini
        6
    Pteromyini  
       Feb 10, 2024
    tailscale
    Ariake265
        7
    Ariake265  
       Feb 10, 2024
    wg-easy 除了不支持监听 ipv6 之外,还算是挺好用的
    BellaCampen
        8
    BellaCampen  
       Feb 10, 2024
    @bao3 多个 exit node 如何指定使用哪一个呢
    FlytoSirius
        9
    FlytoSirius  
       Feb 10, 2024
    大概是非常好的 WireGuard 一键部署方案了吧
    https://github.com/hwdsl2/wireguard-install
    bao3
        10
    bao3  
       Feb 10, 2024
    @BellaCampen app 上可选。或者在 linux 用 webclient 来自己选。
    shiyuu
        11
    shiyuu  
       Feb 10, 2024
    挺简单的啊,至少要有一个节点有公网 IP ,如果没有公网 IP 也没用,B 站看十几分钟教程基本就知道各个配置的方法了。
    另外 wg 的网络依然是走公网 IP 的服务器中转,而不是网内的节点互相 p2p 打洞
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2368 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 61ms · UTC 01:41 · PVG 09:41 · LAX 18:41 · JFK 21:41
    ♥ Do have faith in what you're doing.