benoitc/upnp


Erlang UPNP Module

Language: Erlang


This code is in maintenance mode only. It has been superceed by nat_upnp which is easier to use in your Erlang application:

https://github.com/benoitc/nat_upnp

upnp support

Application that provides a way to map a local port to the external using UPnP IGD.

Code extracted from etorrent .

Example of usage:

1> ssl:start().
2> application:start(hackney).
3> application:start(ranch).  
4> application:start(cowboy).
5> lager:start().            
6> application:start(upnp).  
7> upnp:start(test, [{ip, "0.0.0.0"}, {maps, [{"example.com", tcp, 8000}]}]).

This will map the port 8000 on the external IP to your application

Project Statistics

Sourcerank 4
Repository Size 284 KB
Stars 12
Forks 7
Watchers 5
Open issues 3
Dependencies 0
Contributors 5
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Jesper Louis Andersen Michael Uvarov Benoit Chesneau Max Treskin eryx67

Something wrong with this page? Make a suggestion

Last synced: 2017-11-24 21:41:27 UTC

Login to resync this repository