Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Paul1977

5039 posts

Uber Geek


#288217 14-Jun-2021 18:08
Send private message

I have an EdgeRouter Lite, and have never been able to get UPnP working for my games consoles. Decided to give it another crack now that I have PS5 and XBSX, but still no joy.

 

With UPnP disabled I get type 2 NAT on PS5  and moderate NAT on Xbox (along with the message "UPnP unsuccessful").

 

But when I enabling it on the router (using the below) doesn't make any difference (where 192.168.1.50 and 192.168.1.51 are the IPs of my consoles, eth1 is the LAN port, and pppoe0 is the Internet):

 

show service upnp2
 acl {
     rule 10 {
         action allow
         description "Allow Xbox UPnP"
         external-port 1024-65535
         local-port 0-65535
         subnet 192.168.1.50/32
     }
     rule 20 {
         action allow
         description "Allow PS5 UPnP"
         external-port 1024-65535
         local-port 0-65535
         subnet 192.168.1.51/32
     }
     rule 1000 {
         action deny
         description DENY
         external-port 0-65535
         local-port 0-65535
         subnet 0.0.0.0/0
     }
 }
 listen-on eth1
 nat-pmp enable
 secure-mode enable
 wan pppoe0

 

 

 

Where am I going wrong?


Create new topic
Paul1977

5039 posts

Uber Geek


  #2728634 14-Jun-2021 18:41
Send private message

OK, part of the problem was the LOCAL firewall blocking the UPnP requests. Changing this has the Xbox now showing open NAT, but PS5 is still NAT type 2.

 

Shouldn't UPnP make the PS5 NAT type 1?




Lias
5589 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

  #2728984 15-Jun-2021 10:19
Send private message

Don't have a PS5 but this works for me for other things. I've never tried locking it down to specific devices with ACL's, have you tested it before trying to lock it down like that?

 

service {
    upnp {
        listen-on eth1 {
            outbound-interface <wan interface>
        }
        listen-on eth2 {
            outbound-interface <wan interface>
        }
    }
    upnp2 {
        listen-on <lan1>
        listen-on <lan2>
        nat-pmp enable
        secure-mode enable
        wan <wan interface>
    }
}





I'm a geek, a gamer, a dad, a Quic user, and an IT Professional. I have a full rack home lab, size 15 feet, an epic beard and Asperger's. I'm a bit of a Cypherpunk, who believes information wants to be free and the Net interprets censorship as damage and routes around it. If you use my Quic signup you can also use the code R570394EKGIZ8 for free setup.


Paul1977

5039 posts

Uber Geek


  #2729000 15-Jun-2021 10:50
Send private message

Lias:

 

Don't have a PS5 but this works for me for other things. I've never tried locking it down to specific devices with ACL's, have you tested it before trying to lock it down like that?

 

service {
    upnp {
        listen-on eth1 {
            outbound-interface <wan interface>
        }
        listen-on eth2 {
            outbound-interface <wan interface>
        }
    }
    upnp2 {
        listen-on <lan1>
        listen-on <lan2>
        nat-pmp enable
        secure-mode enable
        wan <wan interface>
    }
}

 

 

Thanks @Lias my UPnP2 config was fine, but my LAN_LOCAL policy was preventing the clients from making the request (I lock things down really tight, pretty much just because).

 

From what I can tell, only UPnP2 is required for Xbox as that's now working and giving me open NAT (without the original UPnP enabled). I confirmed that the ACLs for UPnP2 are working. So Xbox is sorted.

 

Did a little research, and PS5 seems to be broken and never gives NAT type 1. I tested this by briefly putting PS5 in DMZ. I verified it was completely exposed to the the Internet by pinging my public IP from outside and getting a reply from PS5 (ping replies when PS5 powered on, no reply when powered off). But the PS5 still reported NAT type 2.

 

What I'm not sure about is whether the PS5 gets any benefit by being allowed UPnP now since it reports NAT type 2 either way. I.e. I'm not sure if it's getting the benefits, but just incorrectly reporting NAT type 2.

 

I'm not a huge fan of open port forwards into the LAN, so I think I'll put the consoles in their own VLAN.

 

I'd be interested to know if UPnP continues to work for everything you need it for with only UPnP2 (i.e. delete service UPnP)?

 

 




Paul1977

5039 posts

