@goetz Your comment went in the right direction, it is called "pinhole" in upnpc and works like it should once you got that and the right parameters. - Sorry for not reading the manual in the first place 🤦‍♂️

Example and explanation:
upnpc -6 -A "" 0 @ 65432 udp 600

-6 use IPv6 (recommended)
-A Add Pinhole
"" Any remote IP
0 Any remote port
@ use "local LAN address" as internal IP (works for me, replace by explicit IPv6 for more control)
65432 chosen internal port
udp protocol
600 make it last for 10 minutes (you can not use 0 here!)

unpnc -l (lower case L) lists those pinholes together with the IPv4 port forwardings.

#ipv6 #miniupnpc #fritzbox #portforwarding

@dreua

We are speaking about IPv6 there is no port opening/forwarding forseen.
You need to manipulate the ACL.
Unfortunately the ACL on an Fritzbox is limited to open a port for a LAN host for any source address.

#ipv6 #fritzbox #portforwarding #miniupnpc #upnpc

Another question to the #ipv6 bubble:

Did any of you succeed to create a v6 port forwarding/opening with the [mini]upnpc tool? I'm trying with a FritzBox here but would be interested if it worked with other routers as well.

(Voting for fun, please do also comment!)

#fritzbox #portforwarding #miniupnpc #upnpc

Yes, even with a FritzBox
0%
Yes, but another router
18.2%
No
0%
Never tried, wanted to vote anyway. Go IPv6 🥳
81.8%
Poll ended at .

#MiniUPnPC 2.2.8 zmieniło niekompatybilnie API: funkcja `UPNP_GetValidIGD()` teraz automatycznie pobiera zewnętrzny adres IP i kopiuje go do nowych parametrów funkcji (czyniąc wołanie `UPNP_GetExternalIPAddress()` zbędnym). Przesunęły się też zwracane wartości (wzdych).

Przyszło więc mi trochę ożywić projekt #PSHS. Właśnie do #Gentoo trafiła wersja 0.4.3 z kilkoma istotnymi zmianami: zmianą licencji na GPL-2+, i przesunięciem zakresu wspieranych wersji MiniUPnPC, OpenSSL i libevent (usunięta wersja 0.4.2 przypadkiem zepsuła zgodność z libevent-2.1).

Przy okazji aktualizacji kodu do API #OpenSSL 3 (by pozbyć się nieaktualnych funkcji), odkryłem, że zatoczyło ono koło. OpenSSL 1.0 miało prostą funkcję `RSA_generate_key()`. Dla wersji 1.1, zastąpiłem ją złożoną, wręcz "surową" w użyciu `RSA_generate_key_ex()`. A w 3.0 dostajemy jeszcze prostsze `EVP_RSA_gen()`.

https://github.com/projg2/pshs/compare/v0.4.2...v0.4.3

Comparing v0.4.2...v0.4.3 · projg2/pshs

Contribute to projg2/pshs development by creating an account on GitHub.

GitHub

#MiniUPnPC 2.2.8 introduced a breaking API change: the `UPNP_GetValidIGD()` now gets the external IP address and writes it to the newly added arguments (rendering `UPNP_GetExternalIPAddress()` redundant). The return values also shifted in place (sigh).

This made me finally revive #PSHS a bit. I've just pushed 0.4.3 to #Gentoo with a number of important changes: relicensing to GPL-2+ and shift of supported MiniUPnPC, OpenSSL and libevent version ranges (the removed 0.4.2 version accidentally broke compatibility with libevent-2.1).

While updating to the #OpenSSL 3 API (to fix deprecation warnings), I've discovered that it made a full circle. First, OpenSSL 1.0 had a simple `RSA_generate_key()` function. Then, for 1.1 I had to replace with it complex, almost "raw" `RSA_generate_key_ex()`. And for 3.0, it's back to even simpler `EVP_RSA_gen()`.

https://github.com/projg2/pshs/compare/v0.4.2...v0.4.3

Comparing v0.4.2...v0.4.3 · projg2/pshs

Contribute to projg2/pshs development by creating an account on GitHub.

GitHub