Re:Why I built my own homebrew Linux router
by mark-r on Wednesday June 08, 2016 @12:25PM
(#11863388)
Is Linux the best choice for a router, or would one of the BSDs work better? Obviously the author chose Linux because he was most familiar with it, and that's an excellent reason, but I'm curious what the choice would be if you were starting with a clean slate.
[ Parent
| on HN ]
Re:Why I built my own homebrew Linux router
by mhurron on Wednesday June 08, 2016 @12:39PM
(#11863512)
I found pf's syntax to be much clearer and easier to write, so I chose OpenBSD for my home router.
Re:Why I built my own homebrew Linux router
by vbezhenar on Wednesday June 08, 2016 @12:44PM
(#11863546)
CentOS 7 (and probably some other distributions) contain firewalld which is much easier to configure than iptables. You can easily setup NAT, open and forward ports, so most of typical router tasks are very easy. Though if you encounter untypical task, you have to learn iptables, of course.
Re:Why I built my own homebrew Linux router
by Spivak on Wednesday June 08, 2016 @02:38PM
(#11864485)
For reference it's at least RHEL 7, CentOS 7, Fedora 21+, Debian, Ubuntu, Arch, and Gentoo.
Re:Why I built my own homebrew Linux router
by ptman on Wednesday June 08, 2016 @04:53PM
(#11865576)
I've used ferm <http://ferm.foo-projects.org/> to have iptables behave more like pf
Probably doesn't make any difference now but there was a time when some of the operating systems didn't have PPPoE support in the kernel.
Re:Why I built my own homebrew Linux router
by dogma1138 on Wednesday June 08, 2016 @12:54PM
(#11863649)
It doesn't really matter that much the problem with most homebrew routers will be the hardware you need a pretty decent desktop and some good network cards to match the performance of mid range home routers.
I had a router like that for a couple of years running pfsense which is based on BSD but since London got a 1gbit ISP I had to switch to a normal router unless I wanted to invest like a 1000$ in hardware.
It doesn't take $1k of hw to run pfsense at 1gbps. I have 1gbps / 1 gbps in Austin, own the company behind pfsense, and run just fine on a 4 core Atom.
Re:Why I built my own homebrew Linux router
by gradschool on Wednesday June 08, 2016 @02:14PM
(#11864291)
Which ISP is that? (not Virgin, I hope)