Uber Geek


  #2729617 16-Jun-2021 13:04
Send private message

Is there a way to list all the current port forwards that have been created by UPnP on an EdgeRouter Lite?

 

EDIT: my google failed me for about 30min, then right after posting I found the answer: show upnp2 rules


michaelmurfy
meow
13240 posts

Uber Geek

Moderator
ID Verified
Trusted
Lifetime subscriber

  #2729666 16-Jun-2021 14:41
Send private message

I've removed your other thread - we'll just discuss here.

I have NAT Type 2 on my PS5 and UPnP enabled to it from my Mikrotik. IIRC it was the same on my Edgerouter back in the day with my PS4.

 

Type 2 is what you want as this simply means a firewall is in-front of the PS5. Open is actually a security risk and zero-days do exist.

NAT Type 1 (Open) – You are either NOT behind a router/firewall OR you have already DMZ enabled. You shouldn’t run into any issues whilst gaming, but this may cause security issues.
NAT Type 2 (Moderate) –Your PS3/PS4 is connected properly and you shouldn’t run into any issues.
NAT Type 3 (Strict) – You may be able to connect to the PSN and perform downloads/updates other functions may not work as intended.





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


hio77
12999 posts

Uber Geek

ID Verified
Trusted
Lizard Networks

  #2729682 16-Jun-2021 15:11
Send private message

michaelmurfy:

 

I've removed your other thread - we'll just discuss here.

I have NAT Type 2 on my PS5 and UPnP enabled to it from my Mikrotik. IIRC it was the same on my Edgerouter back in the day with my PS4.

 

Type 2 is what you want as this simply means a firewall is in-front of the PS5. Open is actually a security risk and zero-days do exist.

NAT Type 1 (Open) – You are either NOT behind a router/firewall OR you have already DMZ enabled. You shouldn’t run into any issues whilst gaming, but this may cause security issues.
NAT Type 2 (Moderate) –Your PS3/PS4 is connected properly and you shouldn’t run into any issues.
NAT Type 3 (Strict) – You may be able to connect to the PSN and perform downloads/updates other functions may not work as intended.

 

 

This is where the whole concept of nat type as driven so many people do open unneeded holes in their network!





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.

 

 


Paul1977

5039 posts

Uber Geek


  #2729711 16-Jun-2021 16:57
Send private message

michaelmurfy:

 

I've removed your other thread - we'll just discuss here.

I have NAT Type 2 on my PS5 and UPnP enabled to it from my Mikrotik. IIRC it was the same on my Edgerouter back in the day with my PS4.

 

Type 2 is what you want as this simply means a firewall is in-front of the PS5. Open is actually a security risk and zero-days do exist.

NAT Type 1 (Open) – You are either NOT behind a router/firewall OR you have already DMZ enabled. You shouldn’t run into any issues whilst gaming, but this may cause security issues.
NAT Type 2 (Moderate) –Your PS3/PS4 is connected properly and you shouldn’t run into any issues.
NAT Type 3 (Strict) – You may be able to connect to the PSN and perform downloads/updates other functions may not work as intended.

 

 

Yeah, I get all that and wouldn't consider DMZing other than as a test. Even enabling UPnP I've VLANed my consoles off my main network since I don't like the idea of clients being able to request port forwards.

 

My question was really about the fact that I couldn't get NAT type 1 even when I did (temporarily) DMZ it. I could ping my PS5 from the Internet, but it still reported NAT type 2.

 

It reports NAT type 2 for me whether UPnP is enabled or not (but it takes longer to determine the NAT type without UPnP enabled - so it seems to be doing something). By contrast the Xbox Series X reports open NAT (Type 1) as soon as I enable UPnP.

 

From a theoretical standpoint; if DMZing the PS5 doesn't give NAT type 1, what would?


 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
Paul1977

5039 posts

Uber Geek


  #2729979 17-Jun-2021 09:31
Send private message

Well UPnP is definitely functioning for PS5, as I can see the rules it's creating. So regardless of what NAT type it's reporting, it all seems to be working.

 

I have to say UPnP seems to be implemented better on the Xbox though (at least with my EdgeRouter), for the below reason:

 

Xbox appears to tell the router to close the ports when no longer required (e.g. when it enters rest mode), PS5 doesn't so they stay in place. Not a big deal, just not as tidy as Xbox.


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.