认识WireGuard,VPN中的新热点



传统上,难以托管VPN的自托管功能,而我们的选择很少。 直到WireGuard出现。 WireGuard是一种使用最先进的加密技术的极其简单而又快速且现代的VPN。 它还支持在Docker容器内部运行,而这正是我们在本教程中将要使用的! ★订阅! https://bit.ly/techno-tim-subscribe★我在Twitch上的每个星期二/星期四/星期六都活着https://www.twitch.tv/TechnoTim★加入我们的全栈Discord社区! https://discord.gg/DJKexrJ★此处找到文档https://github.com/techno-tim/youtube-videos __________________________________________?社交媒体?♦Twitter https://twitter.com/TechnoTimLive♦不和谐https:// discord.gg/DJKexrJ♦Instagram https://www.instagram.com/techno.tim/♦GitHub https://github.com/timothystewart6♦Patreon https://www.patreon.com/technotim __________________________________________⚙齿轮建议⚙ ►https://kit.co/TechnoTim►https://www.amazon.com/shop/technotim请注意,这些是会员链接。 我可能会免费获得一笔小额佣金。 __________________________________________________________ #WireGuard #Homelab #TechnoTim #Proxmox#虚拟化#Docker #Kubernetes #Rancher 00:00-简介00:45-什么是WireGuard,为什么如此受欢迎? 01:36-本教程将介绍什么? 01:59-如何使用Docker配置WireGaurd 03:43-如何使用Rancher和Kubernetes配置WireGuard 06:36-配置WireGuard客户端07:16-WireGuard iOS设置08:20-WireGuard故障排除10:02-WireGuard与OpenVPN的想法? 10:27-精彩集锦-兄弟,您看起来像…谢谢收看! 。

42 comments
  1. Thank you so much for the guide! I ran into some trouble retrieving the QR code via the logs (I use portainer) it was appearing spaced out. When I copied the logs and pasted into notepad it removed extra spaced but the QR code was actually inverted. I had to save it as a photo and invert the colors and then bam instant connect. I even had tried running the command suggested in the app from a docker exec via putty and similar issues. Might just be a REALLY weird case for me but if it helps even one person I'm sharing here.

  2. Looks nice. I'm looking for something to change my OpenVPN-AS. But anybody with the public key can connect? How can you ask for AD credentials, or even 2FA?

  3. hey, Hello tim (sorry for my bad bad english ! i'm french)
    I ran into your channel recently! thx a lot for your work and amazing stuff tools you introduce among (to ?) us.

    do you have plan to talk about some good (bests ?) distributed FileSytems for rancher & kubernetes ?

    cordially, a new fan !

  4. Thanks for the great video as always , i gave it a try and the got some error that prevent wireguard to be fully started did anyone had this issue or error ,,i see this in the log Building modules, stage 2.
    MODPOST 1 modules
    CC [M] /app/wireguard-linux-compat/src/wireguard.mod.o
    LD [M] /app/wireguard-linux-compat/src/wireguard.ko
    make: Leaving directory '/app/wireguard-linux-compat/src'
    make: Entering directory '/app/wireguard-linux-compat/src'
    INSTALL /app/wireguard-linux-compat/src/wireguard.ko
    DEPMOD 5.4.0-47-generic
    Warning: modules_install: missing 'System.map' file. Skipping depmod.
    depmod -b "/" -a 5.4.0-47-generic
    make: Leaving directory '/app/wireguard-linux-compat/src'
    ** Let's test our new module. **
    RTNETLINK answers: Operation not permitted

    google search did not help that much

  5. @4:46 its not clear what to do for people using just their IP. What i'm not following is how scanning the QR code relates to my device connecting to my home network. How does the app know my home networks public IP? Do I just need to get dynamic DNS (have not tried yet) working and use the environment veriable? Thanks.

  6. I've been using ZeroTier which has been painless, secure, and works great, but I am also interested in testing WireGuard. Thanks for helping me get started!!

  7. Sadly, your setup won't support IPv6. IPv6 is very important. Not only for the future of the internet – but also if you have on of the many ISPs that doesn't serve you a public IPv4.

  8. always used openVPN. I put wiregaurd on our company QA servers, I did have some issues with it but nothing too crazy. I don't think it's production ready though

  9. Dude why not show how to connect to wireguard server from linux? So many wireguard tutorials on how to setup the wg server but nobody is showing how to connect to the damn thing in linux. Openvpn is super easy in gnome you just have the option to select the file in the vpn settings.

  10. Just set up a multihop wireguard gateway using OPNSense and it already seems more reliable and fast than my old raspberrypi OPENVPN setup, there's almost no reason to use OPENVPN anymore if your VPN provider offers Wireguard.

  11. Probably a dumb question. If you have 2 totally separate networks at home that do not talk together,, do you need to setup 2 implementations of Wireguard? One for each network. Loved the video. Thanks.

  12. Hi, could you please make a video about building a home mail server, something like google?

    To keep all email at home

    DNS configuration and email server

    If possible that would be nice if you would use DynDNS

  13. Hey Tim, awesome video. I actually installed wireguard a couple days ago but I installed it with PIVPN, its incredibly easy to setup and you can choose between openvpn or wireguard

  14. this not works out of the box on rancher setup on a little older kernel, headers missing, etc. Nothing that cannot be handled, but in the video is missing 🙂

  15. I tried to do this in a rancher installed on centos 8, but I got an error because the compilation is seeking for ubuntu or debian. I think that the container can run in any linux, is not?

  16. I would wonder what kind of problems you or the others of your audience have had I set up many WireGuard Servers and never run in any kind of problems except i fucked up the config files for server/host. I love WireGuard 🙂 – The speed is much better then the older OpenVPN-Protocol

  17. Having run OpenVPN for a few years I had heard about WireGuard but never really tried it out.
    After watching this and seeing how easy it was I just retired my OVPN setup for a Wireguard one. So much easier to setup and faster speeds as well. IDK why I didn't switch sooner tbh

Comments are closed.