{"id":45286,"date":"2021-06-11T17:05:19","date_gmt":"2021-06-11T09:05:19","guid":{"rendered":"\/blog\/?p=45286"},"modified":"2022-09-06T19:40:01","modified_gmt":"2022-09-06T11:40:01","slug":"how-to-build-a-raspberry-pi-router-step-by-step-tutorial","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/","title":{"rendered":"How to Build a Raspberry Pi Router &#8211; Step by Step Tutorial"},"content":{"rendered":"\n<p>Whether it\u2019s watching a video, sending an email, or simply surfing the web, all our interactions with the Internet are fundamentally data exchanges that go back and forth. To facilitate these exchanges, routers play an indispensable role in, well, routing data. In this article, I\u2019m going to share exactly why you should consider building a custom Raspberry Pi Router &#8211; and more importantly, how!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1030\" height=\"674\" src=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/08\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_16599416314917-1030x674.png\" alt=\"\" class=\"wp-image-69339\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/08\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_16599416314917-1030x674.png 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/08\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_16599416314917-300x196.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/08\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_16599416314917-768x503.png 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/08\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_16599416314917-1024x670.png 1024w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/08\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_16599416314917.png 1260w\" sizes=\"(max-width: 1030px) 100vw, 1030px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is a Router?<\/strong><\/h2>\n\n\n\n<p><strong>A router is a piece of hardware that connects a Local Area Network (LAN) to other networks.<\/strong> In most cases, this \u201cother network\u201d is known as a Wide Area Network (WAN), or none other than the Internet.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/P3GYykLB8VzMKMF0UhojmzqTj3IFYmX21tbpkPaOaetnkChYAacL1jT9PH9s1SOP1aoH0W0yYKPB3tYzHTEDQeo1n4Er4zXKCysD5rKRGFUNK0MubRUPC4GcAHQ7HH_IejueAl8R\" alt=\"\" width=\"700\"\/><\/figure><\/div>\n\n\n\n<p>A router\u2019s purpose is to serve as the bridge between the two networks, which is done by forwarding data packets that need to be transmitted \u201cacross borders\u201d. To achieve this, devices are connected to the router either through a network cable like ethernet or over a wireless connection like WiFi, As a result, local devices not only gain access to the Internet but can also communicate with each other through the router &#8211; hence the term \u201cLocal Network\u201d.<\/p>\n\n\n\n<p>A router is very much the \u201cadministrator\u201d of this local network and plays an important role in managing connected devices. For instance, it is responsible for assigning IP addresses to incoming connection requests, typically through DHCP (Dynamic Host Configuration Protocol). Thus, each device can be identified and managed individually.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>Can a router run an OS?<\/strong><\/strong><\/h2>\n\n\n\n<p>If I ask you whether the router provided by your ISP (Internet Service Provider) can run an OS (Operating System), your answer would probably be &#8220;NO&#8221;. This is because the primary role of traditional routers at home is simply to coordinate connections and forward data to Ethernet-connected devices or WiFi-connected devices. For this purpose, you do not need to run any OS on the router or have a router with good hardware.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"620\" height=\"370\" src=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/wi-fi-router.jpg\" alt=\"\" class=\"wp-image-71189\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/wi-fi-router.jpg 620w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/wi-fi-router-300x179.jpg 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/figure><\/div>\n\n\n\n<p>But, can a router run an OS? Well..there are some special routers in the market with the ability to install an OS on them. These routers are different from traditional routers in hardware because these routers equip a CPU, RAM, and sometimes internal storage. I will talk further about these routers later in this blog.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What kind of OS a router can run?<\/strong><\/h2>\n\n\n\n<p>So what kind of OS can these special routers run? Windows, Mac? Of course not. A router does not need to run this kind of heavy OS because it would not make sense. So, there are some special operating systems that are specifically designed to run on this type of router, and most are Linux-based. These operating systems are much lightweight allowing them to be run on low-end CPUs and low RAM available on these routers. Also, most of these operating systems are open-source, which means you do not need to pay extra to have access to them.<\/p>\n\n\n\n<p>Some of the most common router operating systems are:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/openwrt.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">OpenWrt<\/a><\/li><li><a href=\"https:\/\/www.pfsense.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">pfSense<\/a><\/li><li><a href=\"https:\/\/dd-wrt.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">DDWRT<\/a><\/li><li><a href=\"https:\/\/opnsense.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">OPNSense<\/a><\/li><li><a href=\"https:\/\/www.clearos.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">ClearOS<\/a><\/li><li><a href=\"https:\/\/www.ipfire.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">IPFire<\/a><\/li><\/ul>\n\n\n\n<p>If you want to learn in-depth about these router OS, you can visit\u00a0<a href=\"https:\/\/www.seeedstudio.com\/blog\/2020\/06\/11\/run-different-firewall-os-on-odyssey-x86j4105-pfsense-opnsense-ipfire-clearos-and-endian-firewall\">this blog<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What benefits do you get from running an OS on a router?<\/strong><\/h2>\n\n\n\n<p>There are a number of advantages of using a router with an OS when compared with a traditional router. To list the benefits, I will take OpenWrt OS as an example.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/openwrt-logo-1030x272.png\" alt=\"\" class=\"wp-image-71186\" width=\"609\" height=\"160\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/openwrt-logo-1030x272.png 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/openwrt-logo-300x79.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/openwrt-logo-768x203.png 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/openwrt-logo-1536x405.png 1536w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/openwrt-logo-2048x541.png 2048w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/openwrt-logo-1024x270.png 1024w\" sizes=\"(max-width: 609px) 100vw, 609px\" \/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"free\"><strong>Free<\/strong><\/h3>\n\n\n\n<p>Firstly, OpenWrt is free for you to use and download! There are no subscription or licensing fees.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"security\"><strong>Security<\/strong><\/h3>\n\n\n\n<p>When setting up a router, security is always a big concern. With OpenWrt configurations, they are conservative which allows for full internet connectivity without exposing your router or connected devices to cyber attacks. OpenWrt&#8217;s resistance to common vulnerabilities also contributes to its security as its Linux OS is unaffected by many common attacks. Furthermore, OpenWrt is actively updated so any vulnerabilities are closed shortly after they are discovered.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"performance\"><strong>Performance<\/strong><\/h3>\n\n\n\n<p>Designed by network professionals, OpenWrt reduces latency\/lag and increased network throughput via its buffer bloat control algorithms. In addition, OpenWrt has Wi-Fi improvements that support higher data rates and airtime fairness between stations which allows you to transmit data faster.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"extensibility\"><strong>Extensibility<\/strong><\/h3>\n\n\n\n<p>When you use other firmware for a router, it often comes with a fixed set of capabilities. On the other hand, OpenWRT provides more than\u00a0<a href=\"https:\/\/openwrt.org\/packages\/start\">3000 packages<\/a>\u00a0ready to be installed. Here are some examples of what OpenWRT can do:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Increase overall network performance when multiple devices are connected<\/li><li>Run\u00a0<a href=\"https:\/\/openwrt.org\/docs\/guide-user\/services\/ad-blocking\">ad-blocking<\/a>\u00a0on your router so you can enjoy clean uncluttered web experience from any connected device<\/li><li>Reduce latency\/lag (bufferbloat) even during heavy traffic with\u00a0<a href=\"https:\/\/openwrt.org\/docs\/guide-user\/network\/traffic-shaping\/sqm\">Smart Queue Management<\/a><\/li><li>Secure access to your home network when away with\u00a0<a href=\"https:\/\/openwrt.org\/docs\/guide-user\/services\/vpn\/openvpn\/basic\">OpenVPN<\/a>\u00a0or\u00a0<a href=\"https:\/\/openwrt.org\/docs\/guide-user\/services\/vpn\/wireguard\/basic\">WireGuard<\/a>\u00a0server<\/li><li>Secure your internet access and prevent your\u00a0ISP\u00a0from snooping on your internet activity with\u00a0<a href=\"https:\/\/openwrt.org\/docs\/guide-user\/services\/vpn\/openvpn\/client\">OpenVPN<\/a>\u00a0or\u00a0<a href=\"https:\/\/openwrt.org\/docs\/guide-user\/services\/vpn\/wireguard\/client\">WireGuard<\/a>\u00a0client<\/li><li>Prevent your\u00a0ISP\u00a0from spoofing and snooping on your\u00a0DNS\u00a0requests with\u00a0<a href=\"https:\/\/openwrt.org\/docs\/guide-user\/services\/dns\/start#encryption\">DNS encryption<\/a>.<\/li><li><span style=\"color: initial;\">Share files between devices via an external storage drive connected directly to the router<\/span><\/li><li>Run a BitTorrent client from the router<\/li><li>Connect a printer directly to the router to create a networked printer<\/li><li>Limit bandwidth usage of a particular device in the network<\/li><li>Real-time network monitoring<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"support\"><strong>Support<\/strong><\/h3>\n\n\n\n<p>With OpenWrt&#8217;s vibrant community of developers, volunteers, and other long-time OpenWrt users, if you run into any problems, you can always find them for help to solve your issue in no time. Here are the platforms where you can find help:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/forum.openwrt.org\/\">OpenWrt Forum<\/a>\u00a0\u2013 member-to-member conversations about OpenWrt<\/li><li><a href=\"https:\/\/lists.infradead.org\/mailman\/listinfo\/openwrt-devel\">OpenWrt Developer<\/a>\u00a0and\u00a0<a href=\"https:\/\/lists.infradead.org\/mailman\/listinfo\/openwrt-adm\">OpenWrt Admin<\/a>\u00a0mailing lists<\/li><li><a href=\"https:\/\/webchat.freenode.net\/\">#lede-dev<\/a>\u00a0and\u00a0<a href=\"https:\/\/webchat.freenode.net\/\">#lede-adm<\/a>\u00a0on\u00a0IRC<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"control\"><strong>Control<\/strong><\/h3>\n\n\n\n<p>As OpenWrt is a true Linux-based system, you will have full control over all functions of your router and device. OpenWrt comes with a command-line interface (via SSH) and a web-based user interface for configuration. Information is also stored in plain-text files for easy editing and copying. OpenWrt Image Generator allows you to create your own firmware images for your device with any customizations (pre-defined password, WiFi, etc). In addition, its LuCI WebUI allows you to select themes that suit your needs\/tastes. Not to mention, it comes in over 20 languages! By the way, you can also control the external LEDs and buttons\/switches to fit your project needs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Is a router with an OS really worth it?<\/strong><\/h2>\n\n\n\n<p>Someone would argue that it is pointless to buy a router with an OS such as OpenWrt because these routers are very expensive when compared with traditional routers. That is true. For example, if you look at <a href=\"https:\/\/www.amazon.com\/Linksys-Dual-Band-Wireless-Tri-Stream-WRT3200ACM\/dp\/B014MIBLSA\/ref=sr_1_13?keywords=OpenWrt%2BRouter&amp;qid=1662445180&amp;sr=8-13&amp;th=1\" target=\"_blank\" rel=\"noreferrer noopener\">Linksys WRT3200ACM router<\/a> which supports OpenWRT OS, it costs nearly $200.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/1662458304776-1.png\" alt=\"\" class=\"wp-image-71159\" width=\"381\" height=\"267\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/1662458304776-1.png 987w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/1662458304776-1-300x211.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/1662458304776-1-768x540.png 768w\" sizes=\"(max-width: 381px) 100vw, 381px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Can you DIY a router with OpenWrt using a Raspberry Pi?<\/strong><\/h2>\n\n\n\n<p>If you want to cut down the costs of an OpenWrt-enabled router, the best option would be to DIY one. For this purpose,\u00a0<a href=\"https:\/\/www.seeedstudio.com\/Raspberry-Pi-4-Computer-Model-B-4GB-p-4077.html\">Raspberry Pi 4<\/a>\u00a0is a good candidate because it can provide enough hardware resources and processing power to use as an OpenWrt router.<\/p>\n\n\n\n<p>You can find many guides on<strong> how to build a Raspberry Pi OpenWRT router<\/strong> if you search on Google. So is that it? Do we stop the blog here? Of course not.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"806\" src=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/1662462689409-1030x806.png\" alt=\"\" class=\"wp-image-71209\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/1662462689409-1030x806.png 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/1662462689409-300x235.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/1662462689409-768x601.png 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/1662462689409-1024x801.png 1024w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/1662462689409.png 1167w\" sizes=\"(max-width: 1030px) 100vw, 1030px\" \/><\/figure>\n\n\n\n<p>When I tried to follow these guides to configure OpenWRT with a Raspberry Pi 4, I faced a number of challenges.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/399904.jpg\" alt=\"\" class=\"wp-image-71198\" width=\"337\" height=\"378\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/399904.jpg 654w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/399904-267x300.jpg 267w\" sizes=\"(max-width: 337px) 100vw, 337px\" \/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"ethernet-port-limitation-on-raspberry-pi-4\"><strong>Ethernet port limitation on Raspberry Pi 4<\/strong><\/h3>\n\n\n\n<p>First of all, Raspberry Pi 4 only comes with 1 Gigabit Ethernet connector on board. This means if you want to connect your DIY Raspberry Pi 4 router to a switch and pass the network traffic to other devices via Ethernet, you will have to add another Ethernet port to your Raspberry Pi 4 by using a USB to Ethernet adapter. Even if you find an Ethernet adapter, you need to find the proper drivers that will be supported by the OpenWrt system. Not all USB to Ethernet adapters will work.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"troublesome-initial-openwrt-configuration\"><strong>Troublesome initial OpenWrt configuration<\/strong><\/h3>\n\n\n\n<p>After flashing OpenWrt image to an SD card you will have to do a number of configurations to get your DIY router up and running. First of all, you will have to connect the Raspberry Pi 4 to a PC via an Ethernet cable and configure LAN and WAN ports. Also, you will have to configure the firewall settings.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"limited-packages-out-of-the-box\"><strong>Limited packages out-of-the-box<\/strong><\/h3>\n\n\n\n<p>Even after finishing all the setting up and getting into the OpenWrt web UI, the packages that come with the base system will be very limited. You will have to manually install most of the packages that you need based on your application.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"overheat-issue\"><strong>Overheat issues<\/strong><\/h3>\n\n\n\n<p>When running OpenWrt on a bare Raspberry Pi 4, the CPU tends to overheat dramatically with all the processing. So to avoid that, you will have to either add a heat sink, fan, or a case that comes with a heatsink\/ fan to bring the temperatures down. Otherwise, when it overheats, the system performance dramatically decreases.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"sd-card-corrupt-issues\"><strong>SD card corrupt issues<\/strong><\/h3>\n\n\n\n<p>Since Raspberry Pi 4&#8217;s are normally booted with an sd card, the probability that the sd card gets corrupted is very high. This is because SD cards are not able to handle a large number of writes. To overcome this issue, you can boot using a USB flash drive.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Let&#8217;s DIY a router with minimum effort using Seeed Mini Router<\/strong><\/h2>\n\n\n\n<p>As we discussed before, we can definitely build a DIY router using a Raspberry Pi 4 but with some challenges. Even though we can overcome these challenges by tinkering around, wouldn&#8217;t it be better if we had a system that has a smooth overall out-of-the-box experience? Well&#8230;Meet the Seeed Mini Router.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Dual Gigabit Ethernet Carrier Board for Raspberry Pi Compute Module 4\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/21j9M6pvtsQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Seeed Mini Router consists of a Raspberry Pi Compute Module 4 as the brains, with a carrier board to extend many different I\/O interfaces.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/10\/image-19.png\" alt=\"\" class=\"wp-image-53870\" width=\"584\" height=\"339\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/10\/image-19.png 735w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/10\/image-19-300x175.png 300w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/figure><\/div>\n\n\n\n<p>So first of all, I will talk about how the Seeed Mini Router overcomes the challenges I mentioned earlier.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/challenge-clipart-29-1030x452.jpg\" alt=\"\" class=\"wp-image-71202\" width=\"614\" height=\"269\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/challenge-clipart-29-1030x452.jpg 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/challenge-clipart-29-300x132.jpg 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/challenge-clipart-29-768x337.jpg 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/challenge-clipart-29-1024x449.jpg 1024w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/challenge-clipart-29.jpg 1140w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"dual-gigabit-ethernet-ports\"><strong>Dual Gigabit Ethernet ports<\/strong><\/h3>\n\n\n\n<p>Unlike a traditional Raspberry Pi 4, the Seeed Mini Router comes with 2 Gigabit Ethernet ports, which means you will easily be able to connect the LAN interface to another switch to extend the router functionality. One Ethernet Port is connected to the Gigabit Ethernet PHY of the CM4 module which is based on Broadcom BCM54210PE. On the other hand, the other Gigabit Ethernet Port is connected to Microchip&#8217;s LAN7800 which is a USB 3.0 to GbE (Gigabit Ethernet Bridge). The USB 3.0 interface here is extended from the PCIe interface of the CM4 Module. Also, both ports can support speeds up to 1Gbps.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/files.seeedstudio.com\/products\/110110110\/ports.png\" alt=\"\" width=\"598\" height=\"328\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"trouble-free-initial-openwrt-configuration\"><strong>Trouble-free initial OpenWrt configuration<\/strong><\/h3>\n\n\n\n<p>When you buy the Seeed Mini Router, you will find that a custom OpenWRT built by Seeed comes pre-installed with the board. This means you do not even need to flash anything to the board. You do not need to configure LAN, WAN ports, and firewall settings. They all come preconfigured.\u00a0<strong>So after you open the box, you simply need to make the necessary Ethernet connections, open the Web UI at 192.168.2.1 on the PC and you will be good to go!<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/files.seeedstudio.com\/wiki\/OpenWrt\/cm4-ports-2.png\" alt=\"\" width=\"707\" height=\"334\"\/><\/figure><\/div>\n\n\n\n<p>However, here is an explanation of how the 2 ports are configured.<\/p>\n\n\n\n<p>One port is configured as a LAN interface and the other as a WAN interface. The WAN interface is the one that can be connected to the internet and it is configured as a DHCP client. On the other hand, the LAN interface is the one that can be connected to the client devices and it is configured as a DHCP server.<\/p>\n\n\n\n<p>Here the LAN interface is configured so that it has a static IP address of 192.168.2.1. However, if you connect this OpenWrt router to another router with the default gateway IP of 192.168.2.1, you might want to change the IP address on the LAN interface or else, OpenWrt will have an IP conflict. Please follow the\u00a0<a href=\"https:\/\/wiki.seeedstudio.com\/OpenWrt-Getting-Started\/#q1-what-if-i-connect-the-openwrt-router-to-my-existing-router-which-has-a-default-gateway-ip-of-19216821\">FAQ<\/a>\u00a0to learn more!<\/p>\n\n\n\n<p>Also, we are actively maintaining this OpenWrt build&nbsp;<a href=\"https:\/\/github.com\/Seeed-Studio\/seeed-linux-openwrt\">on GitHub<\/a>&nbsp;and you can flash the new builds as they are rolled out by flashing the onboard eMMC<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"pre-installed-packages-out-of-the-box\"><strong>Pre-installed packages out-of-the-box<\/strong><\/h3>\n\n\n\n<p>The OpenWrt system that comes out-of-the-box with the Mini Router board includes a number of packages already pre-installed such as <strong>NAS, VPN, File Server, Printer Server, Media Server, qBittorent server, and much more<\/strong>. So you will easily be able to experiment and deploy your favorite application on the board.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"655\" src=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/68747470733a2f2f66696c65732e736565656473747564696f2e636f6d2f70726f64756374732f3131303131303131302f4f70656e7772742d73657276696365732e706e67-1030x655.png\" alt=\"\" class=\"wp-image-71174\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/68747470733a2f2f66696c65732e736565656473747564696f2e636f6d2f70726f64756374732f3131303131303131302f4f70656e7772742d73657276696365732e706e67-1030x655.png 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/68747470733a2f2f66696c65732e736565656473747564696f2e636f6d2f70726f64756374732f3131303131303131302f4f70656e7772742d73657276696365732e706e67-300x191.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/68747470733a2f2f66696c65732e736565656473747564696f2e636f6d2f70726f64756374732f3131303131303131302f4f70656e7772742d73657276696365732e706e67-768x488.png 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/68747470733a2f2f66696c65732e736565656473747564696f2e636f6d2f70726f64756374732f3131303131303131302f4f70656e7772742d73657276696365732e706e67-1024x651.png 1024w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/68747470733a2f2f66696c65732e736565656473747564696f2e636f6d2f70726f64756374732f3131303131303131302f4f70656e7772742d73657276696365732e706e67.png 1169w\" sizes=\"(max-width: 1030px) 100vw, 1030px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"built-in-heat-sink-case\"><strong>Built-in heat sink case<\/strong><\/h3>\n\n\n\n<p>When running OpenWrt for long hours, the CPU tends to get very hot and reduces system performance. To overcome this, the Mini Router board comes with a nice enclosure having an Aluminum alloy on top which acts as a large heatsink.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"built-in-emmc-storage\"><strong>Built-in eMMC storage<\/strong><\/h3>\n\n\n\n<p>Since the Mini Router board comes with the Raspberry Pi Compute Module 4 with a built-in 32GB eMMC, you will not have to worry about system corruption issues anymore. Because the eMMC is much more durable and stable to handle writes than a traditional SD card.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"additional-io\"><strong>Additional I\/O<\/strong><\/h3>\n\n\n\n<p>Apart from the Dual Gigabit Ethernet ports as the IO, Seeed Mini Router features a variety of I\/O peripherals such as MIPI CSI, MIPI DSI, micro-HDMI to connect displays\/ cameras, a standard 9-pin USB 3.0 header for more USB expansion, a micro-SD card slot, and an FPC connector.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"enter-openwrt-on-seeed-mini-router\"><strong>Enter OpenWRT on Seeed Mini Router<\/strong><\/h3>\n\n\n\n<p>As explained before, power on the Mini Router, make the necessary connections and visit <strong>192.168.2.1<\/strong> on your PC to view this page<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"684\" src=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/Luci-1030x684.png\" alt=\"\" class=\"wp-image-71162\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/Luci-1030x684.png 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/Luci-300x199.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/Luci-768x510.png 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/Luci-1536x1020.png 1536w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/Luci-1024x680.png 1024w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2022\/09\/Luci.png 1784w\" sizes=\"(max-width: 1030px) 100vw, 1030px\" \/><\/figure>\n\n\n\n<p>Congratulations, you have now set up your very own Raspberry Pi router! <\/p>\n\n\n\n<p>If you want to learn more about using OpenWrt with the Seeed Mini Router, please check our wiki guide <a href=\"https:\/\/wiki.seeedstudio.com\/OpenWrt-Getting-Started\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>OpenWrt Router Applications to Inspire<\/strong><\/h2>\n\n\n\n<p>Here are some of the things that you can do after setting up OpenWrt on a Seeed Mini Router<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Block Ads using Adguard Home<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"OpenWRT - Install AdGuard Home and Overview\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/yMcM40ipDlQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Configure a VPN Server and a Client<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"OpenWRT - Configure OpenVPN Server\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/P8JZnmXlzBw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"OpenWRT - Configure OpenVPN Client\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/WRWZmcKejhg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Plex Media Server for your home media library<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Seeed OpenWrt on X86 and CM4 | Watch Black Widow Using Plex Media Server on Docker\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/QDIMVZ4O-Eg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Summary &amp; More Resources<\/strong><\/h2>\n\n\n\n<p>Routers, while important to the way we experience the internet and transmit information, have now largely been taken for granted. Today, I hope that I have given you the reasons and steps to improve your local network with a brand new Raspberry Pi router, which will boost your internet speeds, improve security and let you take advantage of additional features!<\/p>\n\n\n\n<p>To learn more about routers and embedded computing, be sure to read the following articles!<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.seeedstudio.com\/blog\/2021\/01\/22\/openwrt-for-routers\/https:\/\/www.seeedstudio.com\/blog\/2021\/01\/22\/openwrt-for-routers\/https:\/\/www.seeedstudio.com\/blog\/2021\/01\/22\/openwrt-for-routers\/\">OpenWrt for Routers! &#8211; Why &amp; How to Get Started<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/blog\/2021\/05\/14\/building-edge-gpu-clusters-edge-computing-guide\/\">Building Edge GPU Clusters \u2013 Edge Computing Guide<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/blog\/2021\/04\/02\/edge-ai-what-is-it-and-what-can-it-do-for-edge-iot\/\">Edge AI \u2013 What is it and What can it do for Edge IoT?<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/blog\/2021\/05\/11\/how-machine-learning-has-transformed-industrial-iot\/\">How Machine Learning has Transformed Industrial IoT<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Whether it\u2019s watching a video, sending an email, or simply surfing the web, all our<\/p>\n","protected":false},"author":141,"featured_media":45330,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[3743,445,2938,247,1450,1451,3494,2378],"class_list":["post-45286","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-dual-gigabit-ethernet-carrier-board","tag-openwrt","tag-openwrt-router","tag-raspberry-pi","tag-raspberry-pi-4","tag-raspberry-pi-4-model-b","tag-raspberry-pi-compute-module-4","tag-raspberry-pi-projects"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Build a Raspberry Pi Router - Step by Step Tutorial - Latest News from Seeed Studio<\/title>\n<meta name=\"description\" content=\"A custom Raspberry Pi router can drastically improve both networking performance and security while offering additional features. Learn how to build one!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Build a Raspberry Pi Router - Step by Step Tutorial - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"A custom Raspberry Pi router can drastically improve both networking performance and security while offering additional features. Learn how to build one!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-11T09:05:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-06T11:40:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3000\" \/>\n\t<meta property=\"og:image:height\" content=\"1750\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Lakshan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lakshan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/\",\"name\":\"How to Build a Raspberry Pi Router - Step by Step Tutorial - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover.png\",\"datePublished\":\"2021-06-11T09:05:19+00:00\",\"dateModified\":\"2022-09-06T11:40:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/75eb10f611f7c10a195a98452628bba5\"},\"description\":\"A custom Raspberry Pi router can drastically improve both networking performance and security while offering additional features. Learn how to build one!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover.png\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover.png\",\"width\":3000,\"height\":1750},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Build a Raspberry Pi Router &#8211; Step by Step Tutorial\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/75eb10f611f7c10a195a98452628bba5\",\"name\":\"Lakshan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c1688294d55a746c8c80f4b85eb94989?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c1688294d55a746c8c80f4b85eb94989?s=96&r=g\",\"caption\":\"Lakshan\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/lakshan\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Build a Raspberry Pi Router - Step by Step Tutorial - Latest News from Seeed Studio","description":"A custom Raspberry Pi router can drastically improve both networking performance and security while offering additional features. Learn how to build one!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/","og_locale":"en_US","og_type":"article","og_title":"How to Build a Raspberry Pi Router - Step by Step Tutorial - Latest News from Seeed Studio","og_description":"A custom Raspberry Pi router can drastically improve both networking performance and security while offering additional features. Learn how to build one!","og_url":"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2021-06-11T09:05:19+00:00","article_modified_time":"2022-09-06T11:40:01+00:00","og_image":[{"width":3000,"height":1750,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover.png","type":"image\/png"}],"author":"Lakshan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Lakshan","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/","url":"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/","name":"How to Build a Raspberry Pi Router - Step by Step Tutorial - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover.png","datePublished":"2021-06-11T09:05:19+00:00","dateModified":"2022-09-06T11:40:01+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/75eb10f611f7c10a195a98452628bba5"},"description":"A custom Raspberry Pi router can drastically improve both networking performance and security while offering additional features. Learn how to build one!","breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover.png","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover.png","width":3000,"height":1750},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2021\/06\/11\/how-to-build-a-raspberry-pi-router-step-by-step-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Build a Raspberry Pi Router &#8211; Step by Step Tutorial"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/75eb10f611f7c10a195a98452628bba5","name":"Lakshan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c1688294d55a746c8c80f4b85eb94989?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c1688294d55a746c8c80f4b85eb94989?s=96&r=g","caption":"Lakshan"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/lakshan\/"}]}},"modified_by":"Lakshan","views":215605,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover.png",3000,1750,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover-80x80.png",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover-300x175.png",300,175,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover-768x448.png",640,373,true],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover-1030x601.png",640,373,true],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover-1536x896.png",1536,896,true],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover-2048x1195.png",2048,1195,true],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover.png",32,19,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover-1536x1020.png",1536,1020,true],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover-936x897.png",936,897,true],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover-1024x597.png",1024,597,true],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover-720x380.png",720,380,true],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/06\/RPi-Router-Cover-675x450.png",675,450,true]},"author_info":{"display_name":"Lakshan","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/lakshan\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/45286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/141"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=45286"}],"version-history":[{"count":78,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/45286\/revisions"}],"predecessor-version":[{"id":71225,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/45286\/revisions\/71225"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/45330"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=45286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=45286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=45286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}