Jump to content

  •  

  • iBotModz CBox


    Photo

    Router Secrets Revealed/Things You Need To Make A Router


    • Please log in to reply
    4 replies to this topic

    #1 360

    360

      Sergeant Grade 2

    • Donors

    • 373 posts
    • Joined: 28-June 09
    • Gender:Male

    Posted 15 July 2009 - 10:31 PM

    This thread sets out to explain:

    a) what a router is and why you need one

    B) why setting up your own router / firewall is better than buying something 'off the shelf'

    c) how simple it is setup a very secure router / firewall for you i'net connection at minimum cost and effort (i.e. for free in 1 hour!)

    d) the secrets - what the router manufacturers didn't want you to know

    Why do I need a router?

    A router or router-firewall (I will use the terms interchangably, where I say 'router' I mean 'router-firewall') in the simplest sense is just something that sits between your ISP connection (be that a dial-up modem an ADSL modem or a cable modem) and allows data (e.g. the web page you are viewing) to be routed between the internet and your internal 'home network'.

    Your 'home network' might be just one PC but a router allows you to block all types inbound or network related attacks, e.g. any kind of internet worm that works by connecting to RPC or DCOM ports and many other types of attacks that try to connect to you from the internet. In simple terms a firewall-router protects your PC(s) from the bad people on the internet very effectivly, you don't need to know anything about how it works or how to setup the 'firewall' side of things to be protected, most routers come configured to work well with no real setup needed.

    The other main advantage to using a router is that you can leave it on 24/7 and connect any number of PCs into your network at home to all share the internet connection with minimum fuss. A router should be very stable and many people leave them on 24/7 to give them a more or less permanent connection to the internet.

    Some people suggest running a 'personal firewall', this is no bad thing but it suffers from some major drawbacks. The term 'personal firewall' I take to mean a firewall application that is running on your actual PC, that's the problem with it! Anything that runs on your PC is vunerible to a potential virus or malware that you might accidently download and run. Some malware explictly targets personal firewall apps and disables them, sometimes in ways which are not obvious to spot. A 'router-firewall' on the other hand is running on a dedicated box and so is far harder to bypass or disable. That's not to say they are useless, they are certainly better than nothing, there's free ones about so check them out if you decide not to have a router!


    Why should I make my own?

    because you can and it's fun!

    An ADSL router can be purchased and they aren't much more now than an ADSL USB modem but many people already have USB modems and want to 'upgrade' to use a router-firewall, if you make your own you can use the existing USB modem and build the actual firewall-router part, saving money.

    Many routers you can buy are just plain rubbish, you only need to search the intarweb (ian ) for people trying to use a purchased router with a peer2peer app (like emule / kazza etc) to see the amount of issues.

    A cheap purchased router in a lot of cases tends to crash or 'reset' when you push your internet connection with lots of downloads or uploads. In my experiance I can have over 1000 simultaneous connections and the router I built doesn't even break a sweat, let alone become unstable.

    Making your own router gives you the kind of flexibility that you can't get from a purchased router, it is upgradable with a simple download and new features are being added as time goes on. Once you have bought a router you are stuck with the functionality you got when you bought it, until you buy a newer one of course!

    Support, a router you build based on the free open source software around is made by a bunch of people like you, there is an active community of people who will help you get setup and offer advice if you want your router to do something more as your needs and understanding grows.


    Setting up the router-firewall

    to make a router you will need the following,

    a) 1 old PC (a p100 with 32 megs ram and a 500 meg or 1 gig HD is more than enough),, this will become the dedicated router-firewall.

    B) some way to connect the router to the ISP, i.e. an ADSL USB modem for ADSL or a NIC (ethernet card) for cable modem or a dialup modem if you are using dialup. If the old PC doesn't have a USB port then you can get a PCI USB card for around 15 quid or less.

    c) a NIC card to connect the router to your home lan (wireless will be an option soon!) a NIC card costs around 5 quid, you will also need a NIC card in each PC you need to connect.

    d) a ethernet switch (or hub) if you have more than one PC you need to connect, a switch works just like a multi-way extention cable but it's designed to split an ethernet connection between your PCs so you can plug in many PCs (an 8 way switch for connecting 7 PCs is about 50 quid or less now, a 4 way switch for connecting 3 PCs is around 20 quid), if you have more than 7 PCs you want to connect then get another switch and connect it in or get a larger switch to start with.

    Once you have the bits you are set

    In my opinion the the easiest and best router-firewall can be made by downloading 'IPCop' from http://www.ipcop.org - it's a free, open source firewall.

    Installation is simple, just burn a CD from the downloaded file (the complete OS is only 30 megs!) and boot from the CD to install. If your old / doner PC can't boot from CD then you will need to use floppy disks which can be created on another PC by using the IPCop CD you made. (there are other ways to install it without needing even a CD drive - but that is beyond the scope of this txt!)

    IPCop is a complete operating system, which means there is no underlying windows OS required on the p100 / doner PC and no licenses to worry about. This is the truely neat part, a free OS that is pre-configured to install simply and provide you with a high quality dedicated firewall-router that is simple to setup and simple to use.

    If you are installing IPCop for the first time then you will need to read the installation manual at http://www.ipcop.org....pDocumentation , think of it as reading the manual to your video recorder, it isn't that long and will allow you to understand IPCop and become more confident about the installation process. I think you can install it in about an hour after reading install guide.

    If you get stuck, ask!


    Secrets of Purchased routers

    ok - not that secret and mostly conjecture

    many people are under the impression there is something called a 'hardware router-firewall' that is magically more secure and stable than a 'router-firewall' you can make yourself.. this is generally wrong on 2 counts,

    a purchased ADSL router, if you opened it up, is really something like a 486 CPU with not much memory running some firewall software that's loaded off a diskless storage device, i.e. it's not a 'hardware router-firewall',. if such a thing even exists! They can crash and fail just like any other computer you ever used.

    whether it can be more secure is not quite so easy to dispute, all things have flaws, firewalls are no exception,. generally speaking a firewall based on linux (as IPCop) is secure if setup correctly, IPCop is easy to setup and hard to setup wrongly (though as with a purchased router-firewall it can be setup to be insecure if you try!).

    IPCop regularly puts out fixes for their code, the kind of fixes you will see are generally not fixes to the 'internet side' of the router, they are usually small issues that could only be exploited with great difficulty by a determined hacker who could plug their computer into the network at your house (of course there's other ways that can happen e.g. some kind of remote access trojan).

    It is hard to know what kind of issues exist within a purchased router, if there are so called 'firmware upgrades' these may contain fixes for insecurities in the firewall - it is hard to tell because they may not want that kind of information made public?

    ..

    I'll add more to this as I think of it,.. please post any views or questions you have

    #2 MON3V

    MON3V

      Apprentice Grade 2

    • Members+

    • 12 posts
    • Joined: 04-May 09

    Posted 16 July 2009 - 08:46 AM

    Nice copy and paste...

    #3 lostmodz26

    lostmodz26

      I am lostmodz26.

    • VIP

    • 1,153 posts
    • Joined: 12-March 09
    • Gender:Male
    • Location:Northern Louisiana

    Posted 16 July 2009 - 09:13 AM

    Nice copy and paste...


    Agreed. But this could help a lot of people.

    #4 amcboi95

    amcboi95

      Corporal Grade 1

    • Members+

    • 150 posts
    • Joined: 05-June 08
    • Gender:Male

    Posted 16 July 2009 - 10:24 AM

    lolfail @ "This Took Me About Two And A Half Weeks To Make"

    Edited by amcboi95, 16 July 2009 - 10:24 AM.


    #5 360

    360

      Sergeant Grade 2

    • Donors

    • 373 posts
    • Joined: 28-June 09
    • Gender:Male

    Posted 16 July 2009 - 01:24 PM

    Ok you assholes what's with the - Rep I did Copy and Paste this, but JSYK, It says took ME about two and a half weeks to make. Enough with the - Rep Lost is the ONLY person who has said something positive on like most of my posts.