Support me (includes paid affiliate links) Humble Software Bundle | All-in-One Python by Packt - bit.ly/3sNRDMI
Welcome back to Dev Odyssey Home Networking! In this episode, I show you how to make an OpenWrt Raspberry Pi into a managed switch, using Distributed Switch Architecture (DSA) VLANS in OpenWrt 21.02.
Legacy VLAN configuration was done using swconfig, and still is for devices that do not have DSA capable drivers. For those that have DSA drivers, creating VLANs over bridged interfaces is the best way to create VLANs. DSA has been around for quite some time in the linux kernel, and recently has been adopted in OpenWrt as it provides superior capabilities for VLAN configuration. Once you know how to create VLANs using DSA, using them to create a managed switch set up is a breeze.
I also cover the generic way to create VLANs for those who can't use DSA bridges. Lastly you'll learn how to apply these VLANs for WiFi networks.
During my testing, I did experience a caveat when attempting to use DSA VLANs over WiFi, specific to Raspberry Pi. My wireless devices simply could not connect to WiFi. This is apparently a known issue, and you can find my OpenWrt forum post in the links below. To overcome this, I created a configuration that does not use DSA bridges, so you can use VLANs over WiFi, which was recommended by the community.
How to Create a VLAN - Updated Guide // OpenWrt Router (21.02 +), DSA, Managed Switch, RPi 4Dev Odyssey2022-03-14 | Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
Support me (includes paid affiliate links) Humble Software Bundle | All-in-One Python by Packt - bit.ly/3sNRDMI
Welcome back to Dev Odyssey Home Networking! In this episode, I show you how to make an OpenWrt Raspberry Pi into a managed switch, using Distributed Switch Architecture (DSA) VLANS in OpenWrt 21.02.
Legacy VLAN configuration was done using swconfig, and still is for devices that do not have DSA capable drivers. For those that have DSA drivers, creating VLANs over bridged interfaces is the best way to create VLANs. DSA has been around for quite some time in the linux kernel, and recently has been adopted in OpenWrt as it provides superior capabilities for VLAN configuration. Once you know how to create VLANs using DSA, using them to create a managed switch set up is a breeze.
I also cover the generic way to create VLANs for those who can't use DSA bridges. Lastly you'll learn how to apply these VLANs for WiFi networks.
During my testing, I did experience a caveat when attempting to use DSA VLANs over WiFi, specific to Raspberry Pi. My wireless devices simply could not connect to WiFi. This is apparently a known issue, and you can find my OpenWrt forum post in the links below. To overcome this, I created a configuration that does not use DSA bridges, so you can use VLANs over WiFi, which was recommended by the community.
#RaspberryPi #VLAN #Router #OpenWrt #HomeNetworkStick to Pis For Your Home Network // Router on a Stick, OpenWrt, Raspberry PiDev Odyssey2024-11-19 | Get up to 55% off Ekster wallets during their Black Friday Sale when you use my link partner.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
Is it a corn dog? Is it a talking hot dog? No! (but you can watch one talk @GeerlingEngineering youtu.be/wzDEIBpbLRk?si=M11lu-ch-bjzsWkJ) Its a Router on a Stick! And in this case, its a Raspberry Pi 5 running OpenWrt on a stick. In this episode of Dev Odyssey, we go over the concept of Router on a Stick, why it's used in the industry, how it's used, and of course how to set one up for yourself.
A Router on a Stick is a router with one ethernet controller and corresponding ethernet port. That means on the physical layer, it can only be attached to one network. However, with VLANs, we're able to make this port into WAN and LAN ports, with as many of either network as we want. Therefore, you don't need two ethernet ports for a router as we most often think. This makes a Raspberry Pi perfectly capable of being a full blown router with just one ethernet port! You'll just need to bring your own layer 3 switch to route your VLANs, and offer additional connectivity, say for for access points. But, even this versatile powerful configuration does have its downsides.
The setup for this Router on a Stick setup can be described with the following: 1. Incoming upstream (WAN) VLAN networks should be untagged on the interface/port it comes into switch (VLAN 2 in this case) 2. Main router interface/port on the switch should be tagged with WAN and LAN networks, except for the default LAN, which should be untagged. This gives you local access to the router 3. All other interfaces/ports on the router should be untagged for endpoint devices that do not intend to carry multiple networks, or tagged if they intend to carry more networks. 4. On the router (RPi 5 on OpenWrt in this case), all networks (WAN and LAN) should be tagged, except the default LAN, to provide local access, as noted in point 2 above.
Router on a Stick configurations are quite common setups for consumer routers, more often than you would think. It was only until this researching this video topic did I realize my test routers were router on a stick configurations. Watch the video above to understand the full implications of this setup, and how to go about making one yourself!
00:00 Intro 00:40 Router on a Stick Explanation 02:03 Router on a Stick Diagram 02:45 Router on a Stick Requirements 03:13 Your Router is on a Stick 04:11 Ekster Promotion 06:35 Demo 15:45 Testing Configuration 17:45 Why Do Companies Make Router on a Stick? 18:45 Outro
Tags
#roas #vlan #openwrt #raspberrypi #networkswitch #networkingtips #homenetworkTunneling Out of Your Home Network! - How to set up a VPN on a Router // OpenVPN, OpenWrtDev Odyssey2024-04-22 | Follow me on X and Facebook
In this episode of Dev Odyssey, we're revisiting VPNs on a router, except this time, we're using OpenVPN. I cover how you can create a network wide VPN for all of your devices, using OpenVPN and OpenWrt.
OpenVPN protocol was created in 2001 by James Yonan and released under the GNU GPL version 2 license, as the first open source VPN protocol. Over time, it’s become a versatile and widely used solution known for its robustness and cross-platform compatibility.
OpenVPN does have some advantages over WireGuard, including support for authentication, certificates, key exchange, layer 2 networking, and extensible plugins. In comparison, OpenVPN's focus is broader.
WireGuard has its own advantages, particular around speed, security and portability / roaming. It's meant to be more lightweight, with a lean code base for easy auditing. Additional features, such as the ones noted above, are left to developers to implement. For example, Tailscale has built enterprise grade features on top of the WireGuard, to include the best of both worlds.
Each protocol has it's best use case scenario, and I encourage you to research them both to see what works best for you in your situation.
Setting one up is fairly easy, by following the steps below.
1. Install the OpenVPN packages:
openvpn-openssl luci-app-openvpn openssl-util
2. Grab an ovpn configuration file from your VPN provider 3. Upload the ovpn configuration file to OpenWrt 4. Make any necessary changes as dictated by your VPN provider (i.e. authentication) 5. Set the appropriate DNS servers to prevent DNS leaks
00:00 Intro 01:01 About OpenVPN 02:42 Setting up OpenVPN Client on OpenWrt 14:40 Validating OpenVPN configuration 16:16 Final Words on VPN Config 16:50 Mint Mobile 17:45 Outro
Tags
#vpn #openvpn #openwrt #wireguard #networking #homenetworkThe Easiest VPN Router Ive Used // Encrouter ENC-AX1800A ReviewDev Odyssey2024-01-03 | UPDATE: Encrouter has unfortunately discontinued their ENC-AX1800A router and their VPN service, and therefore have removed the link to their router on Amazon.
VPN Configuration is hard, especially for the non tech savvy. It puts a damper on enjoying your favorite geo specific content, services, or simply accessing your home network remotely. It doesn't have to be difficult. With Encrouter, you can do all the above, with a simple tap of a button.
In this video, I review the Encrouter ENC-AX1800A, by going over its specs, software, performance, and user experience. Encrouter has done a great job at making VPN usage for your whole home network, as easy as possible, for anyone. With their business model and VPN infrastructure, they own and control VPN endpoints around the world, helping to ensure your information meets privacy and security standards you deserve.
With WiFi 6 and gigabit ethernet built in, you'll be sure to get the fast speeds, regardless if you're using WiFi or you're plugged in. Using a WireGuard powered VPN, your VPN speeds will be as fast as possible (barring factors outside of your control).
With a user friendly, easy to use, mobile app, you can manage your home network with simplicity, wherever you're at. Complicated VPN benefits become easy with the Encrouter app, making it easy for all your connected home devices to use a VPN, no configuration required. Group device management means you can select which connected devices user a VPN, and which ones don't.
Being only a few years old, they have room to grow with their software, by adding new features with regular updates, such as Guest WiFi, or VPNing into your Encrouter network while away from home. Their latest update added HomeLink, a simplified form of site to site VPN, so you can be sure the team is working hard to make Encrouter the best it can be.
For those who want an easy, no fuss, VPN router for their home network, I recommend taking a look into Encrouter's offerings, the ENC-AX1800A and their VPN service.
In this episode of Dev Odyssey, I'm reviewing the Beryl AX WiFi 6 VPN router from GL.iNet. I test out its performance, and baseline it against another GL.iNet VPN travel router, the Slate, now discontinued.
I run three test against the Beryl AX: 1. iperf 2. Speedtest 3. SMB / File Sharing
The Beryl AX shows its ability to perform in these areas, as a modern day VPN travel router with WiFi 6, for those that want speed and security on the go. While I mostly cover performance, the newer versions of GL.iNet Admin software enable new features, not often seen in consumer routers, such as:
Split-Tunneling WAN Failover Hardware Mode Switch for VPN, Ad Blocking, or Tor networking
Watch the full video to see how the Beryl AX is an evolution in powerful, performant, portable networking!
#vpn #networking #glinet #berylax #slateCut the Landline for a FREE Cloud Phone // 3CX FreeDev Odyssey2023-10-09 | Get start with 3CX Free below! 3cx.com/signup
In this episode of Dev Odyssey, we cover SIP protocol, the 3CX platform, and how to set one up for yourself.
SIP, or Session Initiation Protocol, is a signaling protocol used for initiating, maintaining, modifying and terminating real-time communications sessions between Internet Protocol (IP) devices.
3CX is a complete communications platform that we can use for not only calling, but also video conferences, live chatting and more. Clearly, there are plenty of benefits to use this as a business communications platform, but even the regular consumer can benefit in the same way. Best of all, their 3CX Free tier offers the above features for free for up to 10 users, and today, I’m going to be showing you how you can set this all up.
00:00 Intro 01:25 Just a SIP of 3CX 03:03 3CX Free Demo / Sign Up 05:25 Create a 3CX User 06:27 Adding a SIP Trunk 08:04 Lets have a chat 10:38 Calling with 3CX Mobile and Browser 13:45 Video Conferencing with 3CX Mobile and Browser 15:05 Whats App Integration with 3CX 17:42 Call Routing, IVR and Office Hours 21:53 Outro
Tags
#sip #pbx #3cxYour network is wide open! // A Beginners Guide to Firewall Rules in OPNsenseDev Odyssey2023-07-17 | Support Me
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
We already know about firewalls in our home; those routers that connect us to the internet, and how they provide security for our home networks. We also know about OPNsense, how to install it on a pc and setup VLANs. But we don’t know about much about how it’s primary purpose, securing our network with firewall rules. Well in this video, we get started with that, and cover the basics of firewall rules, and firewall rule creation.
Firewall rules in OPNsense work like your standard port based rules. However, with plugins we can harness the power of Next Generation Firewalls, such as a Layer 7 Application based rules, allowing us to control application traffic, regardless of the port it’s running on. This falls in line with our general thinking of how we want to create policy, we want to control the traffic, not just the port.
While both OPNsense and OpenWrt are firewalls and routers, there are also some notable differences, that make OPNsense my preferred firewall Operating System.
Watch the video above to get a full breakdown, and demonstration, of firewall rules in OPNsense!
OPNsense is a copyright and trademark of Deciso B.V. HardenedBSD is a copyright of The HardenedBSD Project.
Tags
#firewall #firewallrules #homenetwork #router #OPNsenseYour network needs rules! // A Beginners Guide to Firewall Rules in OpenWrt, GL.iNet SlateDev Odyssey2023-06-05 | Support Me
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
We all have a firewall in our home, we just call it by a different name, that is, of course, router. We know our home routers do multiple things, like act as a switch, and access point. When it comes to being a firewall, they’re underpowered, not because of hardware, but software. At best, it does port forwarding. If we change the software to OpenWrt, we open up so many firewall options, which we can use to protect and fine tune our home network. Using firewall rules, we can block traffic on ports that are never used, except by malware. We can define rules to only use the most common ports that facilitate our use of the internet, and other IoT devices on our network. Firewall rules aren’t a silver bullet to protecting your network, but they’re part of a defense in depth strategy that makes it harder for attackers to compromise your devices. Watch above to learn how you can protect your network with all of OpenWrt’s firewall features.
#firewall #firewallrules #homenetwork #router #openwrt #glinetMake more networks with this feature - How to Create a VLAN // OPNsense FirewallDev Odyssey2023-02-20 | Support Me
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
VLANs are ubiquitous in networking, and practically universal in enterprise networking equipment. While setting up a VLAN is conceptually the same, there will be variations between network vendor software in VLAN implementation, in addition to terminology. I've covered VLANs in OpenWrt quite a bit, but have not in BSD based deployments like OPNsense. In this episode, you'll learn how to set up your own VLAN in OPNsense 23.1. Since there are many similarities with OPNsense and pfSense, you can also apply these steps to pfSense in order to create VLANs there. Best of all, regardless of your software vendor, you'll get the same benefits of VLANs regardless, such as network segmentation, like with IoT devices. In addition, you'll learn the basics of creating your own network using a physical ethernet interface, just in case you don't want to use VLANs.
VPN all the things, is what VPN providers tell you. That is, they are selling you VPN services under the impression you are not secure without a VPN. This scare tactic works all too often, and truth be told, a VPN is not necessary for all connections, and often, gets in the way. This can make using a VPN inconvenient, where you have to shut it off and turn it back on, depending on how you are using the internet. With VPN Split Tunneling, you can avoid these issues, by selecting what traffic you want to go through the VPN, and what traffic you don't. You can take this a step further, if you have a VPN on your router, where you can do split tunneling for all the devices on your network. In addition, if you use multiple VPNs, you can split tunnel between them, and your WAN connection, on your router. You can accomplish this all, and more, with OpenWrt and the Policy Based Routing package. Watch the video to see examples of how you can make your own custom routing policies, and not have to toggle that VPN connection on and off.
#vpn #homenetwork #router #openwrt #raspberrypi #cm4 #wireguard #wg #openvpn #splittunnelingDitch your hotspot and build a better travel router // OpenWrt, Raspberry Pi, VerizonDev Odyssey2022-12-19 | Get a discount on Ekster wallets when you use my link partner.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
Most often, we buy the solution presented to us. It never checks all the boxes, but it usually does good enough. However, empowered with knowledge, we can build our own solutions, better than any one presented to us. In this video, I explore that avenue by breaking down my latest build, and experience with it. That is, my custom built hotspot / travel router, and compare it to my consumer grade generic solution, the carrier provided hotspot. While not mentioned in the video, the carrier solution, or generic one you buy, will almost always be cheaper; but you always get what you pay for. It will do one thing, good enough. With a creative mind and spirit, you'll reap the benefits of customized solution. While it may cost more, the reward of knowledge and experience is one you can't put a price on.
Watch my breakdown of this hotspot, what I used, how it worked out for me, and my ideas for an improved version I'd love to make.
Stock footage provided by M-Stock Agency, downloaded from videvo.net
Tags
#hotspot #openwrt #cm4 #raspberrypi #mifi #jetpack #eksterYou already own a proxy … it’s your router!Dev Odyssey2022-11-04 | Use the coupon code ROUTER at checkout to get a 50% discount on the royal residential proxies. Make sure to use it before the deal expires! https://iproyal.club/DevOdyssey
You guessed it, or maybe not; I made a router into a proxy! It acts like a proxy in many ways, especially with NAT, but by default, it does not act like a web proxy. As many of us have use cases for web proxies, you think it would make sense to use a router as a web proxy. Depending on your use case, it does and doesn't. If you're simply trying to proxy traffic, then you can easily make your router into a web proxy using Privoxy package in OpenWrt. If you need to do heavier workloads, like TLS decryption, you would want to use a server as it would have the resources to tackle that. With lighter workloads of simply proxying web traffic, you can have a web proxy on your router that can service your needs. Using OpenWrt 21.02 and Privoxy 3.0.33, I show you in this video how to set up a basic Privoxy instance, using paid Royal Residential Proxies as Upstream Proxies from IP Royal, to proxy your web traffic through different IPs all over the world. Whether you are doing data mining, web scraping, sneaker shopping, SEO research or social media research, this demonstration will get you set up with a proxy you can use for all your network devices, tailoring it websites that you need proxied. Follow along to get your proxy router up and running around the world!
Privoxy copyright by Privoxy Developers - privoxy.org/user-manual/copyright.html OpenWrt is a registered trademark owned by Software Freedom Conservancy (SFC)
Tags
#router #proxy #homenetwork #openwrtHow to Create a Site to Site VPN // OpenWrt, WireguardDev Odyssey2022-09-26 | Support Me
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
We're all aware of how VPNs are used for privacy, geographic specific content, and hiding your IP. But VPNs have many other use cases, and a big one is site to site VPNs. What this does, is connect your networks together as if they all come from the same firewall. Corporations have been using site to site VPNs for quite some time, to connect their remote office networks together. However, this tech isn't just for big business; you too can set up a site to site VPN in your personal networks. You can set them up to connect family networks, friend's networks, or personal business networks together. This makes management of these networks convenient, and secure using strong encryption behind VPNs. In particular, Wireguard is well suited for site to site VPNs, with strong encryption, and low latency.
Setting up your own site to site VPN with Wireguard is easy. While I demonstrate this with OpenWrt, you can do this easily with most Linux distros, such as Raspberry Pi OS, or BSD based distributions like OPNsense, pfSense, or even FreeBSD. The configuration used here, and theory, will carry over to any distribution you choose, and has been curated with best security practices in mind. From here, you can create additional security policies that let you shape and control your traffic and access the way you want it. In the future, this will be helpful in learning mesh and overlay networking.
Watch this video to start joining your networks for convenience and management ease!
00:00 Intro 01:11 Site to Site VPN Diagram 04:56 Site to Site VPN Uses 05:54 Hardware / Software 06:13 Demo Foreward 07:51 Demonstration / Site A Config 11:17 Site B Config 17:29 Finish Site A Config 20:00 Verifying / Testing 22:40 Site to Site VPN Benefits 23:11 Final Thoughts / Alternatives 24:05 Outro
OpenWrt is a registered trademark owned by Software Freedom Conservancy (SFC) WireGuard is a registered trademark of Jason A. Donenfeld
#OpenWrt #Wireguard #Site2Site #VPN #site-to-siteLets follow a ping packet over site to site #vpn #openwrt #wireguard #shortsDev Odyssey2022-09-23 | Follow me on Twitter and Facebook
VPNs aren’t just used for privacy, content access, or hiding your IP. Virtual Private Networks are also used to join multiple networks together, as if they originate from the same router. This is often referred to as a Site to Site VPN and is widely used in corporations. But this isn’t exclusive, you don’t need expensive hardware or software. You can do it at home and connect your network, with a friend, family member, or your personal business! In the next episode of Dev Odyssey, you’ll set up your own Site to Site VPN using Wireguard and OpenWrt. Tune in on Monday 12:30 PM EST to learn how!
#site2site #tunnelLets make a Router Firewall // How to install OPNsense on a PCDev Odyssey2022-09-06 | Support Me
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
While Raspberry Pi and OpenWrt dominate the videos on my channel, my (virtual) network experience actually started with OPNsense. With that, I'd like to share my what I know, starting with how to install OPNsense onto a bare metal PC. Personally, I like OPNsense more than pfSense, due to what they stand for, and how the implement the project, like open source, security minded development, ease of use, and frequent updates. OPNsense and pfSense retain many of the same features and functionality, and mostly differ in implementation and beliefs. Because of that, you can use this information, and most OPNsense configuration information, with pfSense. To get started on your journey of BSD based firewalls, we need to install it so we can test it out. In addition, we'll need some basic hardware to install it on. As long as you have an intel based PC, you should be good to go, though, the more ethernet NICs you have, the better. So if you can spend a couple hundred dollars, you can find a good quality generic pc firewall appliance with motherboard expansion slots on eBay, Amazon, or Ali Baba. Watch this video to learn that and more, including project history, ancestry.
OPNsense is a copyright and trademark of Deciso B.V. FreeBSD is a copyright and trademark of The FreeBSD Project. HardenedBSD is a copyright of The HardenedBSD Project.
Tags
#OPNSense #Firewall #Router #HomeNetwork #pfSenseBuilding a Better Raspberry Pi Router // RPi Compute Module 4, OpenWrt, DFRobot Carrier BoardDev Odyssey2022-08-22 | Shout out to @JeffGeerling for helping to make this video possible by fixing an RPI CM4 bug with OpenWrt!
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
A Raspberry Pi 4B router is cool, but whats even better is a Raspberry Pi 4 router, with the I/O of your choice, or as I like to say "bring your own interfaces" (BYOI). Well in this video, I take a step up from my Raspberry Pi 4B Router video, and I make a custom Raspberry Pi Router using a Compute Module 4 (CM4), DFRobot's IoT Router Carrier Board Mini, and of course, OpenWrt 21.02.3. With this carrier board, you get two, 1 GB Ethernet NICs, 2 USB C ports (one for power, and one for data), 26 GPIO pins, a microSD card slot, a reset button, and LED indicator lights. This board is already more powerful than a Raspberry Pi 4B router, as it has two ethernet ports, as opposed to one. It has the a small form factor for a low footprint, making it easy for travel. Lastly, you can chose the right CM4 for your resource needs. Overall, this makes a CM4 an ideal system to not only build routers, but anything where you need to customize your interfaces beyond USB, Ethernet, GPIO, and HDMI. Explore the possibilities of a Raspberry Pi CM4, by watching this video to create a router with your choice of interfaces!
Raspberry Pi trademark of Raspberry Pi Trading OpenWrt is a registered trademark owned by Software Freedom Conservancy (SFC)
#RaspberryPi #CM4 #Router #HomeNetwork #OpenWrtOne Port To Rule Them All // Serial, Ethernet, USB OTG, Raspberry Pi, OpenWrtDev Odyssey2022-06-20 | Support Me
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
Welcome back to Dev Odyssey! In this episode, we're harnessing the power of USB OTG to power and connect to our OpenWrt 21.02 Raspberry Pi, via serial and ethernet, all with one USB-C cable. Briefly, USB OTG allows your devices to switch between host and device mode, depending on the scenario. For example, it lets your phone act as USB host, when you plug in a flash drive, but also lets your phone act as a USB device, when you plug in your phone, to your computer. For the wanderlust developer who needs to pack light, OTG compliments their travel requirements. For those who despise cable clutter, OTG is also for you. The use cases are vast, from serial, ethernet, mass storage, use with a USB C Tablet, like an iPad, improved connection stability, and more. With all the possible combinations, you're only limited by the USB guest configurations available.
Best of all, USB OTG is not limited to Raspberry Pi or Raspberry Pi OS. So long as your device, or single board computer, has a USB OTG enabled port, and an operating system thats supports it, then you can reap the same benefits of USB OTG. Watch till the end to see two of the most useful examples of USB OTG configurations!
Welcome back to Dev Odyssey Home Networking! In this episode, we learn how to create a 4G LTE Raspberry Pi Router, powered by OpenWrt 21.02 and using Verizon's network. This video is a sequel to connecting to a cellular network over with Raspberry Pi, OpenWrt and 3G. The use cases are similar, however with faster 4G LTE speeds, this Pi can can simply do more, where faster networking is required. Cellular configuration can be finicky and greatly vary between different modem manufacturers, however if you follow the general process below, you can successfully set up your own 4G LTE Raspberry Pi OpenWrt Router!
General Process
Decide On Your Cellular Carrier Research Carrier Documentation Research Modem Pricing Ensure Region Support Check Modem IMEI With Carrier (if you already own a modem) Use Latest Firmware
Links
Hardware * Refer to 3G Cellular OpenWrt RPi Router for base hardware youtu.be/wodWA4AHVEw
Welcome back to Dev Odyssey Home Networking! In this episode, we learn how to create our own custom image of OpenWrt. You might be wondering, why would you build a custom image of OpenWrt? With a custom built image of OpenWrt, you can preconfigure your router so that it’s ready to go out of the box. All you have to do is power it on. If there is any configuration you have to do afterwards, a custom image reduces post deployment configuration time. Custom images also make upgrading a breeze. Upgrading with a custom image lets you add packages and new configurations to your existing instance, during the upgrade process without using opkg.
To build OpenWrt, you will need the following.
A Linux/GNU based operating system At least 2 GB or RAM, and at least 10 to 15 GB of disk space. 4 Core CPU
For this video, I’ll be using: Debian 11.2 Bullseye VM 8 GB of RAM 50 GB of disk space 4 Core CPU
Debian is a registered trademark owned by Software in the Public Interest, Inc. OpenWrt is a registered trademark owned by Software Freedom Conservancy (SFC)
#OpenWrt #CompileProtect yourself when using public WiFi // GL.iNet AR750S Slate ReviewDev Odyssey2022-02-28 | Support Me
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
Humble Software Bundle | PC Utilities, VPN and More - bit.ly/3561aFH (PAID Link)
Welcome back to Dev Odyssey Home Networking! In this episode, I review the Slate travel router from GL.iNet. This small yet mighty router is built to pack a punch for your secure networking travel needs. With the Slate, you get robust hardware that meets the security demands for on-the-go, well connected travelers.
This powerful hardware is complimented with powerful software. Built using OpenWrt, GL.iNet has a user interface that caters to both novices and advanced network users. With the specialized VPN switch and functionality of this router, you can always be sure that your mobile network is secure while on a VPN, no matter where you go or however the Slate is connected to the internet. Check out the video to see why this router may be right for you!
I'd like to thank GL.iNet for sending me this router to review, so I may share my honest opinion.
Ram icon created by FreepikHow to setup a Raspberry Pi 4 Display (and what you can do with it) // RPI 4, Wimaxit TouchscreenDev Odyssey2022-01-24 | Welcome to Dev Odyssey IoT Hardware! In this episode, I review the WIMAXIT Raspberry Pi 7” Touch Screen Display and show you just a few ways that I’ve used it so far, along with some ideas for other ways to use it. This monitor boasts an anti scratch capacitive touch screen with 6H hardness, a native resolution of 1024 x 600 (16:9 aspect ratio, and capable of HD at 1920 by 1080), 178 degree, IPS, 400 nit peak brightness display, with two rear speakers and is USB powered.
For connectivity, it has two HDMI ports, two micro USB ports for power and touch, one additional micro USB port for power only, a 3.5 mm audio jack, and a paddle wheel volume and brightness control.
For hardware, it comes with a USB A to Micro USB adapter for Raspberry Pi 4, 3 and 2, a HDMI A to HDMI A adapter for Raspberry Pi 3 and 2, a HDMI A to micro HDMI D adapter for Raspberry Pi 4, a HDMI A cord, and USB A to micro USB cord. It also comes with all the hardware you need to mount your Pi onto the monitor, including four bronze mounts, four mounting screws, four rubber feet, a screwdriver, two stands and two screws for the stands.
My use cases for this monitor are a debug monitor for OpenWrt, a portable desktop monitor for Raspberry Pi 4 running Bullseye, and for a mobile external monitor for my laptop.
There are plenty of other projects you can incorporate this monitor into, including a home automation console, a point of sale terminal, an indoor air quality monitor, and a even a RetroPie gaming monitor.
Overall, with everything this monitor comes with, its plentiful use cases, and price point at roughly 75 dollars, I think this purchase is worth it. This monitor will suit your needs for many projects for years to come. Check out the links below to get one for yourself.
Flaticon Control panel, Air quality icons, Game emulator file, created by Freepik Pos icons created by vectorspoint
Raspberry Pi trademark of Raspberry Pi Trading RetroPie logo is licensed by Florian MüllerHow to Connect a Raspberry Pi to a Cell Network // OpenWrt, 3GDev Odyssey2021-12-20 | Support Me
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
Welcome back to Dev Odyssey Home Networking! In this episode, I show you how to take a Raspberry Pi, and connect it to 3G Internet! With a Raspberry Pi connected to cell networks, you can use this as a travel router, or as a backup internet connection when your internet goes out. This makes the use case for a Raspberry Pi Router even stronger. 3G speeds are not the fastest, but they do work in a few scenarios, like remote areas and low bandwidth deployments. 3G is being phased out in the US, so this won't be the best solution for those living in the US. I'm working on setting up a 4G connection to my Raspberry Pi using a Sierra Wireless modem, so stay tuned to see that it in action, along with my other Raspberry Pi, SBC, IoT and OpenWrt projects!
* Login with ssh root@OpenWrtIPAddress (usually 192 . 168 . 1 . 1) * Run command opkg update * Install packages with opkg install comgt kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch minicom luci-proto-3g * Run command reboot to restart OpenWrt * Login with ssh again, run command dmesg * Look in dmesg output for 'modem' and ttyUSB# to verify serial interfaces loaded * Look in dmesg for baud rate, usually next to 'ttyAMA0', generally its 115200 * Interact with serial interface using the following command: minicom -b 115200 -D /dev/ttyUSB3 * Check if AT commands work by typing AT and enter * Check for Operator Selection - AT+COPS? * Confirm SIM Registration - AT+CREG? * Check Cell Signal Quality - AT+CSQ * Check PDP Context - AT+CGDCONT?
— Network Configuration in LuCi
* Login to LuCI with credentials * Go to Network tab, then Interfaces tab * Click "Add New Interface" * In popup name interface "WWAN" * Choose Protocol "UTMS/GPRS/EV-DO" * Click "Create New Interface" Button * Leave “Bring up on boot” checked * In Modem Device dropdown, choose “/dev/ttyUSB2” * In Service Type dropdown, chose choose “UTMS/GPRS” * In APN, type in "super" (or your specific APN) * In PIN, leave as empty (unless you have a PIN for the SIM) * PAP/CHAP username and password, leave empty * Dial number, leave blank
* Click Firewall Settings tab, in Create / Assign firewall-zone dropdown, chose wan
* Click "Save", then "Save and Apply"
- Testing
* To test with ping, in terminal run command: ping -I 3g-WWAN
* To test speed, shut down wired wan interface by clicking "Stop" for the "WAN" Interface. * Test network connection (speedtest.net) in browser
00:00 Intro 01:08 3G Considerations 01:41 Hardware / Software Intro 02:30 Hardware Assembly 05:36 Software Setup 07:22 AT Commands 09:59 Creating WWAN Interface 11:33 Ping Test / Speed Test 12:39 Outro
Welcome back to Dev Odyssey Home Networking! In this episode, I show you how to take a Raspberry Pi, and make it a great custom home router, better than what you can buy. A Raspberry Pi 4 comes with plenty of improvements over a stock router, like a better ARM CPU, more RAM, increased storage and two 2.0 and 3.0 USB ports. There are drawbacks with using a Raspberry Pi as a router, as it only has 1 Gb ethernet port, and smaller WiFi chip / no WiFi antennas, reducing potential WiFi coverage. However, these drawbacks are overcome with a network switch and access points. Another way to overcome them is by using different single board computers (SBCs), such as a Raspberry Pi CM4, Banana Pi BPI-R2, ClearFog Pro, Seeed Odyssey, and many other SBCs. With OpenWrt, the possibilities are endless!
* First use lsblk to see disks and where they are mounted * Then unmount rootfs! Otherwise changes won’t work (use sudo umount /media/username/rootfs) * Then use fdisk to delete second partition, and recreate it using the rest of the available space * sudo fdisk /dev/sdb * p * d * 2 * n * p * 2 * Use sector from previous 2nd partition before deletion * (Press Enter to assume using the last sector as end point for partition) * n * w * Then run command sudo e2fsck -f /dev/sdb2 * Press ‘y’ to fix padding * Then run command sudo resize2fs /dev/sdb2 * Then unmount first partition, unplug from computer, and plug sd card into raspberry pi * sudo umount /dev/sdb1
— USB Ethernet Driver install
* Login with ssh root@192 . 168 . 1 . 1 (or connect monitor and keyboard to pi) * Turn off DHCP in /etc/config/dhcp (add line under “config dhcp ‘lan’”, option ignore ‘1’. Delete option limit and option start lines (or comment out) * Edit /etc/config/network, change “option ipaddr” to static IP of choosing (important so we know what IP to connect to), add lines “option dns” and “option gateway” with respective IPs to connect it to the network. Use public DNS server. Reboot * Connect Ethernet cable to existing network / router * Login to router via ssh (or use peripherals) * Run opkg update * Login to LuCI * Next go to System, Software, and type in kmod-usb-net-asix-ax88179 and install that package * Plug in the USB Ethernet adapter to a USB 3.0 port on Raspberry Pi * Then, go to Network, Interfaces, Add New Interface. Name it WAN, Choose DHCP Client, and Choose eth1 device, Create Interface * In Firewall tab, change zone to “WAN” zone, Save, Save and Apply * Plug in ethernet cable to USB Ethernet adapter, plug ethernet cable into modem or home network to test.
— Network Configuration
* Next, we'll edit the LAN Interface and revert it back to your initial settings. Or, you can create your own network of choosing. Refer to changes made above to revert them back
Welcome back to Dev Odyssey Home Networking! In this episode, I cover what a subnet mask is, how a subnet mask works, and how subnetting works. I also talk about uses of subnets, writing subnet masks in Classless Inter Domain Routing or CIDR notation, and talk about basic subnet classes. We also see how subnet masks are written in binary, learn about the reserved IP addresses of a network, such as the Network ID and Broadcast ID, and learn how to calculate network, size and range using subnet masks.
00:00 Introduction 00:34 Subnet Mask Definition 01:00 Uses of Subnets 01:28 Subnet Mask Example 03:16 Network Size and Range From Subnet Mask 03:37 Reserved IPs (Network ID and Broadcast ID) 04:18 Classless Inter Domain Routing (CIDR) Notation Example 04:53 Subnet Classes Example 05:52 Different Subnets Example 06:20 Outro
Icons made by DinosoftLabs from Flaticon flaticon.comHow To Secure Your Home Network - Pi-hole // DNS SinkholeDev Odyssey2021-08-26 | Support Me
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
Welcome back to Dev Odyssey Home Networking! In this video, I teach you how to secure your home network, by using a DNS Sinkhole called Pi-hole!
It's main purpose is to block websites that are undesirable and dangerous. This includes, malicious and phishing websites, ads, and more.
With this protection in place, you better protect your home network, computers and devices from going to bad websites, and potentially letting malicious actors into your home network.
This is by far one of the best solutions you can use to protect your data, secure your network, and make the internet safer to surf.
00:00 Introduction 01:06 What Is DNS / Sinkhole 01:58 Explaining Pi-hole Diagram 04:55 Pi-hole Benefits 05:37 Pi-hole Downsides 06:29 Pi-hole Alternatives 06:55 Pi-hole Requirements 07:48 Flashing Raspberry Pi OS 09:08 Prepping Raspberry Pi OS for boot 10:35 Inserting SD Card, Power, Ethernet 11:05 Getting Raspberry Pi IP Address 11:47 Login (SSH) 12:06 Configuring Pi OS for Pi-hole 13:08 Installing Pi-hole 15:44 Setting Static IP for Pi-hole 15:56 Changing Pi-hole password 16:14 Logging into Pi-hole 16:27 Adding custom lists to Pi-hole 18:13 DNS Config Options for Pi-hole 19:50 (Optional) Config DHCP Pi-hole as DNS 20:59 Config Router DNS as Pi-hole 21:50 Testing Queries Pi-hole 22:20 Testing Block Queries Pi-hole 22:58 *Bonus* Use Pi-hole Exclusively 23:27 Allow Pi-hole External DNS Servers 24:34 Block External DNS Servers 25:30 Test Firewall Rules 26:45 Outro
Description / Outline
1. Flash Raspbian (Lite or desktop) onto an SD card using Balena etcher (or could use raspberry imager). 1. Open boot partition and add an empty SSH file. If connecting over WiFi, add wpa_supplicant.conf file to connect to WiFi on boot. Power on / connect networking 2. Log in with SSH (pi username, raspberry password) 3. Run sudo rasp-config, change password, change hostname, expand file system, reboot 2. Install Pi-hole (using script from GitHub, follow all defaults for this installation) 3. Set Pi-hole IP Address as Static IP (manually or via router) 4. Configure Pi-hole (add block lists of malicious / phishing domains and test out blocking) 5. Set up router DNS as Pi-hole / hand out Pi-hole as DNS 6. Bonus: Prevent external DNS servers from being used / manually configured on devices using firewall rules (only allow Pi-hole server to make outbound DNS requests) 1. Rule to allow Pi-hole out on UDP port 53 to Cloudflare DNS 2. Rule to block all clients, UDP port 53 to external zone
#RaspberryPi #AdBlock #PiHole1,000 Thank Yous!Dev Odyssey2021-08-13 | Thanks to all who have supported me to help me reach this milestone of 1000 subscribers! With your support, I'll continue to make quality tutorials and reviews around IT tools and technologies.
I'm looking forward to all the new things we'll learn together, and that I'll share with you as I grow this channel. Watch to get a sneak peak of new video topics I have in mind.
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
Welcome back to Dev Odyssey Home Networking! In this episode I visually explain how a VPN on a router works, using OpenWrt router, Wireguard VPN and Mullvad VPN provider. Then I show you how to set up a Wireguard VPN on an OpenWrt router. Then we test out this VPN connection using a Mullvad "check", searching for our IP address, and other status tools within the router. Using a VPN on a router has many benefits, some of which are hiding internet traffic from ISP, bypassing ISP restrictions, getting access to different content and much more. There are also drawbacks, including breaking streaming services, losing internet connection if VPN goes down (or bill isn't paid), all traffic is tunneled out through the VPN and that may not be desirable. There are many additional features you can configure with a VPN on a router, and if you're interested, drop me a comment below!
Video Outline
00:00 Intro 00:21 What is a VPN 00:33 VPN on Router Explained 00:46 Normal Router Scenario 01:08 VPN on Router Scenario 02:15 VPN Benefits 02:37 VPN Drawbacks 03:27 VPN on Router Demonstration 03:54 BackUp and Upgrading OpenWrt 05:26 Downloading Wireguard 06:25 Configuring Wireguard 08:26 Adding DNS Server to WAN 08:59 Configure VPN Zone 09:50 Configure Gateway Metrics 11:30 Verifying VPN Connection 12:47 Troubleshooting 14:14 Outro
Have you ever tried to setup a VPN on all of your network devices, but you just can't get it working? Well in this video, I’ll show you how in one foul swoop.
A VPN is a Virtual Private Network that enables you to tunnel your internet connection out form a VPN server.
Benefits
Hide Internet traffic from ISP from all your devices (including IoT Devices) Bypass ISP restrictions Access to different content Similar to proxy benefits | Refer to the following video for more information on configuring a proxies: youtu.be/g2iSPBmRZ7M
Drawbacks VPNs can break your streaming services Can lose internet connection if VPN goes down Everything is tunneled through the VPN ( might not want to do that). This is configurable .
Requirements OpenWrt Router Wireguard as VPN software Wireguard VPN configuration from VPN provider - Mullvad
Steps
1. Install Wireguard from System | Software | Update Package List using opkg | Search for luci-app-wireguard 2. Reboot router 3. Log in | Network | Interfaces 4. Add New Interface 1. Name - wg0 2. Protocol - Wireguard VPN 3. Create interface 4. General Settings 1. Private Key (From VPN Provider) 2. IP Address (IPv4 and IPv6 from Provider, use + to add a second IP) 5. Firewall Settings 1. Assign Firewall-Zone (vpn) 6. Peers 1. Description (Name) 2. Public Key (From VPN Provider) 3. Allowed IPs (IPv4 IPv6 config from VPN Provider) 4. Advanced - uncheck DNS, put in VPN DNS 5. Route Allowed IPs (check off) 6. Endpoint Host (IP or Host from VPN Provider) 7. Endpoint Port (From VPN Provider) 8. Keep Alive (Optional since it will automatically trigger based on outbound traffic) (useful for CGNAT) 9. Save 7. Edit Firewall Zones in Network | Firewall 1. Edit VPN Zone to look like WAN Zone 2. Edit Lan To WAN Zone to include Zone Forwarding to VPN as well (not just WAN and WAN6) 8. DNS Servers 1. Edit WAN Interface | Advanced Options - Uncheck Assigned DNS - Input DNS Server from VPN provider 9. Set up gateway metrics (optional if you want to revert to WAN gateway when VPN interface is down) 1. Edit WAN Interface | Advanced Options - Gateway metric - 20 2. Edit VPN WG0 Interface | Advanced Options - Gateway metric - 10 10. *If you want automatic failover (from WG0 to WAN Interface) when connections stop outbound to VPN (say when you miss a payment to your VPN provider) you can use a package called mwan3* 5. Save And Apply 6. View Wireguard Status in Status | Wireguard 7. Do VPN Check (with Mullvad) 8. Google "What is my ip address" to check if VPN is working 9. Troubleshooting 1. If VPN connection stops, internet access stops 1. Disable Wireguard (wg0) Interface, Restart WAN interface (Updates routing table) (If you don't use metrics) 2. Restart Wireguard (wg0) interface
Welcome back to Dev Odyssey Home Networking! In this episode I visually explain how HTTP and Socket Secure (SOCKS5) proxies work.
In this video, I show you how to set up an HTTP and SOCKS5 proxies using Squid and Ubuntu 20.04 LTS with OpenSSH. Then we test out these proxies using Postman and FoxyProxy plugin for Firefox. Proxies have many benefits, some of which are increased anonymity browsing online, enabling access to different online content, a means to analyze web traffic, parental blocks on website, and much more. Once you know how to create and connect to proxies, your benefits are limited to your imagination.
Video Outline
00:00 Intro 00:26 What are Proxies 00:53 HTTP Proxy Explained 02:35 SOCKS Proxy Explained 03:56 Proxy Benefits Recap 04:20 Preliminary Test 05:07 Download / Configure Squid Proxy 06:33 Configure / Test Proxy In Postman 07:31 Squid Access.log 07:51 Adding Basic Auth to Squid Proxy - Update in Description 10:44 Configure / Test Proxy Auth in Postman 11:35 Configure SOCKS Proxy 12:02 Showing Open Ports 12:28 Configure SOCKS Proxy in FoxyProxy 13:21 Testing SOCKS Proxy 13:36 Outro
A Proxy server is simply an intermediary, or middle man, that processes requests for you on their way out to their destination, acting as a client itself on your behalf. There are many different proxy services and protocols, but in this case, we will be discussing the most popular, HTTP(s) and SOCKS (Socket Secure) proxies.
HTTP Proxy Diagram SOCKS Proxy Diagram
Benefits - Similar to intro items
Increased Anonymity Browsing Online Enable access to different content Analyze web traffic Parental Blocks on Websites
Demonstration
Squid Proxy 1. Install squid (sudo apt install squid) 2. Make copy of squid.conf (sudo cp /etc/squid/squid.conf /etc/squid/squid.conf.default) 3. Edit squid.conf (sudo vim /etc/squid/squid.conf), uncomment http_access allow localnet, save file 4. Restart Squid (sudo systemctl restart squid) 5. Check if its running (sudo systemctl status squid) Should see "running" and "active" 6. Configure Proxy in Postman and test (Settings, then Proxy tab). Add IP of Proxy Server, then default port (3128) 7. Check Access log for entries (sudo vim /var/log/squid/access.log) 8. Add basic user / password for authentication 1. Add the following 1. auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/htpasswd 2. auth_param basic realm Squid Proxy Caching Web Server 3. acl authenticated proxy_auth REQUIRED 4. acl authenticated_ips src {{CLIENT_IP_ADDRESS}}/32 5. http_access allow authenticated authenticated_ips
1. UPDATE: Run the following replacing “username” and accordingly: sudo sh -c 'printf "USERNAME:$(openssl passwd -6 -salt $(openssl rand -hex 16))\n" >> /etc/squid/htpasswd 2. Restart Squid 3. Configure Postman to use Proxy Auth (Settings then Proxy). Fill in Username and Password
SOCKS Proxy 1. Login to Ubuntu Server using SSH, with -D flag for dynamic port forwarding * Dynamic Port Forwarding. - Creates a SOCKS proxy server that allows communication across a range of ports. 2. Configure Foxy Proxy By Adding a new Proxy, then changing the type to "SOCKS5", IP Address as your localhost (127[.]0[.]0[.]1), and port you used (40932) 3. Save Configuration with name Test SOCKS. Open new tab in Firefox, set FoxyProxy to use Test SOCKS
Music Attribution Sunrise by SKIRK soundcloud.com/skirkofficial Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0 Free Download / Stream: bit.ly/2Sg2SNU Music promoted by Audio Library youtu.be/Jrx5sHKQBj4How to Create a VLAN - A Beginners Guide // OpenWrt Router (Up to 19.x)Dev Odyssey2021-05-21 | Updated video for VLANs in OpenWrt 21.02! youtu.be/d3aYMqt-b_c
Welcome back to Dev Odyssey Home Networking! In this episode I break down VLANs with a example, and demonstrate how to set up your own VLANs using OpenWrt on my Netgear R6080. VLANs have many benefits, notably, creating multiple networks that let you control which networks your devices connect to, and therefore securing them by separating out personal devices, guest devices, and risky smart devices. Once you know how to create VLANs, you can make your own virtual networks for all the devices in your home network.
This video was recorded using the following versions of OpenWrt and LuCI:
00:00 Intro 00:20 What are VLANs 00:36 VLANs Explained 02:51 VLAN Advantages 03:22 VLAN Requirements 03:43 Creating a VLAN 08:00 Connecting to VLAN using Ethernet 08:38 Connecting to VLAN over WiFi 09:27 Outro
Video Outline
VLANs - Virtual Local Area Network (LAN)
VLANs are virtually / logically separated, not physically like regular LANs
VLANs are defined by the 802.1q protocol.
VLAN Diagram
VLAN Advantages
1. Create multiple virtual networks 2. Create special purpose networks for guest users, smart devices, video surveillance and media streaming servers like Plex
VLAN Requirements
1. Physical Interface (Ethernet or WiFi) 2. VLAN ID (1 - 4094) 3. Name 4. Priority (0 by default, meaning Best Effort)
OpenWrt VLAN Demonstration - create a VLAN, and connect to the VLAN over Ethernet port and WiFi
#VLAN #OpenWrt #RouterWhat is Port Forwarding?Dev Odyssey2021-05-10 | Welcome back to Dev Odyssey Home Networking! In this episode I cover port forwarding, and how it makes your home your very own cloud! I discuss what is port forwarding, how it works, what to use it with, review an example, and a demonstration of how to set it up. Once you know how to port forward, you can make your own services, available for yourself wherever you go!
00:00 Intro 00:30 What Is Port Forwarding 00:41 Why Use Port Forwarding 01:22 Word of Caution RDP 01:36 Port Forwarding Explained 02:35 Port Forwarding Demo 03:56 Writing a Port Forward Rule 05:48 Outro
Other Dev Odyssey Network Videos:
How To Connect 2 Routers and Have The Same SSID - Make a Second Router a Wireless Access Point - youtu.be/WyUlzFO90KA
Stardust by Roa soundcloud.com/roa_music1031 Creative Commons — Attribution 3.0 Unported — CC BY 3.0 Free Download / Stream: http://bit.ly/_-stardust Music promoted by Audio Library youtu.be/8xMOb4C4hlkHow to Send Requests from Scripts // Postman PointersDev Odyssey2021-03-31 | Welcome to Dev Odyssey Postman Pointers - Postman best practices that improve your workflow. In this video, we're covering how to send requests in scripts using the sendRequest function in your Pre-Request Script, or Tests sections of your Postman Request. Refer to the links below for the sendRequest example in the Dev Odyssey's Public Workspace:
00:00 Introduction 02:07 First Example sendRequest 02:32 Second example sendRequest 03:00 sendRequest Options 04:08 Third Example sendRequest 05:00 PostmanSDK classes sendRequest 05:37 sendRequest Options with Classes 09:20 Reviewing the Console 11:04 Outro
The sendRequest function in Postman lets you send any http(s) request before your main Postman Request or after your Postman Request.
This function is most commonly useful for obtaining authentication tokens, such as OAuth Bearer Tokens, but has many other applications. Anytime you need to get or send data using http(s), the sendRequest function will be your best companion.
You can also codify your scripts using the Postman SDK, and in this video I go over how to do that with the sendRequest function. This is a better way to write code, because it's more legible, improves compiler performance, and explains the full set of options and features explicitly.
Learn more on how to use Postman from my other videos below.
Postman Pointers - How To Create a Dynamic Request Body in Postman youtu.be/jDbikYFHT34
Questions about this episode or Postman? Ask in the comments!
Kahakai by Scandinavianz & Lahar soundcloud.com/scandinavianz soundcloud.com/musicbylahar Creative Commons — Attribution 3.0 Unported — CC BY 3.0 Free Download / Stream: http://bit.ly/_-kahakai Music promoted by Audio Library youtu.be/6VwftxGMYJEHow to Upgrade a Router // OpenWrt (How To Guide)Dev Odyssey2021-03-12 | Welcome to Dev Odyssey Home Networking! In this episode, I go over how to upgrade your router by flashing it with OpenWrt This video has similar concepts to flashing your router with DDWRT, but the process for this router / firmware is different.
00:00 Intro 01:51 Checking OpenWrt Router Compatibility 03:01 Flash Instructions OpenWrt Firmware 03:55 nmrpflash Download 04:30 Downloading Stock Factory Image Netgear R6080 05:07 nmrpflash Instructions 07:35 Flashing Using nmrpflash 09:58 Logging Into Router using SSH 11:45 Installing LuCI 12:47 Logging into LuCI 13:22 Upgrading OpenWrt using LuCI 15:11 Reinstalling LuCI 17:17 Reverting Router Back to Stock Firmware 19:06 Verifying Factory Reset 19:36 Outro
Outline:
OpenWrt - Custom Software / Firmware For Your Router Developed By Open Source Community Benefits - Community Support, Enhanced Security Enhanced Network Capabilities
OpenWRT Doesn't Work On All Routers Flashing / Install Process Depends On Router Model and Manufacturer Flashing Concepts Remain the Same
Can Flash Router Back to Stock Firmware Will Need Stock Firmware From Manufacturer's Website
Flashing Firmware Back to Stock Will Vary Depending on Router
Process Outline:
*Preliminary* Might be easiest to disconnect from your network after getting all the necessary firmware assets to avoid IP conflicts.
1. Check if your Netgear router is compatible -openwrt.org/toh/start 2. Next, download the OpenWrt firmware thats stable for your router 3. Next, check installation method for your Netgear router 1. If can install using firmware upgrade option, that is easiest 2. If not, you may have to use a tool called nmrpflash, if instructions call for it (github.com/jclehner/nmrpflash) 1. First, get the binary from the link, and download for your platform - github.com/jclehner/nmrpflash/releases 2. Next turn on the router, (if not on) and plug in ethernet to your computer 3. Then, run the binary (nmrpflash) with “-L” to see the interface name connected to the router. You can tell by the IP address associated with your router network. (i.e for Netgear its usually 192.168.1.*) 4. Next, shut off the router. Then perform the flash using the following command: nmrpflash -i {interface_name} -f {firmware_file_name). Then turn on the router, the command prompt / terminal will wait for the router to start, and then perform the flash. Wait until it's complete. 5. Restart the router (power button or unplug / plug in) 6. Then you will need to install the WebGUI (LuCI) 1. Use the following commands: 1. Log into router using SSH: “ssh root@192.168.1.1” 2. Initialize overlay file-system (just in case its not up), and accept all prompts (y): “jffs2reset” 3. Reboot router: “reboot” 4. Log in again using command from 1 5. Install LuCI and follow prompts: “opkg update && opkg install luci” 4. To restore Netgear router to Netgear firmware, you might be able to use the WebGUI, or repeat the nmrpflash process, except, pass in the Netgear firmware file. Reboot and log into the WebGUI 6. For any bricking issues, follow guides from OpenWrt forum - openwrt.org/docs/guide-user/troubleshooting/generic.debrick
Get a discount on Ekster Products shop.ekster.com/devodyssey or discount code "DEV" at checkout! (PAID Link)
Welcome to Dev Odyssey Home Networking! In this episode, I go over how to upgrade your router by flashing it with DDWRT.
00:00 Intro 01:42 Checking DDWRT Router Compatibility 03:01 Flash Instructions DDWRT Firmware 04:18 Flash Instructions Stock Firmware 04:47 Flashing Router with Factory Image DDWRT 07:35 Upgrading Router with Mega Image DDWRT 10:37 Performing 30-30-30 Hard Reset 12:32 Reverting Router Back to Stock Firmware 13:15 Verifying Factory Reset 14:00 Outro
Outline:
DDWRT - Custom Software / Firmware For Your Router Developed By Open Source Community Benefits - Community Support, Enhanced Security and Enhanced Network Capabilities
How To Connect 2 Routers and Have The Same SSID - Make a Second Router a Wireless Access Point - youtu.be/WyUlzFO90KA What is a WAN Port on a Router? - youtu.be/2ipZVWzf600 What's In Your Router? - youtu.be/Qv-FmaFRQHEHow to Create a Dynamic Request Body // Postman PointersDev Odyssey2021-01-29 | Welcome to Dev Odyssey Postman Pointers - Postman best practices that improve your workflow. In this inaugural video, we're covering how to use, create and modify a dynamic request body. Refer to the links below for the Dynamic Request Collection in Dev Odyssey's Public Workspace:
00:00 Introduction 00:56 JSON Dynamic Request Body 01:54 JSON Pre-Request Script 03:15 XML Dynamic Request Body 03:44 XML Pre-Request Script using cheerio.js 05:15 Outro
A dynamic request body allows you to completely customize the creation of a request body, as opposed to hard coding it with raw string, as often done.
Here, you can not only modify the values of attributes, but also attributes, objects, arrays, and more. This not only applies to JSON, but can easily be done with XML, using the embedded cheerio.js library.
Using Postman Environment variables, and Pre-Request Script, this is easily accomplished.
Also, check out Postman's new UI for Postman on the Web! Get started with creating your own Postman Requests, Collections, and more, all in your web browser. go.postman.co/build 193
Learn more on how to use Postman from my other videos below.
Welcome to Dev Odyssey Home Networking! In this video, I show you how to use a second router as an access point, to increase your WiFi coverage, without having to buy a mesh WiFi router.
00:00 Introduction 00:13 Reasons To Connect A 2nd Router 00:40 Router Introductions 01:38 Bridge / Access Point Mode 01:52 Explanation Of Access Point 02:23 Configuring Secondary Router 04:51 Configuring WiFi And Security On Secondary Router 06:29 Configure Bridge / Access Point Mode On Secondary Router 07:52 Configuring Primary Router 09:04 Connecting Primary And Secondary Router On Bridge / Access Point Mode 10:16 Setting Static IP For Secondary Router In Primary Router 11:18 Verifying Primary Router Settings 12:56 Configuring Secondary Router w/o Bridge / Access Point Mode 13:26 Disabling DHCP On Secondary Router 14:51 Setting Static IP Range On Primary Router 16:07 Connecting Primary And Secondary Routers Via LAN Ports 17:09 Testing Connectivity Of Routers Via Ping 17:55 Connecting Routers With Powerline Adapters 18:50 Testing WiFi signal With SSIDer 19:27 Changing WiFi Channels For Primary Router 20:01 Outro
Optional Equipment TP Link Powerline TL-PA4010 Adapters and 2 Ethernet cables
1. Checklist - Check to see if your Secondary Router has Bridge or Access Point Mode 1. If so, we will find the setting in the admin page and enable it. It will act as an Access Point. 1. An access point emits a WiFi signal to extend your WiFi coverage. A router sets up your network to give your devices IP addresses via DHCP, acts as a firewall, allows you to port forward, and more. An access point will forward any network traffic from your personal device to your router. When AP Mode or Bridge mode is turned on, the router will automatically disable router features, and only leave on Access Point features, acting like a “bridge” to your network 2. If not, we need to manually disable a router feature, DHCP, to get it to act like an access point. This setting will be in the admin page 2. Configure The Secondary Router / Access Point 1. First disconnect everything from secondary router 1. Disconnect your computer / laptop from local network (in preparation to connect it to the second router, to avoid IP conflicts) 2. Plug in router to power and reset to default factory settings using reset button on router, or virtually via admin interface 3. Connect Ethernet cable to LAN port on router, and type in 192.168.0.1 or 192.168.1.1 into web browser. These IPs are generally default admin pages. 4. Login using default or preconfigured credentials 5. Then during initial configuration, set up SSID (WiFi Name) and password (pre-shared key / psk with same security (WPA2 Personal)) 6. If you have AP / Bridge Mode, this is the time to turn that on in your admin settings then save, router will restart. 1. If not, router settings will have to be manually disabled. On admin page, manually disable DHCP. Router will restart, then you can unplug it from the power and disconnect the Ethernet cable 3. Configure The Primary Router 1. If starting from scratch, follow the steps provided by your router to set it up, be sure make the SSID, security, and password the same as the second router / access point. 2. If your router is already set up, then just make sure the SSID, password match the second router / access point. 3. Next, go into the router admin settings, and if using Bridge / Access Point mode, set up a static IP for secondary router. If not, make sure IP range is the same as the second router and change the default assignment of device IP addresses. Here, we are going to start the default assignment of IP addresses at .10. 4. Connecting the second router, to the first router 1. Plug in both of your routers to power 2. Next connect the routers together via Secondary Router WAN port, to Primary Router LAN port. If not configured using Bridge or AP mode, connect routers with an ethernet cable via LAN ports. 3. If the routers are too far apart to be connected via a long ethernet cable, you can use Powerline adapters to connect them in different rooms, if you have them available. Refer to this article for more information. networkingguides.com/powerline-adapters-vs-wifi-extenders 5. Test WiFi signal with SSIDer
#HomeNetwork #Router #WiFiHow to Create a Virtual MachineDev Odyssey2020-11-23 | Welcome to Dev Odyssey Computing! In this video, I make the case why using a virtual machine as your daily computer is better than using your host / hardware computer itself. In addition, I cover the benefits of virtual machines, uses, drawback, requirements, and creating your own virtual machines using a free software called VirtualBox.
00:00 Introduction 00:21 What is a Virtual Machine 00:40 Benefits of Virtual Machine 02:55 Good Uses of a Virtual Machine 03:11 Bad Uses Of a Virtual Machine 03:23 Drawbacks of Virtual Machines 03:46 Virtualization Requirements 04:01 Downloading VirtualBox 04:27 Downloading Windows 10 05:39 Creating a Virtual Machine 07:18 Virtual Machine Settings 08:18 Starting Virtual Machine 10:51 Installing VirtualBox Tools 12:45 Outro
A Virtual Machine is a virtual computer; a computer run via software, like Google Chrome and Microsoft Word are both software. It's effectively a computer within a computer.
Non intensive activities such as: 1. Web based activities 2. Watching Videos 3. Editing Documents
Bad Uses of Virtual Machines
Intensive activities such as: 1. Graphics Editing 2. High Def Video Games
Drawbacks of Virtual Machines: 1. Performance (of the Virtual Machine)
Virtualization Requirements: 1. Enabled Settings in CPU / BIOS (this depends on who makes your chip and computer, but it might already be enabled by default)
Steps to Create a Virtual Machine in VirtualBox Click New - Give VM Name - VM File Location (Default) - Type: Microsoft Windows - Version: Windows 10 64 bit - Continue
- RAM: 8 GB (8192 MB) if possible, if not, then 4 GB (4096 MB) -Create Virtual Hard disk: This depends on user requirements, but go with default is a good start - Go with VirtualBox Disk Image (Only use with Virtual Box) - Dynamic allocation (better for disk usage on host machine) - Choose Size and Create
- Select VM then click settings - Storage - Storage Devices - Empty (Click) - Optical Drive (click CD image all the way to the right) - Choose disk file (find Windows ISO and Select) - Click Ok - Click Network (explain network settings, leave on NAT) (Can isolate from network , give internet access, etc) - Then Start Virtual Machine, and go through install process
Installing VirtualBox Tools on Guest VM:
- Once install is done - Devices - Insert Guest Additions CD image - Open CD image in C Drive (File Explorer), and complete install process - reboot - Make sure View - Auto-resize Guest Display is checked - enablesHow to Upload, Download, and Preview Files (PDFs) with PostmanDev Odyssey2020-11-05 | Welcome back to another episode of Advanced Postman!
In this video, we cover how to upload, download, and visualize files with Postman and Visualizer!
Today’s episode, we’re answering the question, What is Wifi.
Wifi is a technology we use everyday to easily connect our devices to the internet, anywhere we get a signal.
Refer bellow for the video summary.
* WiFi - the radio waves that connects your devices to your router and thereby the internet. * WiFi is a play on the word, High Fidelity (HiFi), where WiFi means Wireless Fidelity, though this moniker is not official. * Wireless Router - uses Wifi to broadcast your local area network (LAN) or home network, wirelessly within your home. These radio waves are used to transmit data, in binary format, from your devices to the router. * Wifi is defined by IEEE (Institute of Electrical and Electronics Engineers) under the versioning of 802.11 family. Wifi development overseen by a group called the WiFi Alliance. * Most popular version for WiFi is WiFi 5 (802.11ac) but recently WiFi 6 (802.11ax) was released as of February 2019.
* WiFi is broadcasted in 2.4 Ghz and 5 GHz bands. * Hertz is a unit of measure for a cycle, one radio wave per second * Hertz describes the size and speed of radio waves * 2.4 GHz - longer and slower waves - farther reaching WiFi network, but slower internet speeds * 5 GHz - smaller and faster waves - shorter reaching WiFi network, but faster internet speeds * 2.4 GHz waves have more interference with devices in your home (microwave, other electronics), resulting in dropped connections, and unreliable internet speeds * Each WiFi band has channels * 2.4 GHz has 11 channels * 5 GHz has 23 channels * Channels help increase reliability of your connection, using different channels that other devices are not on increases your reliability * Walls, doors, and other objects in your house create “dead spots” in your home, where you can’t get internet access. This also is why the farther you’re from your router, the harder it is to get a good connection * Mesh WiFi resolves dead spots in your home, and increases the coverage of your WiFi Network * This is done by adding addition “nodes” that connect to the main node * Each node emits more WiFi radio waves, resulting in increased coverage * WiFi 5 is most most commonly secured by WiFi Protected Access 2 or WPA2 security protocol * WPA2 works by using the WiFi password also called the PreShared Key (PSK) to encrypt your Wifi Network * This process creates a 4 way handshake between device and router * First a Pairwise Master Key (PMK) is created from the PSK and WiFi name SSID (or Set Service ID) * Then a Pairwise Transient Key (PTK) or session key is created. * This is then used to encrypt the connection between device and router. * This ensures each device has its own unique encrypted connection, that other devices on the network can’t read * Wifi 6 (802.11ax) is the new improved version from Wifi 5 * WiFi 6 max speeds are 9.6 Gb/s, up from 3.5 Gb/s in Wifi 5 * This enables faster speeds for all devices on the network, not just a single device * Multi User Multiple Input Multiple Output (MU-MIMO) supports up to 8 devices, an increase of 4 * This lets the router talk to 8 devices at once, instead of one by one, and therefore more consistent fast speeds for all devices * Compared to having more waiters at a restaurant * Orthogonal Frequency Division Multiple Access (OFDMA) means one signal transmission from the router delivers data to multiple devices * Compared to having waiters clean more tables before returning to the kitchen * Target Wait Time schedules device check ins with the router * This improves battery for Internet of Things (IoT) devices, like smart smoke detectors. * Easy Connect QR * Easily connect IoT devices to the network by scanning a QR code via an accompanied mobile app * To use these features in full, your devices and router both need to support Wifi 6 * Wifi 6 uses an update to WPA2, called WPA3 * WPA3 protects you from offline password attacks, where someone can steal wifi data, and try to guess the password against that encrypted data * WPA3 uses forward secrecy * WiFi data is re-encrypted every few minutes using a new encryption key. This means if an encryption key was compromised or stolen, the only data that can be decrypted is a few minutes worth, as opposed to all the data over the WiFi networkLearning GraphQL With PostmanDev Odyssey2020-08-14 | Welcome to Advanced Postman with DevOdyssey! Today’s episode is Learning GraphQL with Postman.
This episode covers the fundamentals of GraphQL, importing GraphQL Schema in Postman as an API, and how to execute GraphQL requests in Postman. Postman’s GraphQL client is more powerful than your standard GraphQL client, given it integrates with all features of regular requests in Postman, making testing and implementing your GraphQL API a breeze.
Here are the show notes so you can follow along.
GraphQL - Graph Query Language DevOdyssey’s Definition - An API protocol or paradigm that focuses on comprehensive data retrieval via a query syntax, similar to that of Structured Query Language (SQL) for querying databases.
GraphQL has two basic operations: query and mutation Query - Read data (pulling data) Mutation - create, update, delete data (changing data)
Queries and mutations are done via the request body, use JSON syntax, and generally are executed with POST request.
Queries and mutations are defined by a GraphQL Schema, where you define your variables, functions and objects. They can be of standard primitive types (string, number, etc) or custom types (objects, elements, etc).
Video Example: SpaceX.land GraphQL A community curated api of SpaceX data from Reddit, and not SpaceX official.
*Refer to the Postman Collection below to see the queries used in this video*
Authentication is not within the scope of GraphQL - Protected via other standards and protocols, such as OAuth 2.0, Basic Authentication, etc.
GraphQL has a variables section that allows you to use parameterize your GraphQL queries and mutations for simplicity of use.
GraphQL sends response data wrapped in a "data" object.
GraphQL uses "$" notation for referencing variables.
GraphQL requires explicit definition of object attributes. If not defined, the query will result in a syntax error.
The "query" command can be omitted at the beginning of a new query when not using variables.
The "mutation" command requires a server defined function and a "returning" object, that tells the GraphQL server what information to return.
GraphQL vs. REST
Rest is Resource Based REST returns full object returned with all attributes, could be filtered with query parameters if implemented by developer GraphQL uses one endpoint; REST uses multiple endpoints / urls
GraphQL vs. SOAP
SOAP is XML based GraphQL is JSON based SOAP uses SOAP Messages, SOAP Headers etc, GraphQL has no equivalent.
GraphQL Pros & Cons
Reduce response size Decrease Client Processing / Filtering More Efficient Data at Retrieval, But uses Larger Request Size
This episode answers the question "What is a WAN Port" and explains how it's a foundational piece to how we use the internet everyday. It explains how our devices utilize the WAN port, and other functionality, to go to websites and other web services on our behalf, so we can enjoy everything the internet has to offer.
Refer to the show notes below for a video summary.
00:00 Introduction 00:12 Explaining a WAN Port 01:13 Diagram on WAN vs LAN 02:35 WAN Port Uses
Wide Area Network (WAN) Port - the port on your router, that connects to your modem with an ethernet cable.
Local Area Network (LAN) Port - the port on your router that connects you to the home network.
WAN is not Wireless Area Network, thats WLAN (Wireless Local Area Network) and not a common term.
WAN is the public side of the internet, its assigned a public IP Address. LAN is the local side of the internet (home network), and assigned a private IP Addresses, one per device on the network.
A router works by intercepting requests from the devices on the LAN, transforming the private IP address to a public one, and then going out to the internet (websites or web servers). Then this process works in reverse when going back to your device; The website or web server sends the request back to the router via the public IP, the router transforms the public IP back to a private IP, and forwards the information back to the device that made the request. This process is called Network Address Translation
WAN port is only used to connect to the internet, and not to connect to another router. To increase the size of your LAN and your WiFi network, you can connect them via LAN ports. This requires special configuration, refer to the video and article here:
This episode covers the basics of home networking, including what your home router and modem do to get your devices access to the internet. With our sample Linksys/Cisco E1200 router, you will see what list of services are packed into that tiny router you have at home.
With all the services that go into your home router and modem, its nothing short of excellent electrical and computer science engineering that get your systems access to the world wide web. In addition, you will see some of the possibilities that allow you to control your network at the lowest levels, that will enhance your security during these uncertain times with internet usage at its highest.
Refer to the show notes below for a video summary.
Your Router:
Makes / Defines a home network, usually with IP Range of 192.168.1.1/24. Can also be anything in range of 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16, tools.ietf.org/html/rfc1918 The Home network is like a neighborhood, this creates your neighborhood.
Does Network Address Translation (NAT). Maps your Public IP Address to your Internal Network. This Public IP is what identifies you to the Internet. NAT is like the main road that leads into your neighborhood.
Subnet Mask: Defines size of network, can also be written in short hand “CIDR” notation (Classless Inter-Domain Routing). This defines the size of your neighborhood.
Default Gateway: The standard way you get to the Internet. This is like the Entrance to the neighborhood (If its gated, this makes more sense).
DHCP (Dynamic Host Configuration Protocol): Gives your devices IP Addresses, and Manages them. This is like the Post Office, that assigns an Address to your house.
Firewall: This Allows, Drops or Blocks Traffic to and from the Internet: They are like the traffic light at the entrance of your neighborhood. Executed via Rules. Rule order is extremely important.
TCP/UDP: (Transmission Control Protocol / User Datagram Protocol): These are the way data is structured, in packets, that leaves your devices and goes out into the network. TCP requires a handshake, and acknowledgement that data was received. UDP does not require acknowledgement This is like letters or packages being sent throughout a neighborhood.
Port Forwarding: They direct traffic and tell anyone coming into your network where to go They are like the Neighborhood Directory (Like a phone book?), saying where you should go, based on where you’re headed, when you reach the neighborhood.
Deploys Wifi: Wireless signals that allow devices to communicate over radio frequencies onto a TCP/IP Network. This is another way to connect to a network, giving you freedom and mobility.
MAC Address Filter: Filters out devices based on their MAC Address. Not considered to improve security, since MAC Address can be spoofed.
For more insight into router and network security, at a high level, take a look at the videos below!
Questions about this episode, Home Networking or Network Security? Ask in the comments!Web Scraping with PostmanDev Odyssey2020-02-17 | Welcome to Web Scraping with Postman
This episode covers using web scraping to effectively extract data using cheerio.js and display it using Postman Visualizer, a powerful, built in, HTML, CSS, and Javascript renderer. With our sample site, remoteok.io, we can extract remote job posting information, and display it in Visualizer.
With the use of cheerio.js, you can scrape static html pages, and use the data for many things, such as monitoring (e-commerce, finance), data science, and even creating your own APIs!
Questions about this episode or Postman? Ask in the comments!How to Filter Data with PostmanDev Odyssey2019-12-21 | Welcome to Data Filtering with Postman!
This episode covers using xpath and jsonpath to effectively filter data in Postman Visualizer, a powerful, built in, HTML, CSS, and Javascript renderer.
These visualizer templates assist you in filtering data using the xpath and jsonpath syntax, to parse elements, obtain data, and dynamically manipulate values.
Quick shoutout to Danny Dainton for the inspiration. Follow him on twitter @DannyDainton twitter.com/dannydainton
Questions about this episode or Postman? Ask in the comments!How to Secure Your Router - What You Should DoDev Odyssey2019-12-20 | Welcome to Dev Odyssey Network Security!
With data privacy at its utmost concern to date, this video gives you an idea on how a consumer grade wireless network is have improved their security. This video is the sequel to “Your Router Is Not Secure”, meant highlight the new features of modern day routers, to contrast the pitfalls of these routers, and explain why yours should be up to date.
Below, are the notes and reasons covered in the video:
1. WPA2 Personal Wireless Security - Has Not Been Cracked - However can be brute forced - Its why you need a complex password - WPA3 approved and coming out soon
2. Parental Controls
- Per Device Controls - Specific Website Blocks - Pause Internet / Schedule - Web Filtering / Proxy (Paid feature, provided by 3rd party vendor) - Should integrate with Open Source block lists
- Based On Mac Address/IP address Combo - Mac Address Spoofable - Bypass Controls - IP Address - Request New IP Lease - Bypass Controls - Improve - Make Web Filtering / Blocking on the whole network
3. Guest Network
- A form of Network Segmentation - Only works if routing tables is correct (does not route outside of guest network to production/personal network) - Example: Guest Network (192.168.3.1/24) does not allow traffic outside of that network range
4. Automatic Updates
- Should quickly resolve any potential vulnerabilities the firmware may have - Provide new features and functionality - On by default or given option - Should always leave on
*Bonus* 5. Motion Detection (Physical Security) - Based on signal between nodes - Paid features (Linksys Aware) - Schedule time for detection and send notification
- Drawbacks - Can’t saw where motion happened in house - No Integrations with other security products
- Wouldn’t recommend until improved - Still a cool new use of mesh technology
Other Security Benefits - Different (Direct) Connection Types (ex. Bridge Mode) - Use as Access Point
- Bandwidth Prioritization - Great for Streaming TV, Music
Questions about this episode or Network Security? Ask in the comments!How to Secure your Router - What Not To DoDev Odyssey2019-12-05 | Welcome to Dev Odyssey Network Security!
With data privacy at its utmost concern to date, this video gives you an idea on how a consumer grade wireless network is not secure, and potentially your personal information. This video is meant to educate, so that you can make informed decisions with your networks and home, and even start to learn how to remediate security gaps.
Below, are the notes and reasons covered in the video:
1. Minimal Firewall Capabilities - All inbound blocked - All outbound allowed - Some inbound in (port forward) * Lack of outbound controls means anyone can visit a bad site * Akin to opening the door to a someone looking to steal from your home
2. Flat Network - Standard Network is 192.168.1.1 to 192.168.1.255 * Bad because every device can talk to each other with no controls * Akin to renting the basement to a tenant, and letting them roam the whole house
3. Default Passwords - Standard password combinations are well known, like admin/admin * Bad because anyone you let on your network, can get access to your network interface, and control your router, therefore your whole network and possibly devices on it
4. Wireless Security - Standard Wireless Security (WEP, WPA, WPA2 Personal) - WEP is broken, shouldn't be found on most routers - WPA is broken, still can be found on most routers - Can find WPA/WPA2 combination * Bad because someone can force to attempt a WPA connection for a "older device", and begin to deploy a crack to break the password, and then get on the network.
5. Default Vulnerabilities - Many services constitute a router, to name a few, DHCP, DNS, NAT, etc - These services can be vulnerable when first creating your network * Bad because not everyone updates their routers, let alone, some routers may not even provide updates to fix these issues + Always stay up to date with the latest firmware
*Bonus* 6. Admin Console Settings (lack thereof) - Newer Routers now promote Access via Phone App, via the internet - May still support local access, but can be less configurable than Phone App * Bad because there is no control over only administering the network locally, instead internet option is left open, which can possibly become vulnerable and compromised