Playstation 4 and uPNP - incompatible?
-
Hi all,
I'm having trouble with UPnP and my PS4 - we recently started online gaming with a PS4 and EA games.
Initially, UPnP seems to be working because I can see mappings being added to the UPnP status screen, but after a while (i.e. 24 hours later), I get connectivity errors. EA games like Garden Warfare 2, Battle for Neighbourville, or Battlefront 2 report they are unable to connect to their online services. A reboot of pfSense fixes the issue (temporarily) or a restart of the UPnP service. The PS4 itself reports Type 2 NAT in the network test screen whether online gaming is working or not, so I don't think it's a firewall issue? I have a static port mapping enabled in my NAT rules.
After a couple days of debugging, I decided to turn off UPnP and just use regular NAT and online gaming seems stable, so I believe the issue is related to pfSense's UPnP's implementation?
Anyone else have this issue?
-
Is it directly connected to the internet or behind another router?
-
PS4 is connected to a Netgear Smart Managed Pro Switch --> pfSense --> Cable Modem (bridge mode).
It seems only the PS4 has trouble with online gaming. Nintendo Switch doesn't have an issue but I don't think it uses UPnP.
-
It would be interesting to know if the timeout of the UPnPd causes the port forward to be deleted and the PS4 doesn't understand to recreate it again.
24h is usually a longer time and the PS4 should reopen the ports when you start the game again.
cu
-
@Grimeton said in Playstation 4 and uPNP - incompatible?:
24h is usually a longer time and the PS4 should reopen the ports when you start the game again.
Yeah exactly, I would expect the game to recreate the ports each time it starts up - the ports do seem to show up in the UPnP status screen (at least the basic EA Origin port), but then the game can't connect. A restart of the UPnP service or a reboot of pfSense temporarily fixes the issue.
-
@coolspot said in Playstation 4 and uPNP - incompatible?:
@Grimeton said in Playstation 4 and uPNP - incompatible?:
24h is usually a longer time and the PS4 should reopen the ports when you start the game again.
Yeah exactly, I would expect the game to recreate the ports each time it starts up - the ports do seem to show up in the UPnP status screen (at least the basic EA Origin port), but then the game can't connect. A restart of the UPnP service or a reboot of pfSense temporarily fixes the issue.
Yeah the restart of service of firewall, deletes the entries which is recognized by the PS4 and it reopens them again.
So it only shows the basic EA port and not the game related ports. It would be nice to have some traffic sniffed and logs for when this happens.
You could use Noeld's UPNPTester to check what's going on. I cannot access his site at the moment http://noeld.com/programs.asp?cat=dstools
There's a mirror over at German computer magazin Heise here: https://www.heise.de/download/product/universal-plug-and-play-tester-25609
Check if the information shown in pfSense matches the one shown in the tester.
If that's the case then everything is fine and the PS4 or the game is messing up.
Cu
-
Change NAT type from Strict NAT to Open NAT on your PS4 or Xbox console. Enabling UPnP is simple as it can be enabled through your router.
-
This post is deleted!