How to set up a VPN with WireGuard on Unraid

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น • 155

  • @FlakAttack0
    @FlakAttack0 3 ปีที่แล้ว +67

    5 minutes in and out? Now THAT is how you do a video guide. Thank you Juan!

  • @Evolze
    @Evolze 2 ปีที่แล้ว +108

    Hey all, a few things to note about this in 2022, coming into 2023:
    1. Unraid now has the Wireguard - Dynamix plugin already built-in. No need to download it via the Community Applications plug-in.
    2. When downloading the DuckDNS Docker container, make sure you have 'Host' selected for "Network Type". I'm not sure why, but mine kept defaulting to 'br0'. This created quite a few issues.
    3. I'm not sure if my experience is the same as others, but right after you create your new Wireguard tunnel, make sure to turn the tunnel itself on! Juan's Wireguard tunnel automatically turned on after he created it, but for me (running Unraid 6.11.5), it had to be turned on manually. I spent about 10-15 minutes tinkering with it wondering why it was not working. It's because the tunnel wasn't activated. 😅
    I hope this helps someone out there in some way, shape, or form!

    • @stephenmestrada
      @stephenmestrada 2 ปีที่แล้ว +2

      this comment saved me ty

    • @jamespowell8373
      @jamespowell8373 2 ปีที่แล้ว +2

      You are a gentleman/lady and a scholar!

    • @meccu19
      @meccu19 ปีที่แล้ว +1

      bro, i was scratching my head why is not working :D and just because tunnel was off

    • @hasagreenlaser4229
      @hasagreenlaser4229 ปีที่แล้ว

      pog.

    • @Gizfreek
      @Gizfreek ปีที่แล้ว +2

      I'd like to add that I've only got the tunnel to connect after I restarted my Unraid server and modem, maybe this could help someone save some time troubleshooting.

  • @tylerhovanec7997
    @tylerhovanec7997 2 ปีที่แล้ว +21

    Unraid 6.10+ users: Dynamix Wireguard is now Settings -> VPN Manager

    • @Bryanluna1994
      @Bryanluna1994 2 ปีที่แล้ว +3

      the true mvp of the comments section Thanks

    • @totin734
      @totin734 8 หลายเดือนก่อน

      Lifesaver!

  • @jarsky
    @jarsky 3 ปีที่แล้ว +20

    Great tutorial, at 3:02 remember to change the slider up the top from OFF to Autostart, or like me you'll be wondering why your VPN isn't working after rebooting your UnRAID box :D

  • @zuri_ch
    @zuri_ch 2 ปีที่แล้ว +1

    I was seriously confused as to why my Unraid had issues with Wireguard, but this video brought the point across so extremely easily and with no padding, absolutely terrific!

  • @victor2410
    @victor2410 ปีที่แล้ว +2

    Wish i found your video 3 hours ago. I did this using portainer and docker compose which is fine. However, I had to stumble through figuring out public IP, realizing that can change, finding duck dns and figuring all that out with your video. Just doing this through unraid and following your video would have been much faster. My main docker-vm is on a more efficient machine though so happy i figured it out cause unraid machine is first to shut down on ups etc and has less critical infrastructure vs my proxmox machine.

  • @labatomi
    @labatomi 3 ปีที่แล้ว +7

    Hey man, thanks a lot for the videos. Honestly, you have made me learning Unraid so much easier. Always down to the point and easy to understand!

  • @JoshOlsen89
    @JoshOlsen89 3 ปีที่แล้ว +5

    This was the best video I could find on the subject; very concise and easy to follow. Great work!

  • @MrPhilipgood
    @MrPhilipgood 3 ปีที่แล้ว +2

    My goodness that was SOOOO much easier than setting up openVPN!!!

  • @GiffysChannel
    @GiffysChannel 2 หลายเดือนก่อน

    This is one of the coolest things I've done for my home network. thank you

  • @fireflyveteran
    @fireflyveteran 2 ปีที่แล้ว +1

    Thanks Juan very helpful, just to add since the video is from a year ago, WireGuard is now automatically installed in unraid, no need to install the package on the newer version of unraid, just go to settings>VPN manager

  • @rickybeeSE
    @rickybeeSE 3 ปีที่แล้ว +2

    Great video and I can now connect to my unraid box from outside. However, all traffic stops there. I cannot get to the internet or any other device on the home network from the connected device. The Peer DNS server is set to my home router IP and I am using Remote Tunneled Access. Can you help me here?

  • @massivelyfence8111
    @massivelyfence8111 2 ปีที่แล้ว +1

    This video is perfect. No nonsense, clear and concise instructions, well presented. Worked perfectly. Instant subscribe.

  • @warmapplepie8745
    @warmapplepie8745 9 หลายเดือนก่อน +1

    Thank you, so if my phone is in my local network and i have PIhole/Adguard set up, my phone has a adblocker that doesn´t drains my phones battery ? Sounds brilliant

  • @kron404
    @kron404 3 ปีที่แล้ว +3

    staring into my soul, great video without the fluff.

  • @howardcallender1764
    @howardcallender1764 3 ปีที่แล้ว +2

    How do you setup up Server to server or Site to Site to have access to the remote server shares for offsite backup? Thank you for sharing

  • @Bases9
    @Bases9 3 ปีที่แล้ว +3

    great video, keep it up, the videos on Unraid are always interesting, I look forward to the next one 👏

  • @stester1983
    @stester1983 2 ปีที่แล้ว +1

    hey juan, great video but i keep getting a "peer update required", is there a way to troubleshoot this, as the tunnel fails to work.

  • @invento123
    @invento123 3 ปีที่แล้ว +1

    Excellent video, been using openvpn for a while but wanted to change over to wireguard and your tutorial was exactly what I needed. Thank you!

  • @peekeesh
    @peekeesh ปีที่แล้ว

    straight to the point. learned something new in as little as 5 mins. thank you!

  • @rodrigojoven4715
    @rodrigojoven4715 3 ปีที่แล้ว +1

    Thank you Juan! Your videos have helped a lot with my Unraid server :)

  • @ElectronSpark
    @ElectronSpark ปีที่แล้ว

    You sir, are a credit to your profession! Thank you, thank you, thank you! Set it up and it works great! Now my trip won't be so bad as I'll have full access to my server.

  • @ericdolley709
    @ericdolley709 2 ปีที่แล้ว

    Awesome tutorial dude. I was able to get set up within 15 minutes start to finish.

  • @DavidJJJ
    @DavidJJJ ปีที่แล้ว

    Thanks, super helpful. I got it setup in a few minutes with your instructions.

  • @KN-hn4zs
    @KN-hn4zs 3 ปีที่แล้ว +2

    hello, any idea how to get unraid wireguard working with adguard home if both are running on the same subnet? The DNS will not resolve if both IPs are on the same subnet for some reason (but will work if you use another subnet or external DNS server). Thanks for your videos btw - very helpful!

  • @charliebucket
    @charliebucket 3 ปีที่แล้ว

    One of the best technical explainer videos I've ever seen. Thanks!

  • @jeffanderinkillmer8479
    @jeffanderinkillmer8479 ปีที่แล้ว

    Fantastic video Juan. Made set up so easy.

  • @onemonthwake
    @onemonthwake 2 ปีที่แล้ว

    Really nice video that is short and sweet! Two thumbs up sir!

  • @StookDog
    @StookDog 3 ปีที่แล้ว +1

    Short, sweet, to the point. Subscribed.

  • @_DaKneeGrow
    @_DaKneeGrow 3 ปีที่แล้ว +4

    Thank you! This was very easy and setup was better than setting up OpenVPN.

  • @jojyjohn6117
    @jojyjohn6117 2 ปีที่แล้ว

    Smashed it in 5 minutes. Thanks for being direct to the point.

  • @klim4x
    @klim4x 3 ปีที่แล้ว

    Hey Juan, this video helped me a lot. Easy to follow, easy to understand. Thank you and keep it up :)

  • @patricwinger5199
    @patricwinger5199 3 ปีที่แล้ว

    Thank you and happy Holidays 🍻!

  • @ozzman39
    @ozzman39 2 ปีที่แล้ว

    Thank you so MUCH JUAN!!!! I have been battleing setting my VPN back up for 3-4 days just switched from a Nighthawk to a USG Unifi device and the built in VPN on adroid 12 is broke I was useing Openvpn on the nighthawk though that is no longer a option . also with your video I had it setup in 5 mins I would hug you right now if I could !!!!

  • @patm95
    @patm95 3 ปีที่แล้ว +2

    It seems to work on my laptop, however when I add to my iPhone, it connects, but I have no internet access.

  • @iBoolGuy
    @iBoolGuy 2 หลายเดือนก่อน

    You chose the "Remote tunneled access", and was able to access my server. But doing that I was unable to access any of my dockers, so I switched it to "Remote access to LAN", then it worked the way I want it.
    So I was curious, did you have another setup to access your dockers?

  • @anToha_UA
    @anToha_UA 2 ปีที่แล้ว

    Did exactly how you said, but only difference is that I have a static public IP. Works like a charm, many thanks!

  • @royperkins694
    @royperkins694 ปีที่แล้ว

    Great vid, struggled with wireguard and ended up using it on a Pi running HA, having trouble with conbee passthrough running HA in Unraid but that's a different long and harrowing story 🤣, anyway set up using this vid and bang in first time, many thanks.👍

  • @LetsRace1
    @LetsRace1 3 ปีที่แล้ว

    Thank you, Juan! This was a very quick an easy setup.

  • @thepanduuh
    @thepanduuh 3 ปีที่แล้ว

    Your videos have created my Unraid server. Thank you!

  • @nathr9131
    @nathr9131 3 ปีที่แล้ว

    Thanks so much, clear and concise instructions for a first timer and i'm all set up and running.

  • @unwirklicher4814
    @unwirklicher4814 3 ปีที่แล้ว +1

    Does it allows to acces all the files thanks to the classic Windows File Explorer via internet ? And if it is the case, what type of access should I use ? Thanks!

    • @AceBoy2099
      @AceBoy2099 3 ปีที่แล้ว

      If you're referring to mapped network drives from your "home" network, I'd be interested in that answer/confirmation too.
      Setting this up won't mess up anything else (parents desktop and such) correct?

  • @p0larz0mbies
    @p0larz0mbies 3 ปีที่แล้ว +1

    Thanks, was looking for a video like this because the openvpn-as docker was deprecated

  • @CBbackberry
    @CBbackberry 8 หลายเดือนก่อน

    set up according to your instructions. In unraid I can ping the iphone. But there is no internet connection on iphone. cannot connect to any website. all browsers on iphone just hang and do not connect. how to fix ?

  • @InsatiableJimmy
    @InsatiableJimmy 3 ปีที่แล้ว

    Amazing video, subscribed :) keep up the good work!!

  • @MrMulcahyjohn
    @MrMulcahyjohn 3 ปีที่แล้ว

    EXCELLENT VIDEO you go over everything so its easy to follow thanks again

  • @Plioremka
    @Plioremka 3 ปีที่แล้ว

    Thank you Juan. Will try this option. Openvpn As is not available anymore on unraid.So good alternative.

  • @nigelholland24
    @nigelholland24 3 ปีที่แล้ว

    Another great video Juan thanks

  • @zero80473
    @zero80473 8 หลายเดือนก่อน +1

    Done this - No internet on dveice when connected to vpn - how do i fix this?

  • @kittysreview9055
    @kittysreview9055 3 ปีที่แล้ว +2

    So much better than OpenVPN. Faster and actually stays connected all the time.

  • @toothybj
    @toothybj 2 ปีที่แล้ว

    Great tutorial - thanks! Super concise.
    That said, i went through the steps and added my main (Win10) PC as a peer and then it lost network connection so I had to disable WinGuard on that PC to get it back. I probably need to follow it through again to see what went wrong.

    • @vincentking8267
      @vincentking8267 ปีที่แล้ว

      did you get it sorted? I'm having no luck.

  • @4ndroidG
    @4ndroidG 3 ปีที่แล้ว

    Thanks a lot! Very good job on the tutorial. Straight to the point.

  • @chipped
    @chipped 3 ปีที่แล้ว

    Thanks for the guide! Worked well for me

  • @qwaszx19872
    @qwaszx19872 3 ปีที่แล้ว

    Thank you! That was so much easier than OpenVPN and surprisingly so!

  • @RippenSXS
    @RippenSXS ปีที่แล้ว

    hi, I tried doing the port forwarding but messed something up. no i have no access to my server. my browser tells me its a security risk and when i pass the risk it says error 404

  • @ViszlaBoss
    @ViszlaBoss ปีที่แล้ว

    Can i add a docker app to the wireguard VPN? Would be good to be able to route some docker apps through the VPN.

  • @niche_creation
    @niche_creation 2 ปีที่แล้ว

    I had followed this guide about a year ago and it worked. Not sure at what point it stopped, might have been during my network upgrades but it wouldn't connect. I have restarted this process and changed my Duck DNS and no connection. Port forwarding is correct. Any suggestions?

  • @ambronhib5561
    @ambronhib5561 ปีที่แล้ว

    Can i use WireGuard to Log into my Home-LAN remotely? Like connect to my VPN via WireGuard and then browse to my unraid-server and change settings n stuff?

  • @Chiquiet
    @Chiquiet 2 ปีที่แล้ว

    Thanks for this, new to unraid and this was very helpfull. would love to see a tut about unraid security in general

  • @martinsvideos7556
    @martinsvideos7556 2 ปีที่แล้ว

    Very smooth and clear. The Vid and the Tut. Thanks.

  • @torrel8074
    @torrel8074 2 ปีที่แล้ว

    loads of tutorials like but but never any showing you how to map a drive share over the VPN. Can't seem to get that working unless the device is local at initial mapping.

  • @freakyweirdo92
    @freakyweirdo92 3 ปีที่แล้ว

    hi there, can you access the router when using this? it seems i'm able to access any ip address except the router.

  • @timmyers3428
    @timmyers3428 2 ปีที่แล้ว

    What is the link I use on the client computer to access the NAS server?

  • @lcadigitalmedia
    @lcadigitalmedia 2 ปีที่แล้ว +1

    very informative video.
    Very new to unraid and I'm loving it.
    So when connecting to the wireguard tunnel, which should I input on the URL, my local domain server name or the IP Address?
    Also, why do we need the duckdns for wireguard again?
    Just a noob

  • @venice741
    @venice741 2 หลายเดือนก่อน

    Hi Juan, the port forwarding ip address keep changing to Pi hole IP, do you know how to fix this?

  • @valterschmaltz
    @valterschmaltz 3 ปีที่แล้ว +1

    Wireguard is a game changer, I love it.

  • @ajugland
    @ajugland 2 ปีที่แล้ว

    How do I do Server to server VPN? I want to access the Unraid behind a double router on server side. On user side I only got on router and port forwarding works her. Is it possible to call home from server as a client and make a small nuc unraid vpn server at home in ordet to acces subnets at serverside? I want to access my nextcloud.

  • @Uleepera
    @Uleepera 3 ปีที่แล้ว

    Hey Juan, any suggestions for troubleshooting when the handshake keeps timing out?

  • @jrathmer
    @jrathmer 3 ปีที่แล้ว

    Thanks, that helped A LOT! Very good!

  • @AlexanderMetzger
    @AlexanderMetzger 3 ปีที่แล้ว

    Thanks a lot Friend! Realy like your Videos!

  • @itdraak7531
    @itdraak7531 2 ปีที่แล้ว

    good video, but I do have a question, do you know if it is possible to put 2FA on the vpn, and if so how?

  • @Trylobit
    @Trylobit 2 ปีที่แล้ว

    My VPN connection is very slow. I have a fiber at host and client sites (1Gbps). But my Wireguard connection is capped at around 20Mbps. I changed MTU to 1472, but that didn't help... Any advice?

  • @brandonhill9356
    @brandonhill9356 9 หลายเดือนก่อน

    thanks for the quality information!

  • @kallejogeva7492
    @kallejogeva7492 3 ปีที่แล้ว

    Hi, can you please help me to configure port forwarding on mikrotik - im tryng it 2 years now and going crazy soon, i tryed everything, i watched all video tutorials about it and still nothing. I installed and configured now wireguard on my unraid. my public ip is not static and i also configured the duckdns. my routeros is 6.48.4.

  • @Brian.M
    @Brian.M 2 ปีที่แล้ว

    Can I use this for torrenting too? Or do I need a separate service like Mullvad VPN for that? I'm trying to figure out how to use wireguard on a qbittorrent container.

  • @vladwilliam
    @vladwilliam 2 ปีที่แล้ว

    Muchas gracias Juan. Excelente tutorial.

  • @snowmanDIY
    @snowmanDIY 3 ปีที่แล้ว

    How would you do remote server to local server between 2 unraid boxes?

  • @balloonpark
    @balloonpark 5 หลายเดือนก่อน

    This was working for me but randomly now some peers don't work. I deleted and recreated and they still don't work. I have two peers set up the same as remote tunneled access; one on phone and one for a travel router. The phone has full internet access with access to the network shares. The router only gives access to the internet.

  • @bobzeknob
    @bobzeknob 3 ปีที่แล้ว

    Hi, am I able to set up a VPN like this if I am behind a CGNAT? thanks

  • @kirill.isakov
    @kirill.isakov ปีที่แล้ว

    Thank you, great video! What is the reason for creating different peers for different devices? Can different devices use the same peer?

  • @lduberger
    @lduberger 9 หลายเดือนก่อน

    Great tutorial! Now how can I have another container's traffic to go through that VPN tunnel?

  • @robry84
    @robry84 2 ปีที่แล้ว

    nice job Juan! Thank you!

  • @TheRkelly16
    @TheRkelly16 2 ปีที่แล้ว

    Great vid man thanks.

  • @jeffma6811
    @jeffma6811 2 ปีที่แล้ว

    Dear sir, I am new for Unraid, i copy your every step in this video but I didn't figure out how to use my iPhone to
    connect to Unraid server or shared file. could you explain more for it?

  • @weckler8992
    @weckler8992 2 ปีที่แล้ว

    Hello JuanMTech, Can I use cloudflare account instead of duckdns? and is it going to be the same setting? if not can help? Thanks...

  • @RJGamer-zb4lb
    @RJGamer-zb4lb 3 ปีที่แล้ว

    will this work on no-ip instead of duckdns? if so how would you do that?
    my openvpn stop working so i want to try wireguard

  • @slerched
    @slerched 2 ปีที่แล้ว

    Hey Juan! Thanks for this; worked a treat!
    My newb question is, should I be concerned about leaving the tunnel on AutoStart? Or should I disable it until I am getting ready to travel since the only time I need access is when I am not at home?
    Sorry for the stupid new user question!

  • @oakfig
    @oakfig 3 ปีที่แล้ว

    Would you recommend tailscale over this?

  • @christianko5907
    @christianko5907 3 ปีที่แล้ว +2

    Can you Show how to Route pihole through wireguard? And great Tutorial;-)

  • @dartfrogdk
    @dartfrogdk 3 ปีที่แล้ว

    great video Juan, can you maybe explain why i cant connect to internet from my laptop only lan when using wireguard

  • @alomar.
    @alomar. 3 ปีที่แล้ว

    Smooth Tutorial ...... Thank you! so much

  • @leshlie0
    @leshlie0 8 หลายเดือนก่อน

    does this tutorial works behind CGNAT?

  • @jasonflt
    @jasonflt 3 ปีที่แล้ว +3

    A lot more cleaner and quicker than openvpn

  • @DesiSegundoIII
    @DesiSegundoIII ปีที่แล้ว

    What happens if I don't have port forwarding with my crappy ISP?

  • @PhoxisTheKiller
    @PhoxisTheKiller 3 ปีที่แล้ว

    After I imitated everything as shown in the video. and it still didn't work. I tried it out. wireguard installed on the virtual machine and now i have no connection to the VM. I'm about to throw everything out!

  • @Pabula
    @Pabula 3 ปีที่แล้ว

    Thanks for the great tutorial =)

  • @whitest_kyle
    @whitest_kyle 2 ปีที่แล้ว

    The DuckDNS docker just refuses to work properly for me :( all I get are errors in the log.

  • @TokominoOG
    @TokominoOG 3 ปีที่แล้ว

    great video and easy explained without taking 10or more mins! Is it possible you do a video about paperless?

  • @toolbelt7439
    @toolbelt7439 2 ปีที่แล้ว

    Juan, this was great! I am still unable to get a validation on any of my peers. I port forwarded 51820 but when I check online to see if that port is open, the website tells me its closed. I am wondering now if I should just get a different router w/ Pfsense or something similar to manage my connections. Dealing with AT&T 5268AC Pace PLc is a pain in the rear.

  • @rrpedrigal
    @rrpedrigal 3 ปีที่แล้ว

    How about when I'm behind CGNAT of my ISP?