Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - AlpAne

#1
26.7, 26.10 Series / Re: os-upnp plugin not working?
November 05, 2026, 12:07:43 PM
Quote from: franco on October 13, 2026, 07:13:54 PM
Quote from: AlpAne on October 13, 2026, 05:32:37 PMminiupnpd 2.3.11 has been released, is it not possible to update the plugin to this version?

Netgate seems to be working on it...  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298991

Unfortunately FreeBSD ports is notoriously slow with such things, too, but we try not to make it our problem anymore.


Cheers,
Franco

Hi Franco,

Can you please give a short update on the status for this? I have been monitoring https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298991 for a while but to be honest I don't have the knowledge to interpret the information in a sensible way...

Thanks in advance!
#2
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 13, 2026, 05:32:37 PM
Quote from: franco on October 13, 2026, 04:59:37 PMSomeone from the community worked bit on miniupnpd fixes, but in the grand scheme of things it's not a very fast moving project and if they are not aware of the issue it's very unlikely to be fixed ever.

https://github.com/miniupnp/miniupnp/issues


Cheers,
Franco

miniupnpd 2.3.11 has been released, is it not possible to update the plugin to this version?
#3
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 13, 2026, 04:36:38 PM
@franco are there any plans to fix the "real" problem with UPnP not working?
#4
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 13, 2026, 04:31:06 PM
Quote from: Bob.Dig on October 09, 2026, 03:43:01 PMYou can use static port for TCP and EIM-NAT for UDP by making two rules.

I have now set up two rules, static port for TCP and EIM-NAT for UDP, and can confirm that it works to connect with two gaming clients with Moderate NAT on both.
#5
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 10, 2026, 09:09:24 PM
Quote from: fornax on October 10, 2026, 09:02:44 AM
Quote from: nero355 on October 09, 2026, 06:36:23 PMBy the way...


I have just done this for fun :
Quote from: Bob.Dig on October 09, 2026, 03:43:01 PMYou can use static port for TCP and EIM-NAT for UDP by making two rules.
And going to check how it performs in the future instead of just one Static-port NAT Rule which I was using before.


Yeah, that's what my wife and I needed for GTA Online. With just Static Port, we couldn't both play together at the same time. Static Port for TCP and Endpoint-Independent for UDP was the solution. Hopefully it works out for you as well!

Can you please post a screenshot of your "Firewall: NAT: Source NAT" rules?

Thanks in advance!
#6
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 10, 2026, 09:06:53 PM
Quote from: nero355 on October 10, 2026, 07:07:54 PM
Quote from: fornax on October 10, 2026, 09:02:44 AMYeah, that's what my wife and I needed for GTA Online.

With just Static Port, we couldn't both play together at the same time.
Static Port for TCP and Endpoint-Independent for UDP was the solution.

Hopefully it works out for you as well!
I don't have multiple "Gaming Clients" so to speak so that was not my worry :)

My goal was to see how it behaves IP:Port-wise and it seems to be something like this so far :

Static-port
Both TCP and UDP are mapped equally so you get something like this :
10.0.0.123:6672 -> 88.44.56.77:6672 -> the remote server:6672
and
The remote server:6672 -> 88.44.56.77:6672 -> 10.0.0.123:6672

In this case it's the GTA V Online UDP Port but you get the idea...

Endpoint-Independant
Now I have UDP traffic behaving totally different :
10.0.0.123:6672 -> 88.44.56.77:54789 to the remote server:6672
and
The remote server:6672 -> 88.44.56.77:54789 -> 10.0.0.123:6672

But it's still Moderate NAT and a lot of the UDP connections have "MULTIPLE" next to them in the OPNsense Sessions overview.


So now having :
Static-port NAT for TCP Connections.
Endpoint-Independant NAT for UDP Connections.

Results in Moderate NAT for P2P Games and everything seemed to be working just fine :
- I can connect to other peoples sessions.
- I can play various game modes with multiple people in it.
- There were no weird disconnects or anything like that so far that I can blame my NAT setup for :)

