![]() ![]() ![]() simple upnp not here, need either able upnp port mapping on both dsl modem, router (probably impossible since router won't let upnp requests leave wan port), or set either dsl modem or router bridge rather nat, behind 1 nat.Įdit 2: possible way around double natting replace router linux box (such using openwrt or similar), run upnp code on there forward dsl modem port, run miniupnp-based code on host behind router further open router. best of luck whatever you're doing.Įdit: in response comment, behind 2 nats, 1 dsl modem, 1 wireless router, if understand correctly. Note second link,, code popular bittorrent client "transmission" uses miniupnp library (first link). See following libraries, examples,, tools upnp client implementations programmatically forward/map ports on router, if averse python (these in c, perl): example, µtorrent has one, libtorrent/rtorrent, many others. ![]() alternatively, many different programs use network have upnp modules open ports, forward/map them local machine. I recommend play coherence in python, can fun programming experience. on macs, manual gui tool available creators of subetha edit. If want one-off manually, there excellent command-line, gui tools create upnp port mappings. I assuming want automatically/programmatically part of creating, why pointed above coherence dnla/upnp framework in python. The coherence modules available on debian python-coherence package. You can see example part of coherence dnla/upnp framework in python module called "puncher" ("punches" holes in firewall, duh! :o) can create port mappings of external ports (like port 8080) internal ports of choosing: ![]()
0 Comments
Leave a Reply. |