In Fire We Trust

In the darkest corner light will shine



11 Jun

Print This Post The Perfect SOHO router - Part 1
чети на bulgarian 

This is the first part of series of articles in which i will explain how to create the perfect SOHO router. I have to note that this is my idea of a perfect router with all the good and bad points stemming from it.

The series will comprise of the following articles:

Off we go with part one.
The idea
From some time i am toying with the idea for these articles. The topic of SOHO routers is interesting from many points. On one side they should be cheap machines. On the other side they sould be effective to do the task. And maybe the last point is that i haven’t seen such article(s). And really the last - i really like to write it.

Needed services
Here must go the most of the thinking. We should define exactly what services our router will execute. The absolute minimum is routing/masquerading and SSH. In reality this is enough but a bit uncomfortable. Mine minimum is:

  • Routing/masquerading/NAT - without it there is no point of router
  • SSH - for console management
  • Caching DNS - for our own fake zone, speed and partial independence from our ISP
  • DHCP server wihich will configure our network in automatic fashion
  • Minimalistic web based system for monitoring, statistic and simple checks

All in all this is a good set of services which require minimum maintenance and ease of use. I personally prefer to have the following additional services:

  • Samba - to calm down windows machines in our network. It serves MasterBrowser and WINS
  • NTP server - for serving correct time
  • FTP server - for remote upload of stuff

Some thoughts
So after we have chosen our services, the choice for distribution still hangs. I personally prefer debian and will realise this project with it. Everyone is free to chose whatewer he wants and feels comfortable with. We should think early for the security, the rights of access, shall we use quotas/limits. What type of masking we will use and other small things. Most of this questions pop in the process of work so please read the whole series before trying to use it.

General pointers
This is not a simple project. It is supposed that you know what you are attempting to accomplish. Every error that has slipped trough can bite you at a later stage. So think in time and think it at least twice.

The Series continues with The Perfect SOHO router - Part 2

8 Responses to “The Perfect SOHO router - Part 1”

  1. 1
    FREESCO Says:

    В момента ползвам този рутер и смея да твърдя че е нереално стабилен на високи натоварвания(торенти и други P2P)Конфигурира се за 10-15 минути дори и от лаици като мен спрямо Линукс,и съседа има нет ;)
    Има си SSH,Web,принтер сървър,time server много други екстри.Посетете сайта и разгледайте добре.Всичко това се побира на една дискета.В момента умувам как да го кача на USB защото всички знаем какви са дискетите като носители.Успех!
    P.S.Не бих искал да омаловажавам вашите усилия…за което се извинявам предварително.

  2. 2
    Sokratus Says:

    Здравейте,

    Не съм голям специалист по тези неща, но моя системен администратор ми казваше, че Samba, FTP и NTP услугите, не трябва да се виждат отвън, защото можели да се хакнат!
    И зато се слагали в DMZ.

    Поздрави

  3. 3
    zeridon Says:

    За Freesco: да вярно е че се настройва бързо и е лесен, но е с малко стар софтуер и честно казано не успява да държи сериозни трафици на слаби машини. Машинката която ползвам за този конкретен проект удържа 70 Мбит след малко тунинг.

    @Socratus: Мда администратора ти е частично прав. Има някои рискове със тях и поради тази причина тези услуги слушат само от вътрешната страна. Тоест само за локалната ни мрежа. Отделно от външната страна има правила които експлицитно отрязват трафика до тях. Така че може да се каже че е що годе сигурно.

  4. 4
    drRoss Says:

    Първо, твърдението, че router е само за private network с nat не е вярно.
    Ако говорим за малък офис (3-4 компютъра) да, само еди router Linux базиран става.
    Но ако става въпрос за повече компютри, сериозна вътрешна организация, web, mail, vpn, voip и други услуги, най-добре е да се комбинира между две операционни системи.
    Няма да се заблуждаваме, вероятността „вътрешните” компютри да с Windows е 99,99% :-)
    При този случай препоръчвам да се използва Linux за router и Windows за domain controller + exchange mail server.
    Това за мен е най-добрата комбинация.
    Въпроса с www на коя от двете машини ще се намира е вече въпрос на избор.
    Не препоръчвам за никой от изброените services (www, mail, samba-domain controller e.g.) да се ползва Router-а.
    (Не е фатално, но колкото по-малко компромиси, толкова по-добре)
    Linux дистрибуцията също не е от значение, въпрос на предпочитания за настройка, но съвета ми е колкото по-неизвестна, толкова по-добре :-)
    Също така препоръчвам сегментиране на вътрешната мрежа, добре е ако се спомене и това.
    Поздрави и успехи на проекта :-)

  5. 5
    mortimor Says:

    drRoss:
    ***** Рутиране/маскиране/НАТ - без него няма смисъл от рутер
    няма твърдение че е само за private network

    SOHO - Small office/home office

    поздрави

  6. 6
    CECO Says:

    TOVA DOBRE ZVU4I,A SHTE PISHETE LI PRAVILA S IPTABLES ZA FIREWAL, KAKTO I DRUGI NA4INI ZA ZASHTITA TAM S /PROC I TNT????
    V TAZI 4AST MOGA I AZ DA DAM NQKOLKO REDA S IPTABLES, PONEJE DOSTA SAM ROVIL NA TAZI TEMA :)
    A I ZASHTO NE GO NAPRAVITE SASHTOTO TOVA NESHTO SAMO 4E SAS SLACKWARE! DA NE ZABRAVQME 4E TE VINAGI RABOTQT SAS STABILNI PAKETI I TAKA SE KAJE SE VODI ZA PROFESIONALNA DISTRIBUCIQ :))

  7. 7
    zeridon Says:

    Да ще има и iptables … даже вече е написано ето тук: http://www.getoto.net/2007/06/the-perfect-soho-router-part-4/

    Ако имаш желание пиши в коментарите там.

  8. 8
    The Perfect SOHO router - Part 4 « In Fire We Trust Says:

    [...] Basic hints, ideas, needed services and some thoughts - Here i will try to argument myself upon the choice of software and services for the router [...]

Leave a comment

XHTML: Tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <code lang="language"> [lang_en][/lang_en] [lang_bg][/lang_bg] <ul> <ol>


In Fire We Trust

Say NO to trud