How to set up a secure VPN with WireGuard and Home Assistant

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

In today's video, I'm going to show you how to set up a secured virtual private network using WireGuard and Home Assistant. I'm also gonna show you how to configure devices like Android, iOS, and Windows computers to connect to the WireGuard VPN.
TIMESTAMPS:
0:00 Intro
0:20 What is a VPN?
0:43 What is WireGuard?
1:23 WireGuard add-on configuration
2:15 Configure WireGuard on android
4:22 Configure WireGuard on iOS
6:04 Configure WireGuard on Windows/Mac
7:13 Set up a port forwarding rule for WireGuard
7:52 Final thoughts
WRITTEN GUIDE
www.juanmtech.com/how-to-set-...
RECOMMENDED VIDEOS
- Getting started with Home Assistant - 2021
• Getting started with H...
- UniFi Home Network Setup
• UniFi Home Network Setup
- Install Proxmox and virtualize Home Assistant
• Install Proxmox and vi...
- Set up Zigbee with Home Assistant - ZHA Integration guide
• Set up Zigbee with Hom...
- How to integrate Google Assistant with Home Assistant without a subscription
• How to integrate Googl...
❤️ SUPPORT THE CHANNEL ❤️
SUBSCRIBE: kzread.info?s...
PATREON: / juanmtech
BUY ME A COFFEE: www.buymeacoffee.com/JuanMTech
AMAZON AFFILIATE LINK: amzn.to/2nM3bvM
FOLLOW ME ON
TWITTER: / juanmtech
FACEBOOK: / juanmtech
INSTAGRAM: / juanmtech
MY GEAR
Camera: amzn.to/2nd3nIt
Lens 1: amzn.to/2nFL7CO
Lens 2: amzn.to/2o57cxW
Mic 1: amzn.to/2qh5Iiq
Mic 2: amzn.to/2m75JIE
Tripod: amzn.to/2oLeoh5
⚠️ DISCLOSURE
Some of the links on this video are affiliate links, meaning, at no additional cost to you, I would earn a commission if you click through and make a purchase.
SOUNDTRACK
INTRO:
Song: Clarx - Shakedown [NCS Release]
Music provided by NoCopyrightSounds
Free Download/Stream: ncs.io/Shakedown
Watch: • Clarx - Shakedown | Fu...
-
Song: Convex - 4U (feat. Jex Jordyn) [NCS Release]
Music provided by NoCopyrightSounds
Free Download/Stream: ncs.io/4U
Watch: • Convex - 4U (feat. Jex...
#HomeAssistant #WireGuard #VPN

Пікірлер: 41

  • @danheatherlytube
    @danheatherlytube3 жыл бұрын

    Thanks. Your video for this setup is by far the easiest to follow.

  • @tarcisio_menezes
    @tarcisio_menezes3 жыл бұрын

    Hey Juan! Your videos are awesome! Thank you the the information!!

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

    Excellent info and video format. Thanks, sir!

  • @ZJMK605
    @ZJMK6052 жыл бұрын

    Great video, much better than the others. Liked and subscribed. Thanks Juan!

  • @kilnageermobilephone1394
    @kilnageermobilephone13943 жыл бұрын

    Very clear explanation. Thank-you. (And no annoying music :) )

  • @JotaDominguezT
    @JotaDominguezT3 жыл бұрын

    Nice video. Waiting for the next video!!

  • @GabrielSouza-of7kt
    @GabrielSouza-of7kt2 жыл бұрын

    This video with public/private key is the best because it is much better to hold this public/private key in a secure way and travel with it and connect to your network from any trusted computer

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

    1,000,000 Likes!!! Thank you for the best configuration explanation available on the internet.

  • @davidleonard1540
    @davidleonard15403 жыл бұрын

    Good detail! tnx.

  • @ronm6585
    @ronm65853 жыл бұрын

    Thanks Juan. 👍

  • @squalazzo
    @squalazzo3 жыл бұрын

    waiting for the adguard video! :)

  • @mmaterazzo
    @mmaterazzo3 жыл бұрын

    excellent video :)

  • @josefreiterer3721
    @josefreiterer372111 сағат бұрын

    Thanks for your video! is the functionality still the same for the current versions? I'm asking because it's not running if I use your guide...

  • @dasgoll
    @dasgoll3 жыл бұрын

    TIL something. Thank you :)

  • @johnhale5527
    @johnhale55273 жыл бұрын

    Excellent tutorial on how to set this up. A question about the DNS IP address. Do we put a public IP address for DNS there or would we use our local ISP router IP address if that is what is providing DNS for us now? Secondly, if we are using the Adguard add on, would the DNS IP address be the IP address of the Adguard server?

  • @Capozzi3
    @Capozzi3Ай бұрын

    Hello im new in this, do i have to install wireguard to secure my HA if im already using cloudflare?

  • @robert25agness
    @robert25agness3 жыл бұрын

    Running pi-hole and HASS in docker so would love to get the adguard guide so I can then leverage my current ad-blocker.

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

    I'd love to see a video for setting up a Wireguard SERVER with WiFi AP, so I could connect (for example) my Roku to it for remove connection (independent of HA)

  • @user-ye8bz8im3l
    @user-ye8bz8im3l3 жыл бұрын

    thanks for your video! I have a grey IP (my provider don't give white ip-address), so in this case can I use wireguard? Tell me please what should I set up?

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

    Hi,this is prolly super late .. but can ypu create a video for how to add aguardhome to homeassistant after setting up wireguard? Thank you so much

  • @FranciscoMartinsKiko
    @FranciscoMartinsKiko3 жыл бұрын

    follow everything but mine won't have access to the internet with the VPN ON... what I doing worng?

  • @thanasisglt
    @thanasisglt3 жыл бұрын

    Great, thanks! After installation, do we have to delete duckdns ports 443/8123 and leave only 51820 or both must remain open?

  • @okeuponhooutra

    @okeuponhooutra

    3 жыл бұрын

    I would like to know that as well.. Since I've deleted the 8123 rule, I can't access my HA through my duckdns address anymore..

  • @Fatalfaktum
    @Fatalfaktum3 жыл бұрын

    Thats fine and stuff, but how does this help me watch us netflix from another country? are the "public" us wireguard IPs or whut?

  • @nickchandler1389
    @nickchandler13893 жыл бұрын

    Juan, is it possible to setup an HA instance as a peer to connect multiple HA instances together?

  • @AnoNymous-lp5tb

    @AnoNymous-lp5tb

    3 жыл бұрын

    Yup.

  • @on6222
    @on62223 жыл бұрын

    Thanks for nice tutorial, what you think about a zerotier one compare to wireguard

  • @JuanMTech

    @JuanMTech

    3 жыл бұрын

    I haven’t use it

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

    Is there any way to do VPN without using port forwarding on the router? maybe a paid service that redirects like peer to peer?

  • @s14owner95
    @s14owner953 жыл бұрын

    When I follow these instructions: "public_key:" cannot be saved. I can do "public key:" or "pub key:" but when I type in "public_key:" it doesn't work. It also doesn't work with the QR code set up

  • @carltonwbrooks
    @carltonwbrooks3 жыл бұрын

    What if are using Nabu Casa instead of duck.dns. What do we place in that field.

  • @JuanMTech

    @JuanMTech

    3 жыл бұрын

    I believe it works with Nabu Casa.

  • @Eng.Daniel.Campos

    @Eng.Daniel.Campos

    2 жыл бұрын

    @@JuanMTech It doesnt work. i tried to use the remote URL from Nabu Casa but the port 51820 is not forwarding. So it's impossible to use wireguard with nabu casa.

  • @EnricAragorn
    @EnricAragorn3 жыл бұрын

    Hi friend! I follow your instructions on my adroid device, and it does not work. I don't know why. The tcp forwarding is runing right. :S

  • @shannonbreaux8442
    @shannonbreaux84423 жыл бұрын

    does wire guard replace ngnix and/or duck dns to remote in from the home assistant android app?

  • @JuanMTech

    @JuanMTech

    3 жыл бұрын

    No

  • @shannonbreaux8442

    @shannonbreaux8442

    3 жыл бұрын

    Do you can't use wire guard to remote in with app?

  • @JuanMTech

    @JuanMTech

    3 жыл бұрын

    No. You need remote access to setup the VPN.

  • @alexandregg
    @alexandregg3 жыл бұрын

    Ok. And how do I connect to homeassistant from Android or IOS?

  • @RACETOY101
    @RACETOY1013 жыл бұрын

    Yes ad guard video...please

  • @manu_6796
    @manu_67963 жыл бұрын

    why you don't take qr code ton install the VPN on the iphone? its go faster

Келесі