Jak zbudować router oparty o Raspberry Pi, tunelujący ruch przez VPNa?
W tym inspirującym filmie NetworkChuck przedstawia, jak przekształcić Raspberry Pi w super bezpieczny router sieciowy. Dzięki swojej kompaktowości, Raspberry Pi jest idealnym rozwiązaniem dla osób podróżujących i chce to wykorzystać na nadchodzącej podróży rodzinnej. W trakcie filmu NetworkChuck krok po kroku prowadzi widzów przez proces instalacji systemu OpenWRT, oferując przydatne wskazówki i porady dotyczące konfiguracji. Ze zintegrowanym Wi-Fi, Ethernetem i możliwością cichego działania, Raspberry Pi zapewnia solidne i wydajne połączenie internetowe, co jest doskonałe podczas korzystania z publicznych hotspotów Wi-Fi, takich jak w kawiarniach czy hotelach. Chuck podkreśla, jak ważne jest połączenie z VPN, aby zapewnić bezpieczeństwo w Internecie podczas korzystania z nieznanych sieci.
Podczas instalacji OpenWRT, NetworkChuck dzieli się swoimi najlepszymi praktykami, które pomagają uniknąć frustracji i problemów związanych z konfiguracją. W szczególności zachęca widzów do korzystania z odpowiednich adapterów Wi-Fi oraz do sprawdzenia, czy sprzęt będzie kompatybilny z Raspberry Pi. Przewodnik jest pełen przydatnych informacji, które sprawiają, że nawet osoby początkujące w IT będą mogły śmiało spróbować zbudować swój własny router. Chuck nie tylko pokazuje, jak zainstalować oprogramowanie, ale także wyjaśnia, jak podłączyć różne urządzenia, zapewniając pełny obraz działania routera.
Po skonfigurowaniu podstawowych ustawień, NetworkChuck przechodzi do zaawansowanego dostosowywania, w tym tworzenia sieci Wi-Fi, która zapewnia dostęp do Internetu w różnych lokalizacjach. Filmik ukazuje, jak stworzyć bezpieczne połączenie, które uniemożliwi potencjalnym hakerom dostęp do danych osobowych. Chuck pięknie łączy technologię z życiem codziennym, pokazując, jak dobrze jest przygotować się do podróży z bezpiecznym dostępem do Internetu. To, co czyni ten projekt wyjątkowym, to nie tylko aspekt techniczny, ale także kreatywności i możliwości, które dostarcza Raspberry Pi w każdym domu.
Warto dodać, że podle od czasu pisania tego artykułu, film NetworkChuck ma ponad 1,7 miliona wyświetleń oraz 44,972 polubień, co jest świadectwem rosnącej popularności tego typu rozwiązań. To pokazuje, że wiele osób z entuzjazmem odkrywa możliwości, jakie oferuje Raspberry Pi. Wspierając się odpowiednią wiedzą i źródłami, nawet początkujący mogą zbudować coś funkcjonalnego i przekroczyć swoje oczekiwania. Z każdym krokiem otwierasz nowy świat możliwości technologicznych, które mogą pomoc w codziennym życiu, pracy i podróżach. W tak dynamicznie rozwijającym się świecie technologii, umiejętność konfigurowania takie urządzenie, jak Raspberry Pi, to niewątpliwie cenny krok w kierunku budowania kompetencji IT.
Na zakończenie, NetworkChuck zachęca swoją społeczność do zabrania się do działania i samodzielnego spróbowania zbudować własny travel router, aby odkryć jak wiele możliwości niesie za sobą Raspberry Pi. Podkreśla, że tworzenie takich projektów to wspaniały sposób na zdobywanie nowych umiejętności, które mogą być nie tylko przydatne, ale także zabawne. W związku z jego powodzeniem w tym projekcie, nie ma wątpliwości, że więcej osób będzie dążyć do wykorzystania Raspberry Pi do tworzenia własnych, zaawansowanych rozwiązań sieciowych. Obejrzyj film, a przekonasz się, jak szybko możesz uzyskać pełną kontrolę nad swoją siecią Wi-Fi, niezależnie od miejsca, w którym się znajdujesz.
Toggle timeline summary
-
Wprowadzenie do projektu stworzenia bezpiecznego routera sieciowego za pomocą Raspberry Pi.
-
Podkreślenie możliwości Raspberry Pi jako routera.
-
Dyskusja na temat przenośności i zastosowania routera podróżnego.
-
Zarys instalacji OpenWRT, systemu operacyjnego routera typu open-source.
-
Instrukcje dotyczące łączenia się z Nord VPN przy użyciu Raspberry Pi.
-
Podkreślenie wykorzystania Raspberry Pi w różnych miejscach do bezpiecznego dostępu do internetu.
-
Lista wymaganego sprzętu, w tym rekomendacje modeli Raspberry Pi.
-
Znaczenie wyboru zgodnych adapterów USB WiFi.
-
Niezbędna przerwa na kawę dla skupienia podczas konfiguracji.
-
Wyjaśnienie, jak router Raspberry Pi będzie działał z wieloma interfejsami WiFi.
-
Rozpoczęcie instalacji OpenWRT na Raspberry Pi.
-
Proces instalacji polegający na zapisaniu systemu operacyjnego na karcie SD.
-
Uruchamianie Raspberry Pi bez potrzeby podłączania monitora.
-
Konfiguracja portu Ethernet do dostępu do sieci.
-
Wyjaśnienie struktury pliku konfiguracyjnego i nawigacji po ustawieniach.
-
Tworzenie kopii zapasowej konfiguracji przed wprowadzeniem zmian.
-
Testowanie i stosowanie początkowych zmian w ustawieniach sieci.
-
Łączenie Raspberry Pi z domową siecią WiFi.
-
Testowanie połączenia internetowego na Raspberry Pi.
-
Konfiguracja Raspberry Pi do działania jako punkt dostępowy.
-
Ustawianie Nord VPN na bezpieczne przeglądanie internetu na Raspberry Pi.
-
Ostateczne testy w celu potwierdzenia nawiązania połączenia VPN.
-
Zachęta do stworzenia osobistej strony internetowej w celu zwiększenia widoczności zawodowej.
Transcription
In this video, I'm so excited in this video. We're turning this raspberry PI into a super secure network router. Raspberry PI's can do pretty much anything, including becoming a router. And it's kind of the perfect router. Look how tiny it is. And it's perfect for traveling, which is exactly what I'm going to use it for. This will be my official travel router. When I take my family on a road trip here soon, and it will securely connect me and my family, wherever we go to the internet over VPN, dude, it's amazing. And in this video, I'm going to walk you through every single step. And honestly, it's not too crazy. We're going to install open WRT, which is just this amazing Linux based open source router. I'll show you how to get a basic network setup, and then I'll show you how to connect to Nord VPN all the time over this raspberry PI, and you can use this thing anywhere, coffee shops, hotels, Airbnbs, whatever it is, it can connect to public wifi as a client and give you internet access, but also give you secure VPN internet. It's awesome. So here we go. No time to waste. Let's get the sucker going. Cause I'm about to leave for my trip. Ooh, get your coffee ready, man. Network check that coffee. Oh, and also a shout out to the sponsor of this video hosting here. I believe every one of you should have a website and hosting here is the place to build it. We'll talk more about them later in the video. Okay. First, let's talk about what you need. Well, the first and most obvious thing you need is a raspberry PI and here actually have good news. This is a rare project where most raspberry PI's are supported. Open WRT can be installed in pretty much anything from the zero to the PI four. Now there are some considerations you got to think about when you pick your PI. And I always recommend just to have the raspberry PI four, because it has everything you need built in wifi, ethernet ports, and it's stinking fast. And it's going to give you the best performance. So get the four, but it supports everything, which is so cool. And also like every PI you're going to need some goodies like the power supply, a micro SD card, a USB micro SD card reader. And if you don't already have one, make sure you have an ethernet cable and a computer you can connect to with that ethernet cable, but normally when you're buying a raspberry PI, it comes in a kit and you get all this stuff right there in the package. Second, and this is pretty important. You'll need a USB wifi adapter and you'll need one that can work with the raspberry PI and specifically open WRT. Now, personally, I can recommend this guy right here. I just bought him from Amazon. He works. Check the link below. How much was he? Let me check. Oh, he's like 12 bucks. Yeah. Get this guy. Now you may already have one and it might work, but I can't promise that it'll work. And as we're walking through our steps, you'll find out pretty soon if it does or it doesn't. And then finally you need coffee. I'm sorry. It's just required. If you do anything in it, you have to have coffee network, Chuck dot coffee, coffee break to fuel up. Let's go. Hmm. Let's do this now real quick. Before we start, I want to show you how this is going to end up working. Now I'll be using a raspberry PI for, for this project. The key considerations here is that it has built in ethernet, of course, and built in wifi. And then we'll also have a USB wifi adapter that will plug in right there. So we'll end up having two wifi interfaces. You will need two wifi interfaces. So if you're raspberry PI does not have wifi built in, well, you're going to need two wireless adapters, two USB wireless adapters, because here's how it's going to work. The onboard wifi, the one built into my raspberry PI for that sucker will connect to any public wifi available. That wireless will be used to connect to public wifi. The USB wireless adapter will be giving me and my family wifi. It will be the one broadcasting my SSID and what I connect to to get access to the internet. And the ethernet port will just be part of it. He'll be part of that same network that my family's connecting to. So if I didn't want to plug in something to that, for example, I'll be plugging in my raspberry PI NAS to that ethernet port. So I can watch Plex movies on the road in the car with my family. That's going to be awesome. Anyways, here we go. So again, if you don't have two wifi interfaces, you'll need them. Okay. Step one, we got to bake our pie. We got to put open WRT on the sucker as the OS. So real quick, again, links below for everything. Go out and find your OS, match it up to your particular pie. For me, I have the raspberry PI for B, which is right here. I'm going to download this firmware right here. Boom. And it's super small and really fast. So watch this. So I'm going to take the. Dang, it's already done. Okay. Time to write the sucker to our SD card. So grab your micro SD card. Where'd my, oh, there it is. Get your USB micro SD card reader, slide that bad boy in there and plug it into your computer. And then we'll use my go-to tool for imaging anything with the raspberry PI, the raspberry PI imager link below Mac Linux windows. First I'll choose my OS, which is the one we just downloaded. So I'll hit that and I'll scroll all the way to the bottom and select use custom. We are doing something custom here. You want to select the open WRT image. Open that and then finally select your storage. Make sure you pick the right one. Mine is this 32 gig micro SD card and that's it guys. Click on right? Yes. It's super fast coffee break. Cause this thing goes so sick and fast. Here we go. Bam. And the time it takes to sip a cup of coffee, it's ready. Grab your micro SD card, grab that sucker, slide that into your raspberry PI, depending on what model you have. It might be a bit different, but I'll slide mine in here. Now, the cool part is you won't need a monitor or keyboard to get the sucker going. So first of all, we'll do is take an ethernet cord, plug it into your laptop or computer or whatever, and plug that into your raspberry PI's ethernet port. Oh, love that sound. And then we will plug in the raspberry PI power and that sucker will boot up auto magically. So now how do we access our PI with this new open WRT OS installed? Well, again, right now you should have an ethernet cable going from your computer to your raspberry PI's ethernet port. By default, your raspberry PI will have an IP address of 192.168.1.1. Our goal right now is to be able to access the IP address so we can configure that bad boy. So what we'll need to do is give our computer, our interface and IP address in that subnet. So what I'll do is give my computer and you can follow along and do the exact same as me, the IP address of 192.168.1.10. Let's go do that right now. I'm going to do it inside of windows. I'll do a windows key S and search for control panel, click on network and internet, click on view network status and tasks, and then my ethernet port is the one I want to change right here. Click on properties, find my internet protocol version for adapter there and change it from automatic to manual. 192.168.1.10 default gateway of 192.168.1.1. And that's all we need to click. Okay. Okay. And close. And we should be able to access it. So now, and by the way, if you're using Linux or Mac, it'll be different, right? So, um, Google that I can only show so much anyways. So now I'm going to launch my command prompt or CMD for macro Linux, it'll be terminal. See, I'm helping you a little bit and we're going to SSH into that bad boy. So the command will be SSH. Default username is root at 192.168.1.1.1. And here we go. Type in yes. And we're in open WRT on a raspberry PI. Are you ready for this coffee break? Just real quick. Notice it did not prompt us for a password. Super insecure. Let's go ahead and change that. Type in P a S S W D, which by the way, that's how you change a password on any Linux device. And that's it. Just hit enter. It'll prompt you for a new password. Enter your new password in something good. Password for root change by root. Now, whether you're new to networking or not, open WRT is fun. It's a new thing. I'm used to Cisco stuff and ubiquity. This is all like Linux. So check it out. First, I'm going to show you something. We're going to do CD or change directory. We're going to go to forward slash ETC or Etsy forward slash config and just go there, hit enter, type in LS to see what's inside all these files right here, hold our configuration of our raspberry PI router, our network config firewall DHCP, and we can edit these files. So let's take a look at network first. And we're actually going to make some changes here. Actually, no, first, what we're going to do is back up our files in case we screw something up. So here are the files we're changing. And we want to back up wireless network and firewall. Really easy to back those up. Check it out. The command will be CP, which stands for copy. We'll do firewall first firewall. And then we'll say the name of the file. We want to copy it to firewall dot BK for backup. Done. We backed it up. Let's do it again. Do up arrow for network network dot BK backed up and we'll do it for wireless. So now if we hit LS once more, we get our main configs and we got our backups right there. Perfect. Now we're ready to make some changes and not be too afraid of what happens. And worst comes to worst. You can always re-image it. Did you see how fast that was? Like, so it's not a big deal now, real quick. Let me tell you something as we're doing this project, as we're building a raspberry PI router, did you know that you're building some crazy skills, marketable skills like Linux and networking knowledge that you can put on a resume or even better a website? Yes. These are skills that can help you get a job, but you can't get a job unless someone knows about you. Unless someone can see what you're doing. I truly believe having a website, your name with your branding is the best way to get your best foot out there. Sure. You can have a resume, but man, having a website along with your resume puts you above the rest. That's why I'm a big fan of hosting. You're the sponsor of this video. They are a fantastic way to build your website. In fact, all of my daughters, five of them, yes, I have five daughters have a website on hosting her right now because it's never too early to start branding from four months old to my 10 year olds. Yeah. They have their own website. And if my four month old has a website, I think you should have a website and choosing hosting her for that website is a no brainer fast servers, 99.9% uptime guarantee, which you know, you want to keep your website up. It's optimized for WordPress, which is what I run all my websites on. That's the best thing ever. If you get lost, they got chat support, 24, 7, 3, 6, 5. They have a crazy user-friendly control panel. Everything's really easy to set up. I even made a video about this. Like I made a video telling you why you need a website and I showed you how you can do it. So check it out somewhere up here. You'll also get a free domain SSL and a 30 day money back guarantee. So yeah, don't waste any more time. As soon as you're done building your Raspberry PI router, go build yourself a website. In fact, talk about doing this. You'll be amazed at what employers will look for. If I were hiring someone right now, if I saw that, dude, you're hired. So check it out in the description. I got a link for you hosting your.com forward slash network. Chuck use my code network, Chuck, and you get 10% off. Let's jump into our network file. First, the bad news nano. He's not here right now. My favorite text editor in Linux, we have to use VI or them. Let's do it. So type in VI and then the name of that file network. That's it. Hit enter. We're in all this right here is our network configuration. It's cool, right? So let's make some changes. Okay. First, we're going to change our LAN network here. One thing we're going to change is the IP address. One on two dot one, six, eight dot one dot one is the most common home network IP address or subnet. And you know what? Hackers know that too. So we're going to change it. So they don't know. So we're gonna use our directional pad to scroll down there. And to make this edit change, we're going to hit the I key for insert, insert, and now we can start editing. So I'm going to backspace that IP address and put in a custom one. Like I don't know, 10 dot 71 dot 71 dot one. You can copy me if you want to just make sure it's a private IP address. And that's all I need for that network there. And then we're going to add one more line here. So go ahead and bring your cursor with the directional arrows all the way down here to the bottom, right here, hit enter, and then space on over to where it all lines up nice and pretty. I just like the way that looks. So here type in option and then type in force underscore link, and then space single quote, one single quote, which we're basically saying this is his IP address. Keep this config, save it, whether he's up or not. So he's done. He's good. Now hit enter a few times. We're going to make a new interface. You ready? This is crazy. All right, here we go. We're kind of going to copy what we just did up there. Type in config interface, and we're going to name this new interface, single quote, W W a N or W when single quote, once more and close that sucker out, hit enter, line that option up with the N type in your first option. Oh yeah. We're going to add some config to this. We're then going to type in proto P R O T O space, single quote, D H C P single quote. Now what this is doing here is we're telling her when interface to pull an IP address from DHCP, from whatever wireless network we connect to. So if it's public wifi like Starbucks, boom, it's going to give your WAN interface and IP address. Whereas up here on our land, we're doing static. We want that thing to stay the same here. We want to match it to whatever network we're connecting to golden. Now for some more options to enter space on over space out option. We're going to type in peer DNS space, single quote, zero, single quote. And then one more time, enter space on over option. We'll type in just DNS single quote, and then we'll put in a DNS server. We want to use for our WAN interface. Me. I love to use cloud players. 1.1.1.1. You can use that as well. And then as a backup, I'll do Google. So space 8.8.8.8. Cloudflare and Google can't go wrong, right? I don't know. Okay. We're done with the WAN interface. We're going to add one more. This is a promise config interface, single quote, VPN client, because we will be setting up a VPN connection. Now, if you're not going to do VPN, then you can skip this part. I am because I want to be secure because we know hackers hack, Starbucks wifi all the time, right? Anyways, I enter space on over option. If name renaming interface, single quote, ton zero, single quote, and then one more option. Proto single quote, none, single quote. Now that's it. We're done now, just so you know, all we're doing here can be done in a nice, pretty GUI. So if you're more comfortable with that, go for it. We're going to do both with this tutorial. I like doing both. Oh, it's so fun. Anyways, I'll show you the GUI here in a bit. So now how do we save this? So we're using VIM. So it's a little unfriendly, but to do this, don't do anything just yet. Just calm down. First hit the escape key, then hit colon, then type in W Q. I know it's freaking weird right here at the bottom left. You should see it just like this squiggly colon WQ. If you see that you're good, hit enter. You did it. You save the config. Now real quick, we're going to make one change to our firewall. So again, we're going to do VI this time. We'll do firewall as the document we're going to open. Do it. We're only going to change one thing down here. We're going to change configuration for this zone right here. The zone for our WAN. We're going to change this option input from reject to accept. It's all we're doing right here. So again, scroll on down with your directional arrows, get in place right over here next to that. Reject hit. I just start editing, remove that type and accept, and then we're ready to save hit escape colon W Q enter. We're solid. Now we're going to reboot our Raspberry PI. And when it comes up, things are going to be a bit different. It's going to be fun though. Ready? So first let's type in re boot and that's it. Hit enter. Bye buddy. See you in a minute. Okay. And you should lose connection. We just did something that's going to affect how we connect to him again. His IP address was one nine, two, one six, eight, one, one dot one. I changed mine to a 10 dot. What was it again? I don't remember. Was it 77? Let me go look through this again. I don't remember 77 or 71. One of those two. So we'll need to be on that same network in order to connect to that guy. Now the good news is that network is handing out IP addresses like candy DHCP suckers. So all you gotta do is change our adapter back to DHCP. So here in windows, I'll get back into my ethernet adapter, go back into his properties, get back into his IP before stuff and then change it back to obtain IP address automatically. Okay. Actually I'm going to change it back for my DNS too. Yes. We're all good. Okay. Close. And now we wait here on windows. I'll see if I got anything yet. I'll do IP config. Take a look at that interface. Okay. It was 71. Yeah, here I am right here. It gave me 10 dot 71 dot 71 dot two four seven. And I'm going to connect to him on 10 dot 71 dot 71 dot one. Let's try it out. So the command will be SSH route at 10 dot 71 or whatever you set yours to 71 dot one. Yes. And then my password I set earlier, boom, we're back in. So now here's the state of things. We got our new IP address on our Raspberry Pi, our new subnet, our new land, and I have a new IP address too. Exciting. Now our next task is to get our USB wifi adapter set up. Now you might think it, it would be as simple as just plugging it in and magic happens. It works. No, it is rarely that easy, but we got coffee. That's why we have coffee. Anyways, coffee break. Well, the good news is it's not too crazy. All we have to do is install a few drivers. So let's get this guy back on over here. We're not ready for him yet. Just a moment, Bubba. We'll have you up there in a moment. First we're going to download some drivers. Now it's a download drivers will need internet access. Our Raspberry Pi is going to need internet access. So our task right now is to get his internal wifi adapter on my Raspberry Pi for, I want to get him connected to my wifi here in my house. It's actually crazy simple. Check this out. Watch. Oh, it's so fun. So back at our terminal here, we're going to make one change to our wireless configuration. So we're going to do VI once more. We'll be done with VI here in a moment. Don't worry. Actually, you know, we'll keep using it just for fun. VI, we'll do forward slash ATC forward slash config forward slash wireless. And we're in here. We have to make one change to our radio zero interface, which is the default built-in one to the Raspberry Pi. We have to make this change in order to make him come up and work. I ran into this issue and I couldn't figure it out until I found this awesome forum with this awesome answer. Here's the answer right here. Let's make some changes. So first we're going to change our channel right now. It's 36. I, when we get there, change it from 36 to something like seven or yeah, just do seven for now. You can change it later. We'll change our option HW mode right here from 11 a to 11 G the down here option HT mode. We'll change it from VHT 80 to HT 20. And then we'll add one more line underneath option disabled. Let's do it. Enter space on over option. We'll type in short underscore GI underscore 40, and then space, single quote, zero, single quote. That should be all we need. Now, if you know anything about me, I hate wireless networking. So don't ask me what that meant. I just know it fixed it and it works. And that's really all I care about. So we're going to hit escape colon WQ to write and quit to save it and get out of there. We're golden and now we have to apply that configuration to our wireless interface. A few commands here. First, it'll be UCI commit wireless. We're committing our configuration, saving it, bam. And then just type in wifi. Boom. Oh, you know what? We forgot one thing. Hold on. Let's get back in there. VI etc. Etsy config wireless. We forgot to enable it. So right here, notice it says option disabled one, which is like binary. It's like one is on. So yeah, option disabled. It's disabled. Let's enable it. So we're going to turn that one and two, a zero hit. I choose that one to a zero escape colon WQ out of there. And then we'll do that same commit thing. You see, I commit wireless type in wifi. Okay, cool. That's a lot better. Okay. Now real quick, just for fun. If you pull out your phone or something that has wireless and you go to look for your wireless connections around you, you should see something that says open WRT. Yep. There it is. It's broadcasting. Super cool. Okay. But now we're going to take that connection and make it connect to your wifi, my wifi to get an internet connection for that. We're going to the GUI. Here we go. So fire up that web browser, navigate to the IP address of your Raspberry PI router. 10 dot 71 71.1 hit enter. Oh yeah. Here we go. Log in with that password you set earlier. And we're in now. What's so cool about this is most of the config that we have demonstrated can be done here in the GUI. So again, if you feel more comfortable doing that, go for it. Let's get back on task here. So first we're going to go to, and then then you appear network and then to wireless, click on wireless. We can see right here. We have our wireless radio interface that we just brought up. And then here's the SSID that's being broadcasted. We're going to change that up a bit. So first I want you to go over here and click on scan. This is so cool. Watch this, click on scan and it's going to find all the wireless networks in your area. Great for reconnaissance and great for connecting to wireless networks. Oh yeah. Now for me, I'm gonna connect to my home network, which is port key right here. I'm gonna click on join network. You do the same for your network. And by the way, this is what you'll do whenever you go to a new place. If you want to get their internet for your Raspberry Pi, just going to do the simple process. Super easy. Now two things we're going to change here. First we're going to check this box to replace the wireless configuration with what we're doing here. And then we're going to put in our wireless password, which you should have a password. If you're open, then you're crazy. So click the box, bam. And then my wireless password, which I don't remember. I go go find it. It's super complicated. Paste that sucker in there and just notice this. You don't have to change it. It's being assigned to your WAN firewall zone because it's going to be a WAN interface and interface that connects to the internet and gives you internet. So now we're golden. Just click on submit, submit, and then scroll down just a bit and click on save. And just to make sure things happen, click on save and apply down there. It won't take 88 seconds. It'll be done in like three seconds. There we go. Oh yeah. So what we're seeing right here is bam. Our interface is now can't use a port key. It's client. Now we're seeing all the stuff about his configuration or it's, it's a connection. And real quick, if we go up here to status and click on overview to get back to that page, where it shows us all the stuff. If I scroll down just a bit, heck yes. I can see what IP address it pulled from my wireless network here. So when you connect to any kind of public wifi or some Airbnb or hotel, this will be what it connects to and what it pulls right there. So now we should have internet. You want to check it out? Let's try it. Let's get back to command line. I know you missed it. First. Can I ping things? I'm not sure if it has ping. Let me try to ping a google.com. Yahtzee. We get internet. Yes. Okay. So now remember, our goal was to get this guy set up right now. If I plugged them in, the browser pipe, like, okay, who's this guy? We have to download some drivers so we can recognize this thing. First, we're going to type in one command. O P K G space update. It's going to update its list of packages. Here we go. Hit enter. Oh, we got a little failure. I'm gonna try it again. Come on, buddy. Okay. Don't be stubborn. It should work. We'll try it one more time. Huh? Not liking it. You know what? I'm just going to do a reboot to see if that fixes it. Cause that's the best thing you can do in it. Okay. Let's try it one more time. Oh, PKG updates. You better work this time, sucker. Yeah, there we go. That's much better. See a reboot fixes everything guys. And now I'm going to celebrate with that little coffee break. Hey, it was too fast. Okay, here we go. Now we're going to install a bunch of packages all at once for this guy. Again, commands will be below. It's going to copy and paste. We're installing a lot and within all this mess should be drivers for most of the wifi USB adapters you have. Anyways, hit enter. Let's go and do its thing. Now we're going to have a little coffee break again. We've had a lot of coffee today, haven't we? And we're done. Okay, cool. So now, now we can plug in our USB data. No, no, real quick, real quick. I want to try something. Type in LS USB. Notice what you have is, let's listen to your USB interfaces. What you have plugged in. Notice what you have here right now. Let's plug in our new guy. There you go, buddy. Do LS USB once more. There he is. Our a link eight Oh two at 11 N W lamp. Now to bring this guy up to make him alive. I want to type in one command. And if this command works for you, you know, your driver has been accepted. It's good. Here we go. The command will be I F config WLAN one up. Here we go. Oh yeah. So if I type in I F config, let's see my interfaces. There they all are. They're so pretty. Here's my internal wireless and my wifi adapter. Perfect. So now here's the state of things right now. WLAN zero is doing its thing. It's connecting us to public wifi or whatever wifi it's supposed to right now. It's going to be the wifi in your house and it's supplying you delicious internet. WLAN one, he's doing nothing right now. We've got to config him. What we're going to make him do is become the wireless access point for us to connect to and have internet. Now, after we do this, that's a working router, son. It's going to be ready. You ready? Here we go. We're going to stay in command line land. Cause I I'm comfortable here. I love it. And you should too. It's really fun. First we're going to edit our wireless configuration file. So we'll do nano this time, nano the text editor. It's so much easier. Nano forward slash etc. Forward slash config forward slash wireless. Boom. If we use a directional pad and scroll down just a bit, we can see that first of all, our new USB wireless interface already has some config in here. There he is right there. Radio one, that's his device config. And then there's his wireless interface config, which is actually broadcasting open WRT right now. If I check my phone again, that's going to be him actually. No, he's not there. Can you guess why he's not there right now? Because he's disabled. We're going to change that, aren't we? So let's make a few changes here. First we need to obviously enable him. Now the cool thing about nano is you don't have to do any kind of keystrokes. You just start typing away, change that one to a zero saying, no, he's not disabled. Now let's configure his wireless interface. Just a couple of things here. First we'll change his SSID to something that you want for me. I want to change it to network Chuck underscore travel. Beautiful. I'll change the encryption to PSK two and just below that option key. And we'll put in our wireless key that we want to use when we connect to this wifi. I'm going to put in vacation. I'm going to end up changing that, but that's what I'm put for now. Now that should be it. I'm going to hit, no, no, it was different. Hit control X, Y, and enter. And we're saved. We're good. And then just as before to commit, our configuration will do UCI commit wireless and then type in wifi. Boom. We're solid. Now we can actually connect to our Raspberry PI's network and we'll have internet. Let's try it out. Okay. Let's see. Um, can I say network Chuck travel, but by the occasion password in, yeah. Join it. It looks good so far. See if I got an IP address. Not yet. Okay. I got one less than the 10 71 70 set by subnet. Now let's see if I can, uh, get something. Let's go to network chuck.com. Boom. Yes, it works. Okay, cool. So right now you have a working travel router. Like you go to your Airbnb, you go to your, whatever it is, public wifi, Starbucks, you connect it to the wireless by going through the GUI like we just did. And you're good. Like that's awesome. Right? But we still have an issue, right? We're not secure. We're not protected. We're not going over VPN. Our network traffic is not encrypted. That's not good. So now for the next part of our config, we're going to set it up to where all of our traffic over this bad boy. We'll go over Nord VPN. So no matter where you go, your traffic's hidden and you're secure. So let's try it out. I'll keep in mind while some of these steps are very specific to Nord VPN, it should be pretty much the same for most VPN providers. I'm just showing one that I use all the time. So here we go. Let's go. And then it should go without saying that you got to be a paying subscriber to Nord VPN, which you should, it's, it's good. Anyway, here we go. First, we need to get our client profile set up. So I got a link below. This will take you to a page where Nord VPN will recommend a server for you. And I like that one. If you don't, you can always select your country of preference, but I'm good. I'm going to click on show available protocols right there. Let me zoom in a bit on that. There we go. So click on that. And then for our example, we're going to download the open VPN UDP config. Download. Yeah. Now our task is to upload this file. The one that we just downloaded right here. We're going to upload that sucker to our Raspberry PI router, and we're going to use secure copy or SCP. So fire up another. So like currently right now we have a command prompt and we're inside of our Raspberry PI router. We're going to pull up another command prompt or another terminal. This should be the same on all platforms out of the way should be simple command. First I'm going to CD into my downloads folder because I know that's where my file is file file is. And then I'll simply type in SCP space. I'll specify my file name, which let me go find it real quick. Kind of a long one. There was space. And then the server or the Raspberry PI router we're going to upload it to. This will be a route at 10 dot 71, not 71.1. And then we'll tell it where to put this file. So colon forward slash, we're going to put this in ETC Etsy forward slash open VPN. And then we'll actually have to name the file. So we'll do forward slash and we're actually going to name it this client dot C O N F client.com for config. And that's it. It should prompt you for a login. Let's try it out. Yep. Let's be the login for your Raspberry PI. Boom. Uploaded. Let's go make sure it actually did it. So let me pull it up real quick. What about other command prompt? I'll CD to forward slash Etsy forward slash open VPN. LS that there she is. Client.com all we need right there. Okay. So now that we have our Nord VPN file configuration uploaded, we can keep configuring our stuff here. Now don't get scared. This is the notepad with all the commands we're going to enter right now. Don't worry. It's not too crazy. We'll walk through it all together. I'll hold your hand. Let's go first. We're gonna make sure we have our packages installed. Let's grab those first few commands, paste them in there. And we are solid. We're going to set some parameters. Let's do that real quick. So here we're going to do our open VPN directory. It's telling it where it's going to be. We'll copy that. Paste that sucker in there. We're going to label what the connection will be called. It's going to be called clients, bam, copy and paste that. Now we're setting the variables for username and password. This will be the Nord VPN username and password. So put that in right here, between quotes. So mine is going to be here. It's going to be your email address that you use for your account. And then, Oh, VPN pass. And between quotes, I always want to say parentheses. It's going to be your Nord VPN password. Just paste that sucker in there. Between quotes, hit enter. The next script is just going to create a nice little file with those two pieces of data inside of it. Paste that bam. And then finally the next section of script will actually create your VPN configuration. Let's copy that just as it is. So fancy Linux bash scripting, boom. It did it. Now we're almost there. We're almost done. I know it feels like a lot. This next thing will actually make it to where we can manage this VPN in the web GUI, which we'll take a look at here in a moment. So copy that, go in here, paste it, hit enter. Cool. And then finally our firewall configuration, we're just going to copy and paste it just as it is. This will allow some things for our VPN to work. And you know what? That's it. That's good. Let's go take a look at the GUI and make sure everything looks solid. We're going to mosey on over to VPN and open VPN here in the menu. And here we go. Here it is client. And yes, it's connected. Now we got to test it. Let me pull up my phone, where my phone go. There it is. And actually, first I'm going to do this. I'm going to check it or uncheck it, save and apply. This is going to stop my VPN connection. So I can actually test and see if I'm on it. Okay. So just verifying here, I am connected to network Chuck underscore travel. Got my IP address there. I even have my AT&T turned off. All right, here we go. Let's do, what's my IP address. Bam. I'm not going to show it to you, but it begins with one Oh seven, the Nord VPN one should be different. So let's go ahead and go in here in the GUI, click that checkbox to enable that and click on save and apply. Cool. It's connected. Let's refresh this page and see what happens. Yes. One eight five. That is a Nord VPN IP, which means all my traffic is going over Nord VPN through this Raspberry PI router. Are you freaking kidding me? That's amazing. Yes. Now I lied. There is one more thing I want us to do. Looking back here at my config, there's a hot plug. We're going to, we want to add to this. Basically this will make it to where if the, the WAN interface is disconnected, it will restart our VPN service to make sure it does stay up, which, you know, for a travel router, that's what you want. So I'm going to paste that config in there. Boom. And just like that, my Raspberry PI here is a router and not just that a pretty stinking secure one. It's got me connected to Nord VPN. So wherever I go, hook it up. My family's protected. Now open WRT. This thing's a beast. There's so much to it. Um, I spent a good while kind of playing around with it, making sure I was comfortable with it. My goodness. It's powerful. It's open source Linux. It's it's the best. And by the way, people often do use the Raspberry PI as their main router in their house. You can replace your main router with this sucker. Now it won't be as fast as other fun routers, like getting a PF sense router with a beefy set of hardware, but it still does the job. And for me traveling, it's perfect. I'm going to keep it the car. It'll give me connection to my NAS, my Raspberry PI NAS that I have, and we're going to watch flex movies off of it. And of course, wherever we go, safety knows guys, that's all I have today. Let me know what you think of the video in the comments below. Let me know if you do this. I want to find out. It's not really crazy expensive. It's kind of cool and fun and geeky and really why not? So yeah, it's all I have. Don't forget to hack that YouTube algorithm today, that like button notification bell and subscribe and comment, all that stuff. You've got to hack YouTube today, but do it ethically, of course. And again, shout out to the sponsor of this video hosting her. If you want to get into it or you're trying to advance your career, you got to have your place on the internet. This sucker will augment your resume. It'll put you above the rest and hosting her. We'll get you started to build you a website. So check it out, link below. And also have you seen this shirt? Yeah, that's a Raspberry PI. You can get one right now at network chuck.com and you have for real. It's all I have. I'll catch you guys next time. Yeah.