1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Linux Custom built router

Discussion in 'Software' started by deathtaker27, 13 Apr 2013.

  1. deathtaker27

    deathtaker27 Modder

    Joined:
    17 Apr 2010
    Posts:
    2,238
    Likes Received:
    186
    Hi,

    After I have been playing with Linux for uni work (Thank you to everyone who has helped me) I feel like challenging myself to build a custom router using linux over the summer.

    Anyone have any suggestions on which Distro to use, and any specifics I should include (beside 2 Nics )

    DT.
     
  2. IvanIvanovich

    IvanIvanovich будет глотать вашу душу.

    Joined:
    31 Aug 2008
    Posts:
    4,870
    Likes Received:
    252
    I used to have a home rolled adsl modem router. I used a Soekris 4801 and a sangoma s518 adsl card with intel mini pci wifi g of which I forgot model, running vyatta distro. It was really nice and solid but I out grew it when higher dsl speeds were made available.

    I would recommend looking in used market for such sbc like Soekris or Alix as they are much more efficient to run for such things than regular desktop oriented parts. I recently got one MSI LX800 itx board to use for making something like it again with gig-e but I got lazy and just bought a nice off the shelf modem router gigabit, wifi n with voip and usb sharing capability since it is hard to find the adsl2+ cards with capability for higher speeds for not insane costs.
     
    Last edited: 13 Apr 2013
  3. lp rob1

    lp rob1 Modder

    Joined:
    14 Jun 2010
    Posts:
    1,530
    Likes Received:
    140
    You can't go wrong with IPCop. It is extremely powerful and completely secure. I wouldn't call it exactly easy to use, but there is plenty of documentation about each and every feature.
     
  4. deathtaker27

    deathtaker27 Modder

    Joined:
    17 Apr 2010
    Posts:
    2,238
    Likes Received:
    186
    I'm on cable and this will be for routing a second segment within my existing network so I only need ethernet connections :)
     
  5. IvanIvanovich

    IvanIvanovich будет глотать вашу душу.

    Joined:
    31 Aug 2008
    Posts:
    4,870
    Likes Received:
    252
    Ok, then maybe if you can't find good price on sbc, maybe one of the Via ITX with 2x lan then use a switch. Probably cheap solution and you can keep a low power requirement still with something quiet and without any moving parts if can get model with onboard CF slot, or failing that use IDE to CF.

    There are a few decent networking oriented distro. I liked vyatta best, but also played around with ipcop, x86 ddwrt, zeroshell, leaf, untangle, clear. They each have their quirks and cons.
     
  6. Xlog

    Xlog Minimodder

    Joined:
    16 Dec 2006
    Posts:
    714
    Likes Received:
    80
    Software:
    pfsense - bsd based, quite popular in enterprise segment
    openwrt - - very modular, small memory footprint
    ddwrt - only good if all functionality you require is built-in, otherwise it becomes a mess very quickly

    hardware:
    I would stay away from Realtek or any other low budget NICs.

    if budget allows it - intel dq77mk MB (vt-d support, intel nics).
    if you want something low power - intel atom D2500CCE MB (dual intel nics).
    if you don't need gigabit NAT - pc with single NIC (like intel nuc) + managed switch.
    Or you could always run everything in VM environment on you main PC.
     
    Last edited: 13 Apr 2013
  7. bigkingfun

    bigkingfun Tinkering addict

    Joined:
    27 Jul 2008
    Posts:
    988
    Likes Received:
    59
    +1
     
  8. adrock

    adrock Caninus Nervous Rex

    Joined:
    5 Dec 2006
    Posts:
    1,265
    Likes Received:
    43
    I'd second ipcop. I ran it for a couple of years on a salvaged P166 and it was great. the hassle of configuring it paid off when i came to setting up some of the more advanced stuff in Tomato on a WRT (after trying ddwrt and openwrt).

    If you happen to have a physical 24/7 machine already with multiple NICs (a long shot i admit) you should be able to run ipcop in a VM to try it out.
     
  9. liratheal

    liratheal Sharing is Caring

    Joined:
    20 Nov 2005
    Posts:
    12,904
    Likes Received:
    2,005
    I quite like PFSense.

    BSD based, but similar type of system.

    I wouldn't recommend Smoothwall, though, seems to be a nightmare to keep running (Although could be a config issue I never got to the bottom of..) - I switched our system at work from that to PFSense.

    I think my uncle runs IPCop, or at least did, but it's been a while since I've used his network, so I can't say whether he still does. If he does, then that's an easy three years that it's been running.
     
  10. jaydeee

    jaydeee What's a Dremel?

    Joined:
    25 Apr 2010
    Posts:
    66
    Likes Received:
    1
    +1 for pfsense
    I have great experience using it. The hardware is playing very important role on project.
     
  11. sourdough

    sourdough Minimodder

    Joined:
    17 Sep 2010
    Posts:
    123
    Likes Received:
    1
    Are they still going? I used them for many years with my DX2 and then P90. From my memory it was easy to set up and use.
     
  12. adrock

    adrock Caninus Nervous Rex

    Joined:
    5 Dec 2006
    Posts:
    1,265
    Likes Received:
    43
    yeah they're still going. less activity i think, but i think they've got their features down so there's not a lot to add.

    if you can be bothered learning all the ins and outs it's incredibly capable and relatively scalable, but it'll always be for the niche of people who can't make do with either an out of the box router, or one that uses a custom firmware like tomato, dd/open-wrt etc. Once you get into the enterprise space where you might want to use a larger subset of it's features you're probably in the territory to get brand built/supported kit from someone.

    As a learning exercise i found it really useful; i couldn't tell you which bits, but a reasonable part of my background knowledge of networking/routing comes from setting up and using ipcop.
     
  13. Burnout21

    Burnout21 Mmmm biscuits

    Joined:
    9 Sep 2005
    Posts:
    8,616
    Likes Received:
    197
    got say smoothwall is very very nice, I got into it a while back during a UEFI rootkit virus headache I was resolving and wanted a secure web access.
     
  14. Pady

    Pady What's a Dremel?

    Joined:
    12 Nov 2001
    Posts:
    7
    Likes Received:
    1
    Has anyone tried the astaro free home edition?

    Sent from my GT-I9300 using Tapatalk 4 Beta
     
  15. deathtaker27

    deathtaker27 Modder

    Joined:
    17 Apr 2010
    Posts:
    2,238
    Likes Received:
    186
    I had a play with the sophos home router that was some fun :)

    went out and bought a router for what i needed, will be playing with some of these open source routers later
     
  16. Burnout21

    Burnout21 Mmmm biscuits

    Joined:
    9 Sep 2005
    Posts:
    8,616
    Likes Received:
    197
    Nope, plus the fact that it's closed source makes my skin crawl.

    If it's free make it open, if its not free what are you hiding? Or have them disabled important features making you want to upgrade to the non free one.
     
  17. alecamused

    alecamused Minimodder

    Joined:
    22 Apr 2008
    Posts:
    302
    Likes Received:
    24
    +1 for pfsense
     
  18. Andy Mc

    Andy Mc Modder

    Joined:
    23 May 2002
    Posts:
    1,743
    Likes Received:
    133
    My advise would be to go with either m0n0wall or pfsense. If you are on DSL then try looking to get hold of a Draytek Vigor 120 Ethernet Modem (I have one hooked up to my firewall at home) to do true PPPoE connectivity from the router and ADSL modem for your WAN.
    Thewy are a little expensive but rock solid. My line was estimated to get 20meg with TalkTalk and I'm getting about 22/23meg which is good. In my last place the same modem got 21meg when TalkTalk estimated 12 to 18 meg.
     

Share This Page