Shop OBEX P1 Docs P2 Docs Learn Events
How to make the web clicker work around the world? — Parallax Forums

How to make the web clicker work around the world?

MicrocontrolledMicrocontrolled Posts: 2,461
edited 2010-11-30 05:55 in General Discussion
Hi,

After looking at Nick's wonderful WebClicker (see here: http://forums.parallax.com/showthread.php?t=125494) I started wondering how you would modify it to work around the world. Basically, if you are not on your own network, it will not work. This is probably due to the gateway being set the same as the router. What should I do to modify this to work from any network in the world?

Thanks,
Micro

Comments

  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-11-29 13:38
    In short you need to "port forward" data from the specific port you are using to the local IP address on the device. This is done in the router. I'm hunting for a decent HOWTO on this right now, (or I'll create one) as there are several in the Spinneret forum who are doing the same type of thing.

    OBC
  • Mike2545Mike2545 Posts: 433
    edited 2010-11-29 13:39
    Try setting up your PC for remote desktop connection. Then you could have access around the world.
  • tonyp12tonyp12 Posts: 1,951
    edited 2010-11-29 17:51
    With any access for the outside, you need to tell the router what device to use.
    http://www.wikihow.com/Set-up-Port-Forwarding-on-a-Router

    Think of port as a decimal point. so if your IP address is 98.249.208.61
    use http://www.whatismyip.com/ to find out.


    http://98.249.208.61:80
    would take you to the webserver if you configure port 80 to be fowarded to
    port 80 on local IP address example 192.168.1.122 in you router settings.

    You can pretty much use any number you want, like 1600
    and incoming don't even have be the same number as the forwarded one (if it's an option in router)



    Two problems that can happen:

    You outside IP address change often.

    Remedy, use free www.dyndns.org (most routers support it) to call out every hour
    to update it's IP address (think of it like caller id)


    You inside IP address for the device change when you power cycle your router.
    Tell router (or the device) not to use dhcp for this device/mac id, but a fixed one (like below .100)
  • Don MDon M Posts: 1,654
    edited 2010-11-29 18:12
    Found a neat website that may help test your ports- http://www.canyouseeme.org/
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-11-30 05:55
    I'm working on a document for this... Can't find anything to my liking out on the web. It'll take me a day or two, but I think it'll help.

    I used to teach this stuff (CCAI) in a past life....

    OBC
Sign In or Register to comment.