ADSL router problems (timofonica)

Translation of the original in Catalan. Read it in: CatalàCastellano

On l-linux this week very interesting reports have come out about the problems when it comes to accessing the intranets that are inside the ADSL routers of timo, I take advantage of this article to paste a very interesting message about the 3com routers.

Telefónica Data installs this router lately when ADSL is contracted. But they put a heap of obstacles in the way so that the users themselves do not have access to the router.

What does Telefónica do?

The first thing it does (if it does it) is for a 'qualified' installer to go and configure your router and check that everything 'works' fine.

What do we discover when he leaves?

When the nice gentleman leaves, we pick up the router box and what do we find... NOTHING!, not an installation CD, not an instruction manual, nothing at all. So be sharp and at least copy the CD that the installer brings to your HD.

We call Telefónica and apparently that's how it works. No CD and no manual. Well, how nice. Off we go round and round www.3com.com to look for the pdf with the manual.

When we download the manual and skim through it we see that oh! but we can configure the router through the browser and telnet!!. We open the browser and type http://10.0.0.1 (which is usually the IP they put on the router). After a while we discover that nothing responds there... we go to telnet and much the same.

What is happening?

If we look closely the installer has connected the router to our PC through a serial port, and if we read a bit more the pdf says that if we connect to the serial port it is as if it were a telnet.

We open the terminal and configure it like this:

Connection: COM1 (depends on your PC, it can be 1 or 2)

Bits per second: 9600

Data bits: 7

Parity: E (space, S in English)

Stop bits: 1

We click connect and it says:

Login:

It asks us for the user name. Well, no problem, in the pdf you have downloaded there is a default LOGIN and PASSWORD for all the routers, so we put them in, and it says:

Login: root

Password: !root

Login incorrect.

Incorrect!... the Telefónica people have deleted the default user... Oh well, there is always someone who talks more than they should, and thanks to that we know the user and password.

Login: adminttd

Password: adminttd

3Com-DSL>

We are Inside, well, now we have to see why we cannot configure the router either through the web or through telnet. This is because the Telefónica people have installed in the router 2 filters that take care of the following:

-On one hand they deny access to any IP on ports 80 and 23.

-On the other hand they ALLOW access to a certain IP (195...) which must be from telefónica.

So, we buy a router from them and only they can manage it? well this can be fixed. Do the following:

3Com-DSL>delete filter filtro

3Com-DSL>delete filter filtro2

They are already deleted. Now all that remains is to save it so that if it is reset it is not lost.

3Com-DSL>save all

Saving..... SAVE ALL

SAVE ALL Complete

That's it. Now you run a risk, and that is that you have opened port 80 and 23 to the whole Internet, which means anyone can access with the user and password of telefónica (adminttd). So... do the following. Create a user and delete the other one, for example:

3Com-DSL>add user administrador password clave_personal

3Com-DSL>delete user adminttd

3Com-DSL>save all

Saving..... SAVE ALL

SAVE ALL Complete

Now you have created a user whose Login is administrador and the password is 'clave_personal' (replace clave_personal with the one you want). In addition you have deleted the adminttd user and saved all the configuration.

Now you can open the browser and type http://10.0.0.1 So now you can see how to configure everything.

Perfect, but... what now?

Well now it depends very much on you. If the only thing you want is to have an Internet connection, it is fine as it is, but if you want additional services such as being able to do DCC's or host your own web... keep reading.

Why can't I do DCC's?

A DCC is a direct connection from your PC to the PC of another person.

This connection uses port 59 of your PC to be established. The router is configured so that all requests to any port that you make from the Internet work. Therefore if someone does a DCC to you it WILL work.

But if it is you who opens a DCC it will not work since you open port 59 on your computer (10.0.0.2 because it is an intranet) but you do NOT open it to the Internet.

That is, the IP that people see is not that of your computer, but that of your router! therefore you have to allow that if someone connects to port 59 of the router this is redirected to your port 59.

How do I do this?

