TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Ars guide to building a Linux router from scratch

166 pointsby thehoffabout 9 years ago

18 comments

danielrhodesabout 9 years ago
If you don&#x27;t want to do all that configuration, PFSense is a good alternative. <a href="https:&#x2F;&#x2F;www.pfsense.org&#x2F;download&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.pfsense.org&#x2F;download&#x2F;</a><p>PFSense is the same thing below the hood, but with a web front-end and plugins.<p>Most off the shelf wireless routers work fine as an access point, but are quite bad as a router. So you can just plug your old wireless router into this thing (with DHCP etc turned off), and your whole setup will be much better.
评论 #11514484 未加载
评论 #11516346 未加载
评论 #11516688 未加载
评论 #11523984 未加载
tyingqabout 9 years ago
Ubiquiti&#x27;s EdgeRouter Lite is a popular, fast, cheap (&lt;$100), solution in this space.<p>People are running FreeBSD and Linux on it:<p><a href="http:&#x2F;&#x2F;www.daemonology.net&#x2F;blog&#x2F;2016-01-10-FreeBSD-EdgeRouter-Lite.html" rel="nofollow">http:&#x2F;&#x2F;www.daemonology.net&#x2F;blog&#x2F;2016-01-10-FreeBSD-EdgeRoute...</a><p><a href="https:&#x2F;&#x2F;wiki.gentoo.org&#x2F;wiki&#x2F;MIPS&#x2F;ERLite-3" rel="nofollow">https:&#x2F;&#x2F;wiki.gentoo.org&#x2F;wiki&#x2F;MIPS&#x2F;ERLite-3</a>
评论 #11514600 未加载
评论 #11514779 未加载
评论 #11514742 未加载
Mister_Snugglesabout 9 years ago
Here&#x27;s a tutorial for doing the same thing with OpenBSD from a few years ago: <a href="http:&#x2F;&#x2F;www.bsdnow.tv&#x2F;tutorials&#x2F;openbsd-router" rel="nofollow">http:&#x2F;&#x2F;www.bsdnow.tv&#x2F;tutorials&#x2F;openbsd-router</a>
评论 #11514470 未加载
评论 #11514778 未加载
INTPenisabout 9 years ago
I&#x27;m sad they don&#x27;t use dnsmasq in the article, it&#x27;s a ton more easier to setup than bind and even commercial routers use it.
评论 #11516290 未加载
goda90about 9 years ago
I wonder how well the Turris Omnia[1] will compare to a homebrew solution like this.<p>[1]<a href="https:&#x2F;&#x2F;omnia.turris.cz&#x2F;en&#x2F;" rel="nofollow">https:&#x2F;&#x2F;omnia.turris.cz&#x2F;en&#x2F;</a>
评论 #11514701 未加载
briHassabout 9 years ago
I had trouble getting a hold of one of those C1037U boxes from China. The seller would &#x27;run out of stock&#x27; frequently if I found one for a decent price.<p>I ended up going with the APU2B4 board (an upgrade from the APU1D mentioned in the article.) I put pfSense on it, and it&#x27;s been running perfect for a few weeks now.<p>Even that board is probably massive overkill for most people. I have 50&#x2F;50 internet, and with full bandwidth used by torrents, a VPN and ssh session open to the router, and the web interface open, I&#x27;m still only getting about 10-15% CPU.<p><a href="http:&#x2F;&#x2F;pcengines.ch&#x2F;apu2b4.htm" rel="nofollow">http:&#x2F;&#x2F;pcengines.ch&#x2F;apu2b4.htm</a>
评论 #11514555 未加载
评论 #11514867 未加载
评论 #11515421 未加载
mynewtbabout 9 years ago
Seems to be missing on of the most crucial parts: Keeping the software up to date to avoid being a victim to security issues.
评论 #11514896 未加载
mdewinterabout 9 years ago
This is also a nice simple and cheap device running OpenWRT ($25) with Wireless N, 2 100 mbit lan and USB: <a href="https:&#x2F;&#x2F;revspace.nl&#x2F;GL-iNet" rel="nofollow">https:&#x2F;&#x2F;revspace.nl&#x2F;GL-iNet</a> - <a href="http:&#x2F;&#x2F;www.gl-inet.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.gl-inet.com&#x2F;</a>.<p>I&#x27;ve got a about 50 deployed, managing them with Ansible, super nice and cheap. USB powered as well.
评论 #11515931 未加载
dsr_about 9 years ago
At least in my setup, a small SSD means that a complete reboot for the router takes 22-24 seconds, and so TCP sessions will not drop.
评论 #11514635 未加载
35bge57dtjkuabout 9 years ago
1400 - 2400 usd for that small box? Is that worth it??
评论 #11516599 未加载
Decadeabout 9 years ago
It is almost 4 years since World IPv6 Launch. I’m very disappointed that, other than a few randomly timed rants from Iljitsch van Beijnum, Ars Technica has made no visible movement to IPv6. No AAAA record for Arstechnica.com, no guides to installing IPv6, and now a tutorial for setting up routers spreading FUD about how difficult it is to install IPv6.
madengrabout 9 years ago
I have been running Linux boxes for 20 years as my home router, but just recently bought a Cisco RV325. Sort of got tired of maintaining it, and it took allot more power.<p>How will these smaller, embedded motherboards handle 1G Ethernet? Will be getting google fiber within next year.
评论 #11514894 未加载
shekhar101about 9 years ago
Curious if the 120 GB SSD could be doubled as network storage acessible through WiFi?
评论 #11516064 未加载
Nuxabout 9 years ago
I&#x27;d like to play with Linux on this multi-nic board when I get some time and money <a href="http:&#x2F;&#x2F;www.banana-pi.org&#x2F;r1.html" rel="nofollow">http:&#x2F;&#x2F;www.banana-pi.org&#x2F;r1.html</a>
pcuniteabout 9 years ago
I use MikroTik for the nice hardware, low power, and RouterOS.
评论 #11514708 未加载
skinowskiabout 9 years ago
Looks like he hasn&#x27;t hit the ip_conntrack_tcp_be_liberal problem&#x2F;setting yet. Good luck with streaming Netflix with that router...
评论 #11516695 未加载
x0about 9 years ago
I have a lot of respect for those who know iptables well enough to make things like this. It looks so fascinating, but so complex.
评论 #11515389 未加载
pronoiacabout 9 years ago
Going back to the first article: it was around $300. But as a project for my home, the lack of wifi is more frustrating.
评论 #11515412 未加载
评论 #11515346 未加载
评论 #11514891 未加载