Git Product home page Git Product logo

Comments (7)

s-vincent avatar s-vincent commented on August 19, 2024 1

I begin an initial implementation for UPnP support with libminiupnpc. You can follow/test with the upnp branch.

from freelan.

ereOn avatar ereOn commented on August 19, 2024 1

@s-vincent Terrific news ! You seem unstoppable these days ! I like that ;)

from freelan.

korzec avatar korzec commented on August 19, 2024

One way could be to allow a shell command to be set in config file that would run the upnp function.

For example using the PortMapper can be a simple multi-platform solution:

java -jar PortMapper.jar -add -externalPort 1200 -internalPort 1200 [-ip <ip-addr>] -description desc

from freelan.

s-vincent avatar s-vincent commented on August 19, 2024

The libminiupnpc (C library) is portable on GNU/Linux, macOS and Windows so it can be a good candidate.

The code to add a mapping does not seems too much complicated: https://stackoverflow.com/a/25789141.

from freelan.

leggewie avatar leggewie commented on August 19, 2024

Great news. Thanks, Sebastien.

I especially like the fact that miniupnp is maintained already in Debian. Even if it seems to be using a pretty old upstream version (from 2014).

from freelan.

s-vincent avatar s-vincent commented on August 19, 2024

@ereOn Thanks ;).

And here is the PR #144! Feel free to review and test.

from freelan.

s-vincent avatar s-vincent commented on August 19, 2024

PR merged.

from freelan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.