|
|
#1 |
|
Pewlius Caesar
bit-tech Staff
Join Date: Nov 2001
Location: Ascot, Berks
Posts: 18,021
![]() ![]() ![]() ![]() ![]() |
Build your own Router
http://www.bit-tech.net/bits/2008/06...r-own-router/1
It seems like lots of people have been picking up Linux love since our Build Your Own Server article. So this time, Ken's back to bring it one step further - making your own home network router. Buckle up and get ready to dive into the world of iptables!
__________________
|
|
|
|
|
|
#2 |
|
What's a Dremel?
Join Date: Jun 2008
Posts: 1
![]() |
Nice one , but in the next , why not set it up for multiply external ip's, since more people have more than 1 ip.
|
|
|
|
|
|
#3 |
|
International Man of Awesome
Join Date: Feb 2008
Location: County Durham, UK
Posts: 964
![]() |
I wish I could understand this.. I really do.
__________________
Q6600 @ 2.40GHz w/G0|Gigabyte GA-G33M-DS2R|4GB OCZ Gold PC-6400 800MHz|Powercolor Radeon HD4850|Samsung Spinpoint F1 1TB|Scythe Ninja Mini|LG Blu-ray/HD DVD/DVD-RW Combo Drive|Corsair TX650W|Antec NSK2480
Pioneer VSX-417|2x Gale 3010|2x Yamaha NSP110| MS304W Centre | MS308 Subwoofer |
|
|
|
| Timmy_the_tortoise |
| View Public Profile |
| Find More Posts by Timmy_the_tortoise |
|
|
#4 | |
|
Multimodder
Join Date: Jul 2007
Location: Derbyshire, UK
Posts: 226
![]() |
Quote:
Yeah great article, never knew one could make one's own router! It's a shame about 99.9% of that stuff goes way over my head lol.
__________________
Asus M2N-SLI DELUXE ¦ AMD Athlon64 6000 ¦ Gainward GS 4870 1GB ¦ 2x2GB OCZ DDR2-800 Reaper ¦ Seagate Barracuda 7200.11 500GB ¦ Auzentech XFI-Prelude + Creative T7700 7.1¦ Enermax Liberty 500W ¦ CM690 case ¦ Samsung 22" 226CW ¦ Vista x64 SP1
|
|
|
|
|
|
|
#5 |
|
Spoon? What spoon?
Join Date: Dec 2006
Location: Daytona Beach, FL
Posts: 936
![]() |
Great Guide
I use this stuff a good deal, since I work with a large set of linux servers and don't want to have to shell out massive amounts of cash for nortel or cisco hardware. there are a few more hurdles to use fibrechannel with this method, mostly getting it to like the transmission format the fibrechannel cards use. here's a suggestion for bit. get ken on your staff, pay him and feed him pizza for more of this stuff faster. the other thing that strikes me is how very well sectionalized and organized the whole article is, makes for very easy reference. |
|
|
|
| Bluephoenix |
| View Public Profile |
| Find More Posts by Bluephoenix |
|
|
#6 |
|
So Say We All
Join Date: Sep 2006
Location: New Zealand
Posts: 1,657
![]() |
damm i actually tried to get something similar working this morning (used brctl as i only needed a bridge) but it wasnt compatible with ppp0 (at mums, and its a geographic limitation). Starts thinking about ditching the flats router (crappy dlink thing)
__________________
Hell hath no fury like a hippo with a machine gun.
|
|
|
|
|
|
#7 |
|
Bwahahahahaha
Join Date: Nov 2002
Location: Salford
Posts: 609
![]() |
Interesting! More-so in the configuration than anything. I shall have a read later, but I thought I'd mention that I also decided to build my own router recently.
The thing's built, and I'm saving time by using m0n0wall, but I've not fully updated the article yet - still, someone may find it useful/interesting. ![]() From the m0n0wall guidelines, however, I estimated that I should be able to gain about 280Mbits in both directions. That's not bad for the future.
|
|
|
|
|
|
#8 |
|
Bit-tech's Heffalump
Join Date: Jan 2006
Location: Aberystwyth
Posts: 797
![]() |
fantastic article! i really enjoy reading them, it gives me an excuse to tinker with a few spare linux machines, this one is going to require some carefull reading though, i think i got about 10% on the first read through
|
|
|
|
| theevilelephant |
| View Public Profile |
| Find More Posts by theevilelephant |
|
|
#9 | ||
|
International Man of Awesome
Join Date: Feb 2008
Location: County Durham, UK
Posts: 964
![]() |
Quote:
But when I think about it.. I suppose it makes perfect sense that a PC/Server/whatever can route...
__________________
Q6600 @ 2.40GHz w/G0|Gigabyte GA-G33M-DS2R|4GB OCZ Gold PC-6400 800MHz|Powercolor Radeon HD4850|Samsung Spinpoint F1 1TB|Scythe Ninja Mini|LG Blu-ray/HD DVD/DVD-RW Combo Drive|Corsair TX650W|Antec NSK2480
Pioneer VSX-417|2x Gale 3010|2x Yamaha NSP110| MS304W Centre | MS308 Subwoofer |
||
|
|
|
| Timmy_the_tortoise |
| View Public Profile |
| Find More Posts by Timmy_the_tortoise |
|
|
#10 |
|
Minimodder
Join Date: Apr 2008
Posts: 32
![]() |
What's the point of this? I can understand the concept but not the application. Are you supposed to add it to your existing machine/repurpose an old machine or build a new mini-ITX machine (one of those with multiple ports) instead of buying a new router?
|
|
|
|
|
|
#11 | |
|
International Man of Awesome
Join Date: Feb 2008
Location: County Durham, UK
Posts: 964
![]() |
Quote:
__________________
Q6600 @ 2.40GHz w/G0|Gigabyte GA-G33M-DS2R|4GB OCZ Gold PC-6400 800MHz|Powercolor Radeon HD4850|Samsung Spinpoint F1 1TB|Scythe Ninja Mini|LG Blu-ray/HD DVD/DVD-RW Combo Drive|Corsair TX650W|Antec NSK2480
Pioneer VSX-417|2x Gale 3010|2x Yamaha NSP110| MS304W Centre | MS308 Subwoofer |
|
|
|
|
| Timmy_the_tortoise |
| View Public Profile |
| Find More Posts by Timmy_the_tortoise |
|
|
#12 |
|
Can i haz a dremelz!?
Join Date: Sep 2007
Location: right behind my linksys
Posts: 41
![]() |
Great guide!
Love it... I'm going to read everything after... homebuild router + diy homeserver... = mod! =D
__________________
Me and my sker english ![]() Q66@3,0GHz | P5Q DLX| 1,5TB | XMS2 675MHz@900MHz | XFX HD4770... |
|
|
|
|
|
#13 |
|
Made in Canada
Join Date: Jun 2008
Location: BC
Posts: 452
![]() |
Heya,
Great guide! Just a quick note... if you prefer to NOT work with IP Tables but you still want the power and flexibility of IP Tables then I suggest downloading APF Firewall for Linux. APF is a front-end for IP Tables (hence, it's still IP Tables) but provides an easy to use shell based configuration file to setup your firewall. Additionally, APF includes brute-force and DoS protection which can be enabled/disabled in the config file. Of course, this is free software. I've used it for many years and it makes handling IP Tables far easier. Cheers
__________________
[[Asus P6T | Intel Core i7 920 @ 2.67Ghz cooled by Noctua UH-P12 Push-Pull Config | 6GB DDR3-1600 Patriot Viper Xtreme XMP C8 | nVidia GeForce 280 GTX 1GB | Corsair HX620 620 Watt PSU | Antec P182 Case]] |
|
|
|
|
|
#14 | |
|
Brett Thomas
Join Date: Aug 2004
Location: Cleveland, OH USA
Posts: 3,906
![]() |
Quote:
Yeah, there are some great options. Most of my sysadmin friends swear by Shorewall themselves, which is the same type of thing. For here, though, we were going for stripping away the training wheels and showing you what REALLY goes on under the hood. The more you know, the more secure your system will be and the better you can diagnose when something DOESN'T work right.
__________________
"Frankly that seems overkill. iluvtrees2 arguing with spec is the intellectual equivalent of a bunny rabbit taking on a pissed-off lion." - Nexxo |
|
|
|
|
|
|
#15 |
|
Multimodder
Join Date: Nov 2002
Location: Norway
Posts: 197
![]() |
For those wanting to set a PC up as a router, but don't want to go through the hassle of doing everything yourself, there are a number of really good options out there. m0n0wall (http://m0n0.ch/wall/) and pfsense (http://www.pfsense.com/) are good alternatives. m0n0wall is super-super lightweight and does the job really well, at least it does for me :-)
__________________
- Rexxie Sanity is a full time job. |
|
|
|
|
|
#16 |
|
Multimodder
Join Date: Feb 2005
Posts: 110
![]() |
Excellent Series
Just had to offer a "Great job"
on this series of articles and a straight up job with ipchains... Cant wait for the whole series Excellent Work! --keep 'Em Coming |
|
|
|
|
|
#17 | |
|
Mod Master
Join Date: Mar 2005
Location: Aberdeen, Scotland
Posts: 2,088
![]() |
Yep, +1 here for the 'good job' sentiments.
I'm loving the linux stuff on Bit now and I'm thinking there should be a seperate section entirely for Linux tbh. Isn't Linux and it's flexibility/modifiability (is that even a word? ) like the software equivalent of building your own PC and tweaking/OCing it?Anyway, keep 'em coming!!
__________________
Laptop:C2D P8600 2.4GHz, 4GB, 9800GTS, 120GB SSD, 15" 1680x1050, Vista64 Projects: 1.2TB Fileserver housed in a cardboard box!|Retro HTPC for my GF. Quote:
|
|
|
|
|
|
|
#18 |
|
I pwn all your storage
Join Date: Jul 2005
Location: Southampton
Posts: 13,933
![]() ![]() ![]() ![]() |
100% Agree with airchie!
|
|
|
|
|
|
#19 |
|
UnSeenly
Join Date: Oct 2003
Location: The Depths Of Hades
Posts: 1,381
![]() |
I'll add my hardware recommendation.
pcengines ALIX2c3 board, i'm loving mine got it to run m0n0wall. eats a whoopee 18watts at most. |
|
|
|
|
|
#20 |
|
So Say We All
Join Date: Sep 2006
Location: New Zealand
Posts: 1,657
![]() |
hmmm decisions, to go with a embedded system or tack it on to the fileserver, seperate would probably be more secure, if you dont mind answering how much did you pay woodshop, that one looks awesome, wonder if there is one with integrated wireless. would it be difficult to have two internal interfaces (Ethernet and wireless)
__________________
Hell hath no fury like a hippo with a machine gun.
|
|
|
|
![]() |
| Thread Tools | |
|
|