Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
miniupnpd default static 2189 port
« previous
next »
Print
Pages: [
1
]
Author
Topic: miniupnpd default static 2189 port (Read 3043 times)
packet loss
Full Member
Posts: 134
Karma: 26
miniupnpd default static 2189 port
«
on:
May 17, 2019, 12:44:48 am »
The OPNsense configuration file for miniupnpd uses port 2189 by default. This specific static port was first seen in pfsense many many years ago and to this day is the same static port that OPNsense, pfsense and FreeBSD uses. There's no reason by default that this port should be static. If no port is specified miniupnpd randomizes the port. Even the developer of miniupnpd doesn't know why pfsense started using a static port in the first place.
I would like to see a setting in OPNsense under UPNP for this port setting. I believe the port should be blank which will allow miniupnpd to automatically generate a random port when started or allow someone to set a static port if they wish to do so. The only reason for a static port would only be for a strict LAN rule-set where someone might need to add a LAN rule for the static port.
I have other ideas surrounding miniupnpd settings as well. There's build settings I would like to discuss such as enabling randomize_urls and enable_https but for now hopefully we can get started with the dreadful 2189 static port.
«
Last Edit: May 17, 2019, 12:48:58 am by azdps
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: miniupnpd default static 2189 port
«
Reply #1 on:
May 17, 2019, 10:04:41 am »
Hi azdps,
Can you push this request to
https://github.com/opnsense/plugins/issues/new
? Doesn't look hard to do, no real objections.
Please also get back on
https://github.com/HardenedBSD/hardenedbsd-ports/issues/166
Cheers,
Franco
Logged
packet loss
Full Member
Posts: 134
Karma: 26
Re: miniupnpd default static 2189 port
«
Reply #2 on:
May 17, 2019, 01:11:24 pm »
Hello franco,
Thanks for the feedback. Will take care of both.
Thank you,
azdps
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
miniupnpd default static 2189 port