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

Newbie: viewing Tomato from the internet

Discussion in 'Tomato Firmware' started by mattsnuts, Oct 15, 2009.

  1. mattsnuts

    mattsnuts Addicted to LI Member

    Hi

    Newbie here. I've been running tomato for a number of months, with DynDns setup and port forwarding working correctly to my server behind the tomato router.

    So if I navigate to http://xxxx.gotdns.com the website running on my server comes up OK.

    Now I want to see the actual tomato admin page from the internet instead of my server page. So I removed the entry for port forwarding of port 80 and try navigate to my gotdns.com url as before, and I expected to see the tomato router page come up but it doesn't, i get connection timeout.

    Do I have to enable something else to see the tomato admin page from the internet?


    Thanks

    -Matt

    PS. The reason I want to do this is to use try use tomato's WOL to wake up my server, WOL over the internet works sometimes but not consistently.
     
  2. Engineer

    Engineer Network Guru Member

    Log into the router and go to the Administration page. Make sure that the Local Access box is set to "HTTP" (or HTTPS if you prefer) and the Remote Access box is set to "Enabled".


    Sort of off topic but part of the problem with WOL over the internet is that there needs to be a permanent entry in the ARP tables of the router to make it work consistantly.

    The following corrects that....

    Add the following to your "init" script (remove everything that was entered previously) and save.

    sleep 5
    ip neigh change 192.168.0.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0
    ip neigh add 192.168.0.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0

    The IP (listed) can be any IP in your subnet that you are NOT going to use (i.e. don't use 192.168.0.254 for any PC in the network).

    Now forward ANY UPD port that you like (9 for example) to the same IP listed (192.168.0.254 in the example). Save the forward.


    Reboot router.

    Go to any link that sends the magic packet. Send magic packet to IP address (from ISP), port used above, MAC of the PC you want to wake up as well as a subnet mask of 255.255.255.255. PC should wake up. You can now wake up ANY pc on your LAN in the same subnet simply by using the forwarded port and MAC address. You no longer need static IP's, static DHCP, or individual forwarded ports. The above commands allow your forwarded port to be "broadcast" to the entire lan.
     
  3. philtrim

    philtrim Addicted to LI Member

    Off Topic! - Go Cats!

    Engineer,

    Couldn't help but notice your avatar. I am getting anxious and excited about upcoming CATS basbekball season. Are you in/from KY? I live in the eastern part of the State.
     
  4. inaninck

    inaninck Addicted to LI Member

    This is just 1 solution; I have installed open-ssh on my Ubuntu desktop. On my XP Laptop I have the free Xming X-server running. From my laptop I start Putty with X11-forwarding enabled to my routers' external IP. On the router I have ssh port forward to my desktop.
    Now, from the terminal window I recieve from the Putty connection I can start Opera on my desktop and it displays on the X-server on my laptop. Now I can do anything I can do normally from home with my Opera browser, even view the Tomato pages :)
     
  5. Engineer

    Engineer Network Guru Member

    I do the same with Putty from my Win2k laptop (old, I know).

    Even wrote a little guide at AnandTech. However, won't work from my employer as they have the SSH filtered out via Proxy. Can't tunnel through.

    http://forums.anandtech.com/message...readid=2327992&highlight_key=y&keyword1=putty

    While it's nice to have the SSH, the remote administration should work if set up properly.
     
  6. mattsnuts

    mattsnuts Addicted to LI Member

    I'm confused.

    Firstly, should I be able to see my router's admin page from the internet? As above, I can't, but I don't know if I can't because you're not supposed to be able to, or because something is broken with my config.

    -Matt
     
  7. Engineer

    Engineer Network Guru Member

    Log into the router and go to the Administration page (from inside the house - i.e. LAN). Make sure that the Local Access box is set to "HTTP", HTTP Port is set to 80 and the Remote Access box is set to "Enabled" (Don't forget to <SAVE> if you make changes). After confirming the above (or changing to match), you should be able to reach your router's administration page from the internet (WAN) side.
     
  8. mattsnuts

    mattsnuts Addicted to LI Member

    Thanks Engineer, I'd been through every page on the tomato interface many times but I never noticed the "Administration" link right at the bottom! Remote Access was disabled which was my problem.
     

Share This Page