In which order have you set up the NAT rules? Static-port first and Endpoint-Independant after that? Please post a screenshot of your Source NAT page.
#7
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 09, 2026, 05:18:23 PM
Quote from: nero355 on July 21, 2026, 04:10:55 PM
Quote from: Warbreaker on July 20, 2026, 05:39:41 PM
Quote from: Chris123NT on July 20, 2026, 04:20:12 PMand you set Static port right?
What is this last bit exactly? Maybe is something silly I haven't done or did before but need to redo for 26.7
Static-port makes sure all used ports are mapped 1:1 instead of the default 1:random while doing NAT for IPv4 traffic.

So let's say your average game needs something like this :
LAN IP Address 192.168.1.123:27001
Processed by NAT to
WAN IP Address 68.54.148.89:27001

Strict-port will make sure that actually happens!
And that's when the game will show Moderate NAT as Status :)


Because the default is something like this :
LAN IP Address 192.168.1.123:27001
Processed by NAT to
WAN IP Address 68.54.148.89:56789

And that's when Strict NAT messages start to appear... :(


If you want Open NAT or whatever it's called these days ("Better than Moderate NAT") then you need to Port Forward all used ports (Which I am strongly against!) or use something like uPnP Dynamic Port Mapping like you are already doing.
(Which I don't like either, but some Console Gamers simply don't want to live without it for whatever reason ?!)

And this is the core problem, the UPnP-plugin doesn't work correctly since the release of 26.7.
#8
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 09, 2026, 03:37:25 PM
Quote from: franco on August 26, 2026, 04:06:46 PMWell to answer the other question first: the plugin is in community support mode and the code is still based on the static PHP pages. It's not going to get a lot of maintenance, but if patches exist like here we can do something about it.

About the NAT rule I'm not sure.  The built-in automatic rule no longer works?  Why?  This wasn't changed so it may be a FreeBSD change.  But it's also possible for people who still have a 26.1.x to test to compare the /tmp/rules.debug file to see if anything shifted between versions, which I doubt a bit, but not impossible.


Cheers,
Franco

Franco, is the problem with upnp not working logged as an issue to be fixed? Have you had any time to look into the problem a bit more in depth?
#9
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 09, 2026, 03:34:02 PM
Quote from: bamf on October 08, 2026, 08:06:12 PM
Quote from: AlpAne on October 07, 2026, 08:12:44 PMStill same problem, when second PC tries to connect it gets network error in Call of Duty, as soon as the first PC closes Call of Duty the second PC can connect and vice versa.

Yes, that's exactly what Static Port does. Read the documentation about Endpoint-Independent NAT that I linked a few posts earlier:

QuoteIn particular, this behavior helps avoid issues with multiple local clients using the same source port to reach the same remote host.

Static port is not the correct setting for gaming clients.

So what is the correct settings for gaming clients?
#10
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 07, 2026, 09:57:30 PM
Quote from: nero355 on October 07, 2026, 08:28:59 PM
Quote from: AlpAne on October 07, 2026, 08:12:44 PMStill same problem, when second PC tries to connect it gets network error in Call of Duty, as soon as the first PC closes Call of Duty the second PC can connect and vice versa.
Then you need 'Endpoint-Independent NAT' instead of Static-port :)

So I should disable Static-port and enable Endpoint Independent?
#11
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 07, 2026, 08:12:44 PM
Quote from: nero355 on October 06, 2026, 03:00:44 PM
Quote from: AlpAne on October 05, 2026, 04:40:23 PMThe only thing I'm unsecure about is Translate Source IP: Single host or Network, the field for Interface address is empty.
I see what you were talking about now : It should be 'WAN address' and then you are good to go! :)

I have now done the change: "It should be 'WAN address' and then you are good to go! :)It should be 'WAN address' and then you are good to go! :)" to my best knowledge.

Still same problem, when second PC tries to connect it gets network error in Call of Duty, as soon as the first PC closes Call of Duty the second PC can connect and vice versa.

Attached new screenshots.
#12
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 05, 2026, 11:13:00 PM
Quote from: nero355 on October 05, 2026, 09:42:31 PM
Quote from: AlpAne on October 05, 2026, 04:40:23 PMI just checked and I already have a rule in Firewall: NAT: Source NAT that I set up earlier, Interface: WAN, Version: IPv4, Protocol: TCP/UDP, Source Address: LAN, Translate Source IP: Single host or Network, Static-port: Enabled.

The only thing I'm unsecure about is Translate Source IP: Single host or Network, the field for Interface address is empty.
In my case it's an Alias filled with Host Addresses but you can ofcourse just enter a whole /24 subnet for example.

Post a screenshot so we can double check for you :)

You cannot view this attachment.

You cannot view this attachment.

You cannot view this attachment.
#13
26.7, 26.10 Series / Re: os-upnp plugin not working?
October 05, 2026, 04:40:23 PM
Quote from: nero355 on September 30, 2026, 05:19:26 PM
Quote from: AlpAne on September 30, 2026, 03:41:58 PM
Quote from: nero355 on September 25, 2026, 10:56:40 PM
Quote from: AlpAne on September 25, 2026, 12:07:07 PMHave anyone actually verified that this solution works for multiple PC/Xbox clients connecting through UPnP at the same time.
Like I said before in this topic : Forget OPEN NAT and keep things simple at a nice and comfortable Moderate NAT level with STRICT-PORT Enabled for your Gaming Clients :)

Quote from: nero355 on September 30, 2026, 05:19:26 PM
Quote from: AlpAne on September 30, 2026, 03:41:58 PM
Quote from: nero355 on September 25, 2026, 10:56:40 PM
Quote from: AlpAne on September 25, 2026, 12:07:07 PMHave anyone actually verified that this solution works for multiple PC/Xbox clients connecting through UPnP at the same time.
Like I said before in this topic : Forget OPEN NAT and keep things simple at a nice and comfortable Moderate NAT level with STRICT-PORT Enabled for your Gaming Clients :)

Could you please write a simple step by step guide how to do this?

Thank you in advance!
See Post #1 => https://forum.opnsense.org/index.php?topic=52419.msg270603#msg270603 ;)
Thank you in advance!
See Post #1 => https://forum.opnsense.org/index.php?topic=52419.msg270603#msg270603 ;)

I just checked and I already have a rule in Firewall: NAT: Source NAT that I set up earlier, Interface: WAN, Version: IPv4, Protocol: TCP/UDP, Source Address: LAN, Translate Source IP: Single host or Network, Static-port: Enabled.

The only thing I'm unsecure about is Translate Source IP: Single host or Network, the field for Interface address is empty.
#14
26.7, 26.10 Series / Re: os-upnp plugin not working?
September 30, 2026, 03:41:58 PM
Quote from: nero355 on September 25, 2026, 10:56:40 PM
Quote from: AlpAne on September 25, 2026, 12:07:07 PMHave anyone actually verified that this solution works for multiple PC/Xbox clients connecting through UPnP at the same time.
Like I said before in this topic : Forget OPEN NAT and keep things simple at a nice and comfortable Moderate NAT level with STRICT-PORT Enabled for your Gaming Clients :)

Could you please write a simple step by step guide how to do this?

Thank you in advance!
#15
26.7, 26.10 Series / Re: os-upnp plugin not working?
September 25, 2026, 12:07:07 PM
Have anyone actually verified that this solution works for multiple PC/Xbox clients connecting through UPnP at the same time.

I have followed the steps described in this thread to get Xbox to show Open NAT and one PC running Call of Duty BO7/Warzone to show sometimes Moderate NAT and sometimes Open NAT but when second PC tries to connect it gets network error in Call of Duty, as soon as the first PC closes Call of Duty the second PC can connect.