Reading the Modem-stats over the wrt54?

Discussion in 'Tomato Firmware' started by El Labero, Aug 18, 2007.

  1. El Labero

    El Labero LI Guru Member

    iḿ trying to read my Modemstats from, My router has the ip The tool which can read the infos did i get from

    My problem is that the ip from the Modem isn reachable from my Lan/system,
    i found a solution for users of the dd-wrt.v23 SP1 firmware. it says that i should enter
    /usr/sbin/iptables -I POSTROUTING -t nat -o vlan1 -d -j MASQUERADE
    in the Firewall-script, and
    ip addr add dev vlan1 brd +
    in the startup script.

    if i put these scentences into the Start/Firewall parts of tomato, it reaches the router gui, but not the modem gui whic i want to see.

    Any Ideas?
  2. mikester

    mikester Network Guru Member

    You will probably need to open/forward port 23 if the modem stats are not using the standard port 80 (http)
  3. El Labero

    El Labero LI Guru Member

    hmm, to which ip shall i forward them, to

    but i think this is not the problem, because the web-gui is reachable over port 80.
  4. Odin-60

    Odin-60 LI Guru Member

    Note that the address in this command is assigned to the
    router (within the VLAN at the WAN port).
    Replace it with, say,
    ip addr add dev vlan1 brd +

    As a result, will lead you to the modem, as
    expected (while the router is assigned the 11.)
  5. mikester

    mikester Network Guru Member

    I'm guessing from your web link that the modem stats are being broadcast over port 23. You can choose to accept and forward all traffic from the modem to your internal network.

    Right now Tomato firewall is blocking all external traffic - including the modem.

    BTW, i think you want to use either

    ip addr add dev vlan1 brd +
    (routes ALL traffic from 192.168.1.x)


    ip addr add dev vlan1 brd +
    (routes traffic ONLY from
  6. El Labero

    El Labero LI Guru Member

    jup, now it works^^ finally , the whole weekend i´m trying to make it work^^
    thank you for your help^^
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice