Using Upnp for Port Forwarding - Wan Interface

Discussion in 'Tomato Firmware' started by Mojonba, Nov 26, 2013.

  1. Mojonba

    Mojonba Network Guru Member

    Hey guys,

    I would like to know if it is possible to use Upnp to open/forward a port to another router connected to the Wan interface?

    I am interested because my setup is a router behind a router. I would like to open port 3389 for rdp connections. I can set up manual port forwarding rules in the second router, but I cannot in the first. Is there a command I can issue from my second router to se up a port forwarding rule using Upnp.

    Thanks,
     
  2. koitsu

    koitsu Network Guru Member

    There are no built-in command-line tools I'm aware of to induce a UPnP forward on an upstream device (or a local device for that matter). The protocol is annoying/complex.

    If you are able to install Entware (assuming your second router has a USB port and you have a small USB stick you can use for extra space), there is a package called miniupnpc (note the c, not d! d is the daemon and comes with many TomatoUSB builds, c is the client) which you can install. The client/program to run is called upnpc. It should be able to do what you need.

    For assistance with this program / how to use it, you will need to speak to the author/discuss it on their forum. This is not a support forum for such third-party software. http://miniupnp.free.fr/ http://miniupnp.tuxfamily.org/forum/

    Good luck.
     
  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