[Interest] UPnP via Qt

Alexander Carôt alexander_carot at gmx.net
Mon Mar 24 16:07:04 CET 2025


Nevermind – I found a potentially ideal alternative:

https://github.com/pupnp/pupnp

which already works fine without the issues mentioned below.

Best

Alex

--
http://www.carot.de
Email : Alexander at Carot.de
Tel.: +49 (0)177 5719797


> Gesendet: Donnerstag, 20. März 2025 um 18:55
> Von: "Alexander Carôt via Interest" <interest at qt-project.org>
> An: interest at qt-project.org
> Betreff: [Interest] UPnP via Qt
>
> <html><head></head><body>Hello all,
> 
> I want to automatically enable UDP port forwarding to a specific local IP address via UPnP – so practically I want to launch my app which connects to a UPnP-capable router and  – in case a port forwarding rule to the current machine is not set – it does set it. 
> 
> Now I played around with
> 
> https://github.com/ceciletti/libupnp-qt
> 
> and it actually detects my UPnP-capable router but it does not set the forwarding rule.
> 
> Is anyone here experienced with it – can you probably give recommendations how to get started in this domain (ideally with a Qt based solution) ?
> 
> Thanks as usual and
> best
> 
> Alex
> 
> 
> --
> http://www.carot.de
> Email : Alexander at Carot.de
> Tel.: +49 (0)177 5719797
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest</body></html>


More information about the Interest mailing list