4 ms·
I'm not really a big fan of Linux for routers; too hard to administer. I run OpenBSD on an old Mac Mini (with a $15 USB Ethernet adapter), and it's the best ro
by jrockway 16y ago
I'm not really a big fan of Linux for routers; too hard to administer. I run OpenBSD on an old Mac Mini (with a $15 USB Ethernet adapter), and it's the best router I've ever had.
(OK, it won't boot unless I shove a resistor into the DVI port. But it's an Apple product, so it's not expected to be useful for anything other than buying iTunes movies.)
Anyway, with OpenBSD I have a fast OpenVPN endpoint, full IPv6 support for my whole home network via a Hurricane Electric tunnel, flexible QoS, and of course, proper firewalling and NAT that actually works. The consumer-level router I had before was a joke -- even when I put my main machine into the "DMZ", it still blocked my IPv6 tunnel. What a piece of shit. (ddwrt probably doesn't have this problem, but pf is still nicer than iptables.)
With that thing gone, I can browse kame.net in all its dancing-turtle glory!
My favorite feature is the QoS. If I'm downloading a TV show on my TV and something else on the network decides it wants to download something, I keep enough bandwidth allocated to the TV to keep the stream from being interrupted. And, I prioritize ACKs over all other traffic, so I get full download speed even when the uplink is saturated. And, my ssh sessions stay interactive no matter how much other traffic there is.
My only complaint is power consumption -- the thing runs pretty hot even when it's not loaded, and that's a waste of electricity. But a computer I already had was cheaper than
a Soekris device, so...
- ghotli 16y agoCore to post your config files somewhere?
- jrockway 16y agoSure: http://github.com/jrockway/openbsd-router-config http://github.com/jrockway/openbsd-router-config
- dschobel 16y agoIn what universe are the web GUIs of tomato and dd-wrt harder to administer than your unix system? I'll take http://www.polarcloud.com/img/ssbn100.png http://www.polarcloud.com/img/ssbn100.png running on $50 hardware any day. And yes, it does QoS (http://www.polarcloud.com/img/ssqosg108.png http://www.polarcloud.com/img/ssqosg108.png).
- jrockway 16y agoClicking stuff in the GUI is fun, but hard to maintain. Who knows what security problems you're exposing. (CGI scripts written in C and sh? I think the entire Internet crashed in the early 90s because of that...) The problem I've had with cheap routers (Linux or otherwise) is that their state table fills up and then it stops accepting connections. I was at a conference with flaky Wi-Fi once, and kept losing my ssh connections. Eventually, after only about 10 dropped connections and IP changes, the router's state table filled up and the thing was dead to the world. No ping, no web interface, no routing, no ssh. Dead. And then when the states expired the next day, it was back again. This is unacceptable.