How to turn anything into a router

25 points by deejayy


jrwren

i used to use a PC as a router, then I wanted to be able to run on UPS as long as possible during a power outage, so I changed to using a consumer grade wifi AP/router. It is certainly less fun.

jak2k

Has anyone done something similar with NixOS? And how can I connect this to my ISP?

classichasclass

Current router for the main server is a NetBSD G4 Mac mini with 1GB of RAM. Other than a kernel hack to automatically restart after a power failure, it's a vanilla install. A couple USB Ethernet interfaces supplement the built-in Ethernet. I kept everything on separate device classes (ure0, axe0, gem0) to make it easier to track, and turned on all the acceleration features those devices had to offer. For a fairly busy system the load average remains very low.