How to set up a VPN with WireGuard on Unraid

Ғылым және технология

Today, I will show you how to set up a virtual private network using WireGuard on Unraid. I will also show you how to configure a mobile device and a computer to connect to the WireGuard VPN. So, let’s get started.
🔗 WRITTEN GUIDE ⬇️
www.juanmtech.com/how-to-set-...
🎬 OTHER VIDEOS TO WATCH ⬇️
- How to set up Unraid - 2021 Guide
• How to set up Unraid (...
- Install the Community Apps on Unraid and install Best plugins
• Install the Community ...
- How to set up Home Assistant on Unraid
• How to set up Home Ass...
- Getting started with Home Assistant - 2021
• Getting started with H...
◻️◻️◻️◻️◻️◻️◻️◻️◻️◻️
⬇️ SUPPORT THE CHANNEL ⬇️
- Buy Me a Coffee: www.buymeacoffee.com/JuanMTech
- Patreon: / juanmtech
- Amazon affiliate link: amzn.to/2nM3bvM
⬇️ FOLLOW ME ON ⬇️
- Mastodon: fosstodon.org/@juanmtech
- Twitter: / juanmtech
- Facebook: / juanmtech
- Instagram: / juanmtech
◻️◻️◻️◻️◻️◻️◻️◻️◻️◻️
MY GEAR 📷 🎙️🎧 💡
- Camera: amzn.to/2nd3nIt
- Lens: amzn.to/3G55CEn
- Mic: amzn.to/3PEV5mA
- Headphones: amzn.to/3G90z5X
- Audio Interface: amzn.to/3WbhWst
- Tripod: amzn.to/2oLeoh5
- Lights: amzn.to/3WcEbOA
DISCLAIMER: Some of the links on this video are affiliate links. Meaning at NO additional cost to you, I will earn a commission for qualifying purchases.
◻️◻️◻️◻️◻️◻️◻️◻️◻️◻️
TIMESTAMPS:
0:00 - Intro
0:18 What is a VPN?
0:42 What is WireGuard
1:12 Set up DuckDNS
2:04 Set up a WireGuard Client
3:03 Set up a WireGuard Peer
3:57 Set up a WireGuard Peer on mobile
4:26 Set up a WireGuard Peer on Windows/Mac
SOUNDTRACK
Song: Kozah - Cali4nia [NCS Release]
Music provided by NoCopyrightSounds
Free Download/Stream: NCS.io/Cali4nia
Watch: • Kozah - Cali4nia [NCS ...
#Unraid #WireGuard

Пікірлер: 150

  • @Evolze
    @Evolze Жыл бұрын

    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

    Жыл бұрын

    this comment saved me ty

  • @jamespowell8373

    @jamespowell8373

    Жыл бұрын

    You are a gentleman/lady and a scholar!

  • @meccu19

    @meccu19

    Жыл бұрын

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

  • @hasagreenlaser4229

    @hasagreenlaser4229

    Жыл бұрын

    pog.

  • @Gizfreek

    @Gizfreek

    Жыл бұрын

    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.

  • @FlakAttack0
    @FlakAttack02 жыл бұрын

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

  • @tylerhovanec7997
    @tylerhovanec7997 Жыл бұрын

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

  • @ihearttesla2333

    @ihearttesla2333

    Жыл бұрын

    the true mvp of the comments section Thanks

  • @totin734

    @totin734

    3 ай бұрын

    Lifesaver!

  • @zuri_ch
    @zuri_ch2 жыл бұрын

    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!

  • @JoshOlsen89
    @JoshOlsen893 жыл бұрын

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

  • @jarsky
    @jarsky3 жыл бұрын

    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

  • @alanmuir9768

    @alanmuir9768

    2 жыл бұрын

    Great tip!

  • @labatomi
    @labatomi2 жыл бұрын

    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!

  • @massivelyfence8111
    @massivelyfence81112 жыл бұрын

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

  • @invento123
    @invento1233 жыл бұрын

    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!

  • @Bases9
    @Bases93 жыл бұрын

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

  • @charliebucket
    @charliebucket2 жыл бұрын

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

  • @rodrigojoven4715
    @rodrigojoven47153 жыл бұрын

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

  • @klim4x
    @klim4x2 жыл бұрын

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

  • @jojyjohn6117
    @jojyjohn6117 Жыл бұрын

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

  • @StookDog
    @StookDog3 жыл бұрын

    Short, sweet, to the point. Subscribed.

  • @peekeesh
    @peekeesh Жыл бұрын

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

  • @_DaKneeGrow
    @_DaKneeGrow3 жыл бұрын

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

  • @onemonthwake
    @onemonthwake2 жыл бұрын

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

  • @nathr9131
    @nathr91312 жыл бұрын

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

  • @InsatiableJimmy
    @InsatiableJimmy3 жыл бұрын

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

  • @4ndroidG
    @4ndroidG2 жыл бұрын

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

  • @jeffanderinkillmer8479
    @jeffanderinkillmer8479 Жыл бұрын

    Fantastic video Juan. Made set up so easy.

  • @MrMulcahyjohn
    @MrMulcahyjohn3 жыл бұрын

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

  • @ericdolley709
    @ericdolley7092 жыл бұрын

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

  • @nigelholland24
    @nigelholland243 жыл бұрын

    Another great video Juan thanks

  • @thepanduuh
    @thepanduuh2 жыл бұрын

    Your videos have created my Unraid server. Thank you!

  • @patricwinger5199
    @patricwinger51992 жыл бұрын

    Thank you and happy Holidays 🍻!

  • @LetsRace1
    @LetsRace12 жыл бұрын

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

  • @DavidJJJ
    @DavidJJJ Жыл бұрын

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

  • @qwaszx19872
    @qwaszx198722 жыл бұрын

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

  • @chipped
    @chipped2 жыл бұрын

    Thanks for the guide! Worked well for me

  • @jrathmer
    @jrathmer2 жыл бұрын

    Thanks, that helped A LOT! Very good!

  • @victor2410
    @victor2410 Жыл бұрын

    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.

  • @ThomasKendall404
    @ThomasKendall4043 жыл бұрын

    staring into my soul, great video without the fluff.

  • @martinsvideos7556
    @martinsvideos75562 жыл бұрын

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

  • @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.

  • @brandonhill9356
    @brandonhill93563 ай бұрын

    thanks for the quality information!

  • @MrPhilipgood
    @MrPhilipgood2 жыл бұрын

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

  • @vladwilliam
    @vladwilliam2 жыл бұрын

    Muchas gracias Juan. Excelente tutorial.

  • @robry84
    @robry842 жыл бұрын

    nice job Juan! Thank you!

  • @anToha_UA
    @anToha_UA2 жыл бұрын

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

  • @TheRkelly16
    @TheRkelly162 жыл бұрын

    Great vid man thanks.

  • @Pabula
    @Pabula3 жыл бұрын

    Thanks for the great tutorial =)

  • @alomar.
    @alomar.2 жыл бұрын

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

  • @TheDjAust
    @TheDjAust3 жыл бұрын

    You're the man!! Thank you sir!!

  • @EnricoPoletti
    @EnricoPoletti3 жыл бұрын

    Great Video !!!

  • @valterschmaltz
    @valterschmaltz3 жыл бұрын

    Wireguard is a game changer, I love it.

  • @aliengoa0
    @aliengoa0 Жыл бұрын

    Thank you very much for your video

  • @ozzman39
    @ozzman392 жыл бұрын

    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 !!!!

  • @heleomopi
    @heleomopi3 ай бұрын

    thanks Juan !

  • @AlexanderMetzger
    @AlexanderMetzger2 жыл бұрын

    Thanks a lot Friend! Realy like your Videos!

  • @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.👍

  • @jeff8008
    @jeff80082 жыл бұрын

    Fantastic video.

  • @fireflyveteran
    @fireflyveteran Жыл бұрын

    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

  • @Chiquiet
    @Chiquiet2 жыл бұрын

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

  • @chriswiley3572
    @chriswiley35723 жыл бұрын

    Great video

  • @p0larz0mbies
    @p0larz0mbies3 жыл бұрын

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

  • @Plioremka
    @Plioremka2 жыл бұрын

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

  • @Jack_T
    @Jack_T2 жыл бұрын

    thank you!

  • @paulcarroll5871
    @paulcarroll5871 Жыл бұрын

    Excellent, Guga Technology

  • @raul230285
    @raul2302853 жыл бұрын

    Amazing...

  • @toothybj
    @toothybj2 жыл бұрын

    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.

  • @TokominoOG
    @TokominoOG3 жыл бұрын

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

  • @howardcallender1764
    @howardcallender17643 жыл бұрын

    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

  • @dartfrogdk
    @dartfrogdk3 жыл бұрын

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

  • @slerched
    @slerched Жыл бұрын

    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!

  • @HaHussle
    @HaHussle2 жыл бұрын

    subscribed

  • @lcadigitalmedia
    @lcadigitalmedia2 жыл бұрын

    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

  • @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?

  • @christianko5907
    @christianko59073 жыл бұрын

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

  • @rickybeeSE
    @rickybeeSE2 жыл бұрын

    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?

  • @tfwon6968
    @tfwon6968 Жыл бұрын

    非常感谢您的讲解,解决了我设置上的迷惑

  • @KN-hn4zs
    @KN-hn4zs2 жыл бұрын

    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!

  • @Uleepera
    @Uleepera3 жыл бұрын

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

  • @zera9579
    @zera95793 жыл бұрын

    Great video man. Would it be the same process to create a vpn tunnel out? Cause I've not been able to get it working using Azire. Thanks.

  • @stester1983
    @stester1983 Жыл бұрын

    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.

  • @warmapplepie8745
    @warmapplepie87453 ай бұрын

    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

  • @jasonflt
    @jasonflt3 жыл бұрын

    A lot more cleaner and quicker than openvpn

  • @JuanMTech

    @JuanMTech

    3 жыл бұрын

    Definitely

  • @niche_creation
    @niche_creation Жыл бұрын

    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?

  • @itdraak7531
    @itdraak75312 жыл бұрын

    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?

  • @snowmanDIY
    @snowmanDIY2 жыл бұрын

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

  • @toolbelt7439
    @toolbelt74392 жыл бұрын

    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.

  • @bobzeknob
    @bobzeknob3 жыл бұрын

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

  • @kittysreview9055
    @kittysreview90553 жыл бұрын

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

  • @JuanMTech

    @JuanMTech

    3 жыл бұрын

    Yes it is.

  • @oakfig
    @oakfig2 жыл бұрын

    Would you recommend tailscale over this?

  • @miicar204
    @miicar204 Жыл бұрын

    love to see an unraid to unraid remote connection across wiregaurd with it now built into unraid

  • @lduberger
    @lduberger4 ай бұрын

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

  • @timmyers3428
    @timmyers3428 Жыл бұрын

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

  • @NathanielWyatt
    @NathanielWyatt2 жыл бұрын

    Please make a video on how to set up a site-to-site connection!

  • @ViszlaBoss
    @ViszlaBoss10 ай бұрын

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

  • @i1mran92
    @i1mran922 жыл бұрын

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

  • @jeffma6811
    @jeffma68112 жыл бұрын

    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?

  • @Koen73733
    @Koen737332 жыл бұрын

    i followed this guide and its working great, however since i configured argo tunnel on my server this doesn't work anymore

  • @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?

  • @Brian.M
    @Brian.M2 жыл бұрын

    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.

  • @RJGamer-zb4lb
    @RJGamer-zb4lb2 жыл бұрын

    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

  • @leshlie0
    @leshlie02 ай бұрын

    does this tutorial works behind CGNAT?

  • @patm95
    @patm952 жыл бұрын

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

  • @ajugland
    @ajugland Жыл бұрын

    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.

  • @rrpedrigal
    @rrpedrigal2 жыл бұрын

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

Келесі