0:00 now what is the best way to remotely
0:02 access computers to remotely access a
0:04 lab to remotely access your work is it
0:06 VPN there's a better way vpns are
0:09 unfortunately getting a little
0:10 old-fashioned and they also don't offer
0:12 the best performance and they're not
0:13 even a secure way of doing things
0:15 anymore I have found a product that you
0:18 need to check out called twingate and
0:20 this is changing the way that you can
0:21 remote access into your home network so
0:24 I've got three main devices that I want
0:26 to be able to access from anywhere in
0:28 the most secure way possible with no VPN
0:31 no port forwarding no TeamViewer
0:34 wouldn't it be great if you could have a
0:36 secure way to actually be able to access
0:38 any of these devices and only those
0:40 devices using a specific service none of
0:43 these convoluted complicated insecure
0:45 practices are needed anymore what if
0:48 you're an admin and you've got a few
0:49 other admins but you want this admin to
0:51 only be able to access that server and
0:53 this admin to be able to only access
0:55 This Server what would happen with VPN
0:57 is you'd log in with your VPN and you
0:58 had access to the whole lot but now you
1:00 can actually direct your traffic to one
1:02 specific spot I tell you what these VPN
1:04 providers better be watching out first
1:06 thing you've got to do is you need to
1:08 subscribe to my channel Tech with Amelia
1:10 click on the button on the Bell we don't
1:11 want those YouTube algorithms to not
1:13 recommend these videos because they're
1:15 full of plethora full of good content
1:17 right I'm sure you agree what we're
1:19 going to do I'm going to show you on my
1:20 computer right now I'm going to log in
1:22 and I'm going to show you how cool this
1:23 is it's absolutely awesome and you're
1:25 going to be like well how have I not
1:26 heard about this and it's completely for
1:29 free so I've got three main devices that
1:32 I want to be able to access from
1:33 anywhere in the most secure way possible
1:36 I want to access my virtualization
1:38 environment running VMware I've got some
1:40 esxi hosts I want to access my CCTV I
1:43 want to see what's going on I've got
1:45 some cameras are there any criminals I
1:46 don't want to access perhaps Plex got a
1:48 Plex server out there and then I've got
1:50 my Nas my network attached storage where
1:52 I keep all of my data sometimes I want
1:54 to log in check the admin side things
1:56 maybe download some files here or there
1:57 but I don't want to expose any of this
2:00 stuff out to the internet let's log into
2:02 my computer so go into twingate.com
2:03 we're going to click on try twingate for
2:06 free and then you're going to sign in
2:07 with one of your favorite Services put
2:09 in your favorite information in here and
2:11 then how do you plan to use twingate now
2:13 for me I'm going to be doing this for a
2:15 personal hobby are you able to deploy
2:17 twingate on your own no you can't well
2:19 go and get some technical support
2:21 otherwise if you're comfortable with CLI
2:22 command line do that one so I've updated
2:25 my network name Emilio demo and there's
2:27 my URL it's going to be Emilio
2:29 demo.twingate.com and that's what you're
2:30 going to use to be able to go and access
2:32 your twingate you now need to do three
2:34 things the first is to Define your
2:36 networks you need to add some remote
2:37 networks at least one resource that you
2:39 need to be able to access then you need
2:41 to establish the connection between twin
2:43 gate and your network via this little
2:45 connector and then if you want users to
2:47 be able to access the resource you're
2:48 going to need to use the twingate client
2:50 if you think about it with VPN you have
2:52 a VPN client well this is a twin gate
2:54 client let's start by adding a remote
2:56 Network now if you've got the cloud
2:57 great you can actually connect it
2:58 directly to your AWS Azure or Google
3:00 Cloud other but we're going to be doing
3:02 on-premise we want to access our
3:04 infrastructure that we've got here in
3:06 our home lab on premise you then give it
3:08 a specific name at the network you then
3:10 need to set up one connector and of
3:12 course you need to get this set up
3:13 behind your firewall So within your
3:15 network either of these two will do the
3:17 trick
3:18 and now the deployment method how are
3:20 you going to install this connector and
3:21 if you're using Docker you can use that
3:22 if you're using any of the Azure or AWS
3:24 stuff you can do that if you've got
3:26 Linux you can do that so I've selected
3:27 Docker and I've clicked on generate some
3:29 tokens and here are my tokens right in
3:31 here I'm going to go and copy these save
3:32 these somewhere safe because you're
3:34 going to need them later on and they're
3:35 always good to reference custom Docker
3:37 command you can leave that as default
3:38 you don't have to do those unless you
3:39 really really want to you are going to
3:41 have to have Docker running of course on
3:42 your computer or on your server or on
3:44 your Nas whatever it may be we're going
3:46 to be doing this on our Nas now comes
3:47 the fun part we're going to go and
3:48 configure our connector so I'm going to
3:50 go and click on this guide up here
3:52 deployment guide and here is the steps
3:54 that you need to follow to get this
3:56 Docker thing working on one of your
3:57 systems and you can do this on the cloud
3:59 and the office etc etc we're doing this
4:01 in our home network you can do this
4:03 directly onto a Windows Server onto a
4:05 Mac server as it said onto Linux of
4:07 course running Docker in our case I do
4:09 have a Synology now so I'm going to be
4:10 doing this directly onto my Nas which is
4:12 awesome a bit of a guide here I run how
4:15 to get it running on your Nas but we're
4:16 going to show you how to do it anyway
4:17 all right we're now going to log into
4:18 our as here we go if you don't already
4:20 have Docker installed you can go and do
4:22 this and again remember this is just a
4:23 step on our Nas but you can do this on
4:24 any Linux box on a Windows box as long
4:26 as you've got it running we're gonna go
4:27 into our package Center over here and
4:28 we're going to actually search for
4:30 Docker because I don't have it running
4:31 right now and there it is install gonna
4:34 follow the Simple Guide to get it
4:35 installed onto my volume you can open it
4:37 right in there you can also go into your
4:38 little package Center and there it is
4:40 let's open it up Docker now the first
4:41 thing we've got to do is we're going to
4:42 get the docker thing sort of connected
4:44 to the twin gate stuff right so we need
4:46 to go into the registry area here we're
4:48 going to type in Twin G or twin gate and
4:52 there it is there's our twingate slash
4:54 connector we're going to double click on
4:55 that one to actually download it making
4:57 sure that it's the latest one we just
4:59 wait a little bit for it to download and
5:00 then we're going to go and configure it
5:01 and now we just double click on it and
5:03 to make it a little bit easier so that
5:04 you keep track of what's going on over
5:06 here we've got this thing called
5:07 watchful beagle that is the name of my
5:09 container so I'm just going to actually
5:10 name it the same sort of thing so that I
5:12 can sort of keep track of those two and
5:14 it sort of makes a little bit more sense
5:16 later on when I forget which I probably
5:17 will
5:18 all right and then we'll click on
5:20 advanced settings we're going to tick on
5:22 enable auto restart because we do want
5:24 the thing to automatically restart
5:25 should it run into any problems you just
5:28 want to make sure that that is ticked
5:29 and then we select on environment now in
5:32 here we want to add three different
5:33 sorts of variables three variables and
5:36 then we're going to paste in some of
5:37 those values that uh we'll show you
5:40 first one tenant URL and this is the
5:42 full URL of your twingate so if you
5:45 remember we had your name the one that
5:46 we set up at the very
5:47 start.twinggate.com and we throw that
5:49 right into there the next variable now
5:51 is our access token so we're going to go
5:53 twingate access token and now we come
5:55 into here and we're going to go and use
5:57 that token over here that we copied
5:58 before and now our refresh token that
6:00 should be it we should be able to now
6:02 click on apply
6:03 looking all good
6:05 next
6:06 make sure you want to run this command
6:08 and we click on done here's our
6:09 container running now if all things have
6:11 worked correctly we should be able to
6:12 now go back into here and look at that
6:14 our watchful beagle is now connected the
6:17 container is now working and there's a
6:19 connection between our twin gate and
6:21 between our Nas using those really
6:23 really long and complicated keys and now
6:26 the fun begins we're now going to go and
6:27 configure our twin gate to start talking
6:29 to some of your devices in your network
6:31 and here's what's great apart from just
6:34 connecting to your Nas you can use
6:35 Twinkie to even access your Raspberry Pi
6:37 you can set up a second connector option
6:39 to connect directly to your Raspberry Pi
6:42 do you have a Windows VM do you have a
6:43 Windows Server we're going to show you
6:45 how to do that but you can also connect
6:46 it to that connect it to a Linux box you
6:49 can access all of this stuff remotely
6:51 using twingate and not VPN so let's just
6:54 go back to my home lab over here and now
6:57 I start adding in my resources now if
6:59 you do have DNS setup and DNS is working
7:01 well in your network you can throw in
7:02 the DNS right into there but if you want
7:06 to do it without IP you can also do it
7:07 with IP now because I know the IP
7:09 addresses of the devices I'm going to
7:11 use IP and that should be fine so I'm
7:13 going to give it a specific label now
7:14 what I want to do is I want to be able
7:15 to access one of my VMware esxi hosts I
7:18 have several so this is one of them
7:21 throw in my IP address and we'll just
7:23 make my Alias the same now protocols
7:25 look at this this is awesome you could
7:27 allow or restrict specific access you
7:29 want to allow all TCP all UDP all icmp
7:33 up to you you can allow them or restrict
7:34 them or block them all together and of
7:36 course by allowing all traffic you're
7:37 allowing essentially every single port
7:39 so you may want to do that or you can
7:40 get very very restricted click on ADD
7:42 resource now this part is awesome if you
7:44 have a pool of people and you want to be
7:46 able to restrict specific access to
7:48 specific resources you can go and create
7:50 a different pool of users and then allow
7:52 just the users that you want access to
7:55 that specific resource but for me I'm
7:57 going to say everyone good to go I'm
7:59 going to add it right there and now
8:01 we're going to add our Plex Media Server
8:03 I mean I love movies TV shows and when I
8:05 go on a holiday on a trip somewhere I
8:08 record a lot of stuff and I throw that
8:09 all into my Plex and you can add your
8:12 Plex server right in here same deal I'm
8:14 going to go in here Plex same deal give
8:17 it the same Plex Alias and we leave
8:19 everything else as default giving access
8:21 to that specific user and we add it
8:23 right in there now because Plex is
8:25 running on my Nas I've actually now
8:27 allowed access to my Nas as well my Nas
8:30 and my Plex and I can control it all and
8:32 then the last thing that we'll add is a
8:33 Windows server that I've got that is
8:35 controlling my CCTV my cameras around my
8:38 house I know exactly what is going on
8:40 and when I'm away I can log in and make
8:44 sure that there's no criminals breaking
8:45 in we're going to call this CCTV and I'm
8:48 giving this one an IP address of 32 done
8:51 done everything else will remain as is
8:54 but remember you can get very specific
8:56 around those ports if you need to so our
8:58 esxi host running VMware I only want it
9:01 to be accessible via a web browser and
9:03 perhaps over SSH so I'm going to go into
9:05 here I'm going to go and edit it and
9:07 under my protocols I'm going to actually
9:09 restrict and then I can actually allow a
9:12 specific ports and specific ports only
9:14 so I'm going to say I'm going to allow
9:15 Port 80 I'm going to allow Port 443 and
9:18 I'm going to allow Port 22. so any other
9:21 application on a different port is just
9:23 not going to work and now with it all
9:25 ready to go you grab your phone you can
9:28 open up your phone install the twingate
9:31 app you take your laptop with you
9:32 wherever you go you connect to a public
9:33 Wi-Fi search for an application twingate
9:36 we're going to go and grab that there it
9:37 is continue now we throw in our URL we
9:40 already know that URL we used it before
9:43 so it does need to do some changes here
9:45 to our VPN config so we're going to
9:46 allow for that and now we're going to
9:48 sign in so now you can literally go into
9:50 a web browser and it's almost like
9:52 you're on a VPN but it's not a VPN let's
9:54 now throw an IP address in here
9:59 look at that
10:02 now I know that my Plex server is
10:03 running on a different port so I can
10:05 just throw in that port at the end of
10:07 this URL
10:12 there you have it now I am on the Wi-Fi
10:14 so why don't we actually go and turn
10:15 that off now I'm on my 5G connection
10:17 let's go and try to access my server why
10:20 don't we try now to RDP that's RDP into
10:23 our CCTV server
10:26 of course you can go and download the
10:27 RDP app the remote desktop application
10:29 app from the app store go create a new
10:31 one
10:33 let's save that let's try connect
10:39 there you have it and then last one is
10:41 our esxi host we want to be able to
10:43 access our VMware esxi host now there is
10:45 an easy way to do this as well if I go
10:46 into my twin gate area there are other
10:48 devices that I've got listed there is my
10:50 esxi host I can click on that and I can
10:52 say copy original address let's go and
10:54 open up a web browser and paste it in
10:57 and look at that straight away didn't
10:58 even take very long at all visit website
11:01 foreign
11:06 EST way to securely access your
11:09 resources on your home network without
11:11 opening up ports without relying on a
11:14 VPN Gateway or exposing your network out
11:16 to the Internet so remember to visit the
11:18 link below in the video description to
11:20 try out twingate for free it is for free
11:22 and let me know your thoughts Down Below
11:25 in that comments and hey we want to hack
11:27 that YouTube algorithm so you ensure
11:29 that you are following along with all
11:31 the videos that we are releasing every
11:33 single week so click that button
11:34 subscribe click on the Bell so you don't
11:36 miss out on anything stay tuned for the
11:38 next video where we continue talking
11:39 about all things Tech and we'll see you
11:40 next time