UPNP Not working without static port or EIM
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- networking
Línea de trabajo
Start by comparing the firewall logs shown for strict-port enabled and disabled, then trace how the UPNP configuration affects the redirect when strict-port is unchecked. Reproduce the reported steps with the state table cleared; done means UPNP provides open NAT without requiring static-port or Endpoint Independent Mapping.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- I have read the contributing guidelines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
- I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
- AI tools were used to create at least part of the text submitted herewith.
If AI was used, please disclose:
N/A - I used my brain :)
Describe the bug
UPNP with a known working configuration no longer works unless static-port is checked. This was fully working in prior months, and according to forum posts appears to have popped up with 26.7's debut.
To Reproduce
Steps to reproduce the behavior:
- Have a working UPNP configuration with static-port enabled
- Verify UPNP is working using whatever necessary tools, in my case, I am using an xbox and achieving NAT type open
- Uncheck strict-port
- Clear the state table within firewall-> diagnostics -> states
- Test UPNP again per step 2
- UPNP will now set as strict
Expected behavior
Step 6 should result in NAT type open, as it did in the past. I have this process so streamlined I made my own tutorial that thousands of people have viewed: https://youtu.be/g5EJYVnpmlM
Describe alternatives you considered
The two alternatives that work are using static-port, or alternatively, for UDP, using Endpoint Independent Mapping to get me a NAT type of moderate. Both of these are not ideal for a gaming scenario for various reasons, which I am happy to elaborate more on if necessary.
Screenshots
Firewall logs when NAT port is set to strict:
Firewall logs when NAT strict is unchecked (seems like the redirect is missing?):
Relevant log files
see above photos for the drastic difference in the traffic going through to the UPNP port in question.
Additional context
The most important part of this entire setup is that I have had this configuration working without change for many years, the only thing that has changed is there is a new firewall system in play that we all migrated to back around spring time. All my rules are correct, as of my own working tutorial, and this issue equally affects every firewall I maintain that needs UPNP.
Environment
OPNsense 26.7.5-amd64
FreeBSD 15.1-RELEASE-p3
OpenSSL 3.5.9
I am also in the OPNsense forum telegram group chat if anyone wants to chat about this on there.
- Lenguaje dominante
- PHP
- Estrellas
- 1.2k
- Forks
- 926
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 25
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de opnsense/plugins
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
opnsense/plugins#5976 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
net/haproxy: IPv6 literal in real server "Source address" generates an invalid `source` directiveAbiertoincomplete
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
opnsense/plugins#5973 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[dns/ddclient] Support hiding unused standard fields per service (optional_hiding)Posiblemente ocupada @bringha1 la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
q-feeds-connector: "error in configd communication" every update when the Unbound DNSBL rebuild takes longer than 120sPosiblemente ocupada @mhatipog la tomó hace 9 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
Todos los issues de opnsense/plugins
Issues similares
-
15.0
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
open-telemetry/opentelemetry-php-distro#176 ·
Los mantenedores suelen responder en 2 días
-
No Code Attached Yet
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
joomla/joomla-cms#48941 ·
Los mantenedores suelen responder en 1 día
-
needs-triage Platform(Default)
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug new
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
moodle-an-hochschulen/moodle-theme_boost_union#1500 ·
Los mantenedores suelen responder en 1 día