Go to the web configuration (http://10.0.0.1) and put your user name and password. Then click on 'Configuration' -> 'Remote Sites (WAN)' -> 'Modify' -> 'Next' Here check the box 'NAT' and click on 'TCP' -> 'ADD' and fill in the following boxes like this:

Public TCP Port: 59

Private IP Address: 10.0.0.2 (or the IP of your machine)

Private TCP Port: 59

Click on 'ADD' -> '<< PREV' -> 'MODIFY' and that's it. Now it should work.

So I can redirect any port to my PC, right? Yes, but keep in mind that if you redirect port 80 and 23 you will not be able to administer your machine from the Internet.

And to put up a web?

You can do the following: Go to the web configuration (http://10.0.0.1) and put your user name and password. Then click on 'Configuration' -> 'Remote Sites (WAN)' -> 'Modify' -> 'Next' -> 'TCP' -> 'ADD' and fill in the following boxes like this:

Public TCP Port: 8000

Private IP Address: 10.0.0.1 (or the IP of your router)

Private TCP Port: 80

Now click on 'ADD' -> 'ADD' and fill it in like this

Public TCP Port: 2323

Private IP Address: 10.0.0.1 (or the IP of your router)

Private TCP Port: 23

Now click on 'ADD' -> 'ADD' and fill it in like this

Public TCP Port: 23

Private IP Address: 10.0.0.2 (or the IP of your machine)

Private TCP Port: 23

Now click on 'ADD' -> 'ADD' and fill it in like this

Public TCP Port: 80

Private IP Address: 10.0.0.2 (or the IP of your machine)

Private TCP Port: 80

Click on 'ADD' -> '<< PREV' -> 'MODIFY' and then click on 'SAVE CONFIGURATION'. What we have done with this is that now, to administer through the web from inet you have to put http://10.0.0.1:8000 and to do a telnet you have to do it to port 2323. That is:

Internet -> router(port 80)->internal IP machine(port 80)

Internet -> router(port 23)->internal IP machine(port 23)

Internet -> router(port 8000)->internal IP router(port 80)

Internet -> router(port 2323)->internal IP router(port 23)

I hope that with this the whole router business has become a little clearer for you. Don't touch things without knowing, read the pdf properly.

Thanks to the Akelarre Group:

Http://akelarre.es.vg

ADSL Users Association:

Http://adslhoy.portalgsm.com

ADSL Forums:

Http://foros.portalgsm.com

5 comments

Comments from the old blog, as they were written. Comments are closed.

  1. Oriol Rius

    adsl.nofunciona.com

    En aquesta URL hi ha un forum on la gent explica els problemes i possibles
    solucions als mateix.

  2. Oriol Rius

    A continuación solución a cómo hacer pública tu web
    con el router Speed Stream 5660:

    -lo primero es in ipfiltering cargarse el acceso "secreto" quedeja timofonica
    para entrarnos

    -luego si quieres eliminar el corte de los puertos 21 y 23 (al menos a mi me
    los cortaron)

    - Te vas a Advanced Setup

    - En el menú verde de la izquierda, pinchas en Network Address Port
    Translation (NAPT)

    - Te saldrá un menú con 3 opciones, así que pincha en
    Configure NAPT Servers

    - Te sale una página, y al final verás un formulario para
    introducir nuevas entradas. Selecciona lo siguiente:

    Protocol: TCP

    Service: http (o especifica un puerto si quieres)

    Server: numero de IP de la maquina dentro de tu intranet que quieres que
    responda a las peticiones del puerto 80

    - Tras eso, pincha en Add Service, y ya estará puesto.

    - Ahora, IMPORTANTE, deja la ADSL conectada y conéctate a internet desde
    otro sitio (conexion, ordenador, etc) y accede a tu numero de Ip, así
    podrás ver tu web. Si lo intentas mirar desde la propia ADSL, no te
    saldrá tu web, si no las opciones de configuración del
    router.

    - Ya está!!

  3. Oriol Rius

    Amb el router ADSL 3com 812 q monta telefonica després de fer-li tots
    els canvis q hi ha a la part superior del missatge, he comprobat q si intento
    fer una conexió des d'una xarxa enmascarada (IPMasquarade) aquesta
    connexió no f funciona. Avui he parlat amb el Xoli sobre el tema i ell
    m'ha dit q té'un SpeedStream a casa seva i això no li passa, ja
    q, des de la feina accedeix enmascarat i li funciona bé.

    Tan aviat com pugui faré proves ambun sniffer per tal de mirar-me les
    trames q arriben i comprobar quin és el possible error.

  4. Oriol Rius

    Finalment, puc afirmar que l'error no és de l'enmascarament d'ips pq a
    mataró q sortim enmascarats a través d'un modem de 56k la
    conexió funciona bé. Per tant, algo passa a casa meva.

  5. ADMIN

    HOLAAAAAAAAA