oscP5 over internet

edited February 2019 in Library Questions

How would one go about oscP5 from a computer outside the local network to a server inside the local network over the internet?

Answers

  • Answer ✓

    If it's a company with a network administrator, he would have to forward the right port to the server.

    If it's a home setup, you should access your router settings, probably via web panel, and forward the osc port you are using to the correct local IP of your server.

    This is often done any time you want to offer a service (for instance a web server) from a machine in your local network to the outside world.

    Then, the outside computer must know the public IP of your home network. You can find that out browsing from your local network to this site http://www.whatsmyip.org/ That's the IP your outside computer must talk to. The problem is that this IP can change. To solve that, your router might be able to publish this IP to a service like dyndns.org. This way, your outside computer no longer has to connect to an IP address that can change, but to something more like myoscexperiment.dyndns.org

  • edited March 2014

    If the server's router got a "DMZ" config section, fill in its local (LAN) IP there.
    Otherwise, search for "Port Forwarding" section, fill in server's LAN IP and choose port range and type (TCP/UDP).

    You also gotta sign up for a Dynamic DNS service provider. For example:
    http://www.NoIP.com

    Most routers also got a section where we can fill in the DDNS info! (*)
    Otherwise, you gotta install a little service/dæmon in order for the server to inform the DDNS its current WAN IP! #-o

  • edited March 2014

    But in the sad case you don't have access to the server's LAN router config, there's still another more complicated option.

    Well, as long as the UPnP server is activated in that router and you have authorization
    to install a simple program called MiniUPnP in the server:

    http://miniupnp.tuxfamily.org/files/

    Then you just need to create a batch/bash script which automatically runs at every login.
    That'll hopefully open a UPnP redirection port from the router to the computer running the script + MiniUPnP! %%-

    Here's a script example I've had when I used WinXP: =:)

    upnpc -d 21 TCP 22 TCP 70 TCP 80 TCP 587 TCP 1024 TCP 6667 TCP
    upnpc -r 21 TCP 22 TCP 70 TCP 80 TCP 587 TCP 1024 TCP 6667 TCP
    

    Replace upnpc w/ its correct program's name. And of course, choose the ports you want active for redirection!

    In case you can't install it in the server workstation itself, but in another PC from the same server's LAN,
    you can even modify the script to force a redirection to the server's IP anyway! >:)

    Good luck! o=>

Sign In or Register to comment.