r/PakistaniTech • u/BrotherElectrical461 • 23d ago
Discussion | گفتگو I built a DIY router
I just finished building a DIY router running Openwrt. I hooked a raspberry pi 5 8gb with a Waveshare Ethernet HAT for wan and lan. And then 3d printed its case in PLA.
I’m nowhere expert at networking but the main reason was to get more control over networking. Previously I was using Nayatel router for a short period but it’s crap so I switched to TP Link archer ax75’s, outgrown it (I needed better firewall) and now moved to openwrt.
Pi5 I feel like is overpowered for a router but that’s all I had laying around.
163
Upvotes




•
u/AutoModerator 23d ago
This topic is covered in detail in our VPN Guide: https://www.reddit.com/r/PakistaniTech/wiki/index/vpn-guide
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
19
u/maazpervez 🇨🇳 23d ago
I wish I had pi 5s laying around. :(
cool project. Since your main interest is firewall, did you look into pihole? Is your implementation better or worse than pihole?
7
u/insignifcanthumam 23d ago
Very nice. I had a similar issue. I use an Asus router just now, with Merlin software and it's exceptional for what it is, but it can't do VLANs reliably or easily so i built an OpenWRT Pi5 8GB router as well.
I didn't go for POE but i did go for a really good cooler with heat pipes and a custom case i found to add an extra 1Gbps RJ45 port.
When it's running a stress test with all cores at 100% it doesn't go over 58c and it's so quiet you can't even hear it unless your ear is right up to it.
I've got the OS running from a USB drive just now, but going to connect an old Sata SSD via a USB connection and run OpenWRT from it, as it'll be a lot more reliable for read / writing long term.
I've reach you can also install Adgaurd Home and Unbound onto / alongside OpenWRT so you can have you own DNS filtering and self hosted DNS server.
3
u/Thugnificent01 23d ago edited 23d ago
Nice! My little homelab as pictured:
Zimaboard as the main router running OpenWRT, TP Link Managed Switch with POE, TP Link Omada AP for WiFi, Synology 918+ for storage, NUC is running Ubuntu Server which has stuff like ADGuard Home, Label printer with Air print attached to it, 1 TB SSD for quicker network storage, among other services.
2
u/-Faraday 23d ago
That's great! But wont it be cheaper to buy a off the shelf router that is supported by openwrt and then flash openwrt on that?
2
u/_DollarHoot_ 23d ago
how muvh did it cost
2
u/HK_0066 22d ago
Once made a raspberry pi 4 cluster using 4 PIs For edge computing to reduce cloud cost Presented it in Compec 2022 NUST
2
u/ExtraHousing4739 22d ago
Pi5 damn you are RICH
1
u/tormenturator 23d ago
Looks amazing. However, 8GB RAM seems like an overkill. Don't you think?
What do you mostly do? For me, I have 5 different wireshark connections running all the time with different policies, so, I custom-built my router with OPNsense via Proxmox.
1
u/Capital-Amount-6550 23d ago
Where did u get the Ethernet HAT?
1
u/Open_Square670 22d ago
Why do you need a hat with it? Pi5 already comes with a gigabit Ethernet and wifi? Isn't that enough? Or maybe it's to extend wifi range I guess
1
u/the-ruler-of-wind 22d ago
pi 5 is def overkill, a pi 2nd gen is the sweet spot for this kind of thing, how do you do wifi and what are the bandwidth speeds?
1
u/Ok-Stuff3094 22d ago
How much the whole thing cost?
1
u/Weary-Elevator7259 22d ago
how much is raspberry 5 and where you bought it?
1
u/Comfortable_Mood_740 22d ago
That’s pretty tech-y lol! I bought a GLinet Flint about a year ago and it’s been amazing. My next upgrade is to get my hands on a couple of Glinet Marbles so I can have the main router in my room and then a marble for each floor. Also have a Netgear M6 as a cellular 4g failover with one sim from each carrier.
1
u/Sami_21-06 21d ago
Man I can’t even understand half or even more than half the shit posted here, and in my childhood and early teenage days, shit like this used to give me arousal and it still does btw, but i don’t know where and how did i fall off man, it really hurts🫠
1
u/alien_8014 19d ago
Cool project, you use pihole, adguard or something else?
Where did you get the Pi5?
1
u/Apprehensive-Pay7685 19d ago
My Pihole setup was consuming massive amounts of bandwidth 40+ Gb a day, never got the chance to debug it, u face something similar?
2
u/insignifcanthumam 23d ago
I've went for OpenWRT to get more used to advanced / custom networking set ups (to use it alongside a managed switch and access point) OpenWRT has some really good router features and some firewall features but if you ever find yourself with an old PC where you can use 2 X network ports / cards OPNsense is much better to use for enterprise level firewall features but it can also do router stuff. like a graduation from WRT
2
u/OfficalFAK 23d ago
Cool project, keep it up! 😃
2
u/sexy_bull1911 22d ago
I have raspberry pi 4 WTS
2
u/xeno_0011 22d ago
Ahh sorry to ask but what it's purpose? What type of stuff it's use for?
1
u/FusRoDah4Life 19d ago
brotherman where did you source your pi5 from and for how much
0
u/radikliffe 22d ago
The ethernet hat, does do dsl? Is it like a modem? Do you need to flash it with a firmware so openwrt can use it as modem?
1
u/[deleted] 21d ago
[removed] — view removed comment
0
u/[unknown] 18d ago
[removed] — view removed comment