How to set up a VPN with WireGuard on Unraid

Поділитися
Вставка
  • Опубліковано 29 сер 2024

КОМЕНТАРІ • 152

  • @Evolze
    @Evolze Рік тому +100

    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

      this comment saved me ty

    • @jamespowell8373
      @jamespowell8373 Рік тому +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.

  • @FlakAttack0
    @FlakAttack0 2 роки тому +64

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

  • @tylerhovanec7997
    @tylerhovanec7997 Рік тому +19

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

  • @jarsky
    @jarsky 3 роки тому +18

    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.

  • @MrPhilipgood
    @MrPhilipgood 2 роки тому +2

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

  • @JoshOlsen89
    @JoshOlsen89 3 роки тому +5

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

  • @labatomi
    @labatomi 2 роки тому +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!

  • @fireflyveteran
    @fireflyveteran Рік тому +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

  • @kron404
    @kron404 3 роки тому +3

    staring into my soul, great video without the fluff.

  • @massivelyfence8111
    @massivelyfence8111 2 роки тому +1

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

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

  • @kittysreview9055
    @kittysreview9055 3 роки тому +2

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

  • @_DaKneeGrow
    @_DaKneeGrow 3 роки тому +4

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

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

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

  • @Bases9
    @Bases9 3 роки тому +3

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

  • @peekeesh
    @peekeesh Рік тому

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

  • @ericdolley709
    @ericdolley709 2 роки тому

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

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

  • @jasonflt
    @jasonflt 3 роки тому +3

    A lot more cleaner and quicker than openvpn

  • @jojyjohn6117
    @jojyjohn6117 Рік тому

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

  • @rodrigojoven4715
    @rodrigojoven4715 3 роки тому +1

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

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

  • @DavidJJJ
    @DavidJJJ Рік тому

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

  • @valterschmaltz
    @valterschmaltz 3 роки тому +1

    Wireguard is a game changer, I love it.

  • @charliebucket
    @charliebucket 2 роки тому

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

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

  • @StookDog
    @StookDog 3 роки тому +1

    Short, sweet, to the point. Subscribed.

  • @thepanduuh
    @thepanduuh 2 роки тому

    Your videos have created my Unraid server. Thank you!

  • @Plioremka
    @Plioremka 2 роки тому

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

  • @p0larz0mbies
    @p0larz0mbies 3 роки тому +1

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

  • @nathr9131
    @nathr9131 2 роки тому

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

  • @KN-hn4zs
    @KN-hn4zs 2 роки тому +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!

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

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

  • @LetsRace1
    @LetsRace1 2 роки тому

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

  • @klim4x
    @klim4x 2 роки тому

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

  • @onemonthwake
    @onemonthwake 2 роки тому

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

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

  • @qwaszx19872
    @qwaszx19872 3 роки тому

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

  • @jeffanderinkillmer8479
    @jeffanderinkillmer8479 Рік тому

    Fantastic video Juan. Made set up so easy.

  • @warmapplepie8745
    @warmapplepie8745 5 місяців тому +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

  • @MrMulcahyjohn
    @MrMulcahyjohn 3 роки тому

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

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

  • @4ndroidG
    @4ndroidG 2 роки тому

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

  • @patm95
    @patm95 2 роки тому +2

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

  • @patricwinger5199
    @patricwinger5199 2 роки тому

    Thank you and happy Holidays 🍻!

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

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

  • @christianko5907
    @christianko5907 3 роки тому +2

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

  • @martinsvideos7556
    @martinsvideos7556 2 роки тому

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

  • @chipped
    @chipped 2 роки тому

    Thanks for the guide! Worked well for me

  • @lduberger
    @lduberger 5 місяців тому

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

  • @brandonhill9356
    @brandonhill9356 5 місяців тому

    thanks for the quality information!

  • @zero80473
    @zero80473 4 місяці тому +1

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

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

  • @InsatiableJimmy
    @InsatiableJimmy 3 роки тому

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

  • @miicar204
    @miicar204 Рік тому

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

  • @AlexanderMetzger
    @AlexanderMetzger 2 роки тому

    Thanks a lot Friend! Realy like your Videos!

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

  • @nigelholland24
    @nigelholland24 3 роки тому

    Another great video Juan thanks

  • @tfwon6968
    @tfwon6968 Рік тому

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

  • @TokominoOG
    @TokominoOG 3 роки тому

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

  • @jrathmer
    @jrathmer 2 роки тому

    Thanks, that helped A LOT! Very good!

  • @vladwilliam
    @vladwilliam 2 роки тому

    Muchas gracias Juan. Excelente tutorial.

  • @CBbackberry
    @CBbackberry 4 місяці тому

    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 ?

  • @paulcarroll5871
    @paulcarroll5871 Рік тому

    Excellent, Guga Technology

  • @NathanielWyatt
    @NathanielWyatt 2 роки тому

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

  • @balloonpark
    @balloonpark Місяць тому

    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.

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

  • @ViszlaBoss
    @ViszlaBoss 11 місяців тому

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

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

  • @heleomopi
    @heleomopi 4 місяці тому

    thanks Juan !

  • @robry84
    @robry84 2 роки тому

    nice job Juan! Thank you!

  • @dartfrogdk
    @dartfrogdk 3 роки тому

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

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

  • @alomar.
    @alomar. 2 роки тому

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

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

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

  • @aliengoa0
    @aliengoa0 Рік тому

    Thank you very much for your video

  • @TheDjAust
    @TheDjAust 3 роки тому

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

  • @Uleepera
    @Uleepera 3 роки тому

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

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

  • @TheRkelly16
    @TheRkelly16 2 роки тому

    Great vid man thanks.

  • @Koen73733
    @Koen73733 3 роки тому

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

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

  • @timmyers3428
    @timmyers3428 Рік тому

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

  • @pmanaseri
    @pmanaseri Рік тому

    Just wanted to add to @Evolze comment - if you have PI Hole be sure to set the DNS IP to that in the advance settings ***if you're still having an issue then you can use a public DNS & ensure you check you unraid settings and allow remote access is set to YES*** VERY IMPORTANT hope this helps someone!

  • @leshlie0
    @leshlie0 3 місяці тому

    does this tutorial works behind CGNAT?

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

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

  • @Pabula
    @Pabula 3 роки тому

    Thanks for the great tutorial =)

  • @freakyweirdo92
    @freakyweirdo92 2 роки тому

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

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

  • @weckler8992
    @weckler8992 Рік тому

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

  • @jeff8008
    @jeff8008 2 роки тому

    Fantastic video.

  • @xisop
    @xisop 2 роки тому

    EDIT: yes it does
    ---
    Great video. Short and crystal clear. Thanks. Does this also work when there is a qualified domain in play? I have a domain running through cloudflare with a reverse proxy 😊

  • @EnricoPoletti
    @EnricoPoletti 3 роки тому

    Great Video !!!