Getting Started with OpenWrt on Raspberry Pi as a Bypass Router

Getting Started with OpenWrt on Raspberry Pi as a Bypass Router

Introduction It’s been a while since I posted an article, haha. This time, I’m sharing a complete guide on building a home server from scratch. Starting from zero, we will use idle hardware at home to create a fully functional server. The content includes but is not limited to: 1. Enhancing network functionality 2. Building … Read more

Limit Bandwidth for Specific IP Addresses in OpenWrt

Limit Bandwidth for Specific IP Addresses in OpenWrt

Limit bandwidth for specific IP addresses in OpenWrt 1. Script for limiting bandwidth Use a custom script to limit the bandwidth for specific IP addresses or address ranges for connected devices. # !/bin/sh # Define incoming and outgoing interfaces (IDEV for internal network interface, ODEV for external network interface) IDEV=”tunAcc” ODEV=”br-wan” # Define total upstream … Read more

Configuring IPv6 NAT6 for Guest WiFi Network in OpenWRT

Configuring IPv6 NAT6 for Guest WiFi Network in OpenWRT

First, add the WiFi guest network through the web interface or by modifying the configuration. The wireless interface added through the MTK management interface must be added to the bridge: 12345678910111213141516171819 config globals 'globals' option ula_prefix 'xxxx:xxxx:xxxx::/48' config interface 'guest' option proto 'static' option ipaddr '10.0.100.1' option netmask '255.255.255.0' option device 'br-guest' option ip6assign '64' … Read more

How to Install and Configure PPPoE Server on OpenWRT

How to Install and Configure PPPoE Server on OpenWRT

Installing PPPoE on OpenWRT: 12 opkg update opkg install rp-pppoe-server Configuring PPPoE: 123456789 cat > pppoe-server-options << EOF # PPP options for the PPPoE server # LIC: GPL require-chap login lcp-echo-interval 10 lcp-echo-failure 2 ms-dns 8.8.8.8 EOF Setting up PPPoE account and password: 1234 cat > /etc/ppp/chap-secrets << EOF #USERNAME PROVIDER PASSWORD IPADDRESS www.haiyun.me * … Read more

OpenWrt 21.02: Implementing Policy Routing with IPset Based on MAC Addresses

OpenWrt 21.02: Implementing Policy Routing with IPset Based on MAC Addresses

OpenWrt Version Information DISTRIB_ID='OpenWrt' DISTRIB_RELEASE='21.02-SNAPSHOT' DISTRIB_REVISION='r0-6bf6af1d5' DISTRIB_TARGET='mediatek/mt7981' DISTRIB_ARCH='aarch64_cortex-a53' DISTRIB_DESCRIPTION='OpenWrt 21.02-SNAPSHOT r0-6bf6af1d5' DISTRIB_TAINTS='no-all busybox override' OpenWrt Configuration Enable IPset Support make menuconfig make menuconfig Network —> -*- ipset………………………………… IPset administration utility OpenWrt/.config Corresponding Configuration Items CONFIG_PACKAGE_ipset=y Enable IP-Full Support make menuconfig make menuconfig Network —> Routing and Redirection —> <*> ip-full…………………………….. Routing control utility (full) OpenWrt/.config … Read more

How to Install Speedtest-web on OpenWrt for Internal Network Speed Testing

How to Install Speedtest-web on OpenWrt for Internal Network Speed Testing

Introduction To achieve internal network speed testing, most people would first think of iperf, which requires both a server and a client, making it quite cumbersome. Is there a simpler way to test speed directly through a web interface? Moreover, if it is installed on a soft router, all internal network devices can easily test … Read more

How to Install Temperature Control Scripts for Nanopi R4S Router Development Board

How to Install Temperature Control Scripts for Nanopi R4S Router Development Board

R86S Soft Router Multi-Network Intel Mini Host N5105 8GB/16GB 10G Fiber Port 2.5G Power Port39514580921759Purchase FriendlyARM NanoPi R2S Metal Case R1S Development Board OpenWrt Router Heat Sink Fan395145809229Purchase NanoPi R4S Software Open Source OpenWrt Router 1/4GB CNC Metal Case RK3399 Dual Gigabit3951458092549Purchase Step-by-step guide on how to install temperature control scripts for the Nanopi R4S … Read more

How to Install OpenWrt on Raspberry Pi to Create a Super Router

How to Install OpenWrt on Raspberry Pi to Create a Super Router

There are many tutorials online about installing OpenWrt on Raspberry Pi. Here, I will share my personal installation experience and the pitfalls I encountered 🕳. I hope this article can provide some small help to you who found it. Preparation: 1 Raspberry Pi 3B 2 TF card 3 Network cable 4 Laptop 5 Router connected … Read more

OpenWrt and Samba: A Guide to Home Network File Sharing

OpenWrt and Samba: A Guide to Home Network File Sharing

#Introduction I have a large capacity mechanical hard drive that is currently unused, and I want to utilize it during the weekend. The requirements are: I have a Raspberry Pi at home, which is running <span>OpenWRT</span> as a standalone router. I now need to connect the mechanical hard drive to the Raspberry Pi and share … Read more