Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upnp problem
02-05-2024, 03:35 PM
Post: #1
Upnp problem
Hello. I tried to post there few days ago but for some reason i couldn't. I have ppsspp on iPhone 12 pro and i have upnp on my router (ppsspp for pc is working perfectly). My issue:
When im trying to play online with friends through the servers, i need to turn on upnp option, but as soon as i do it, i keep getting messages that upnp device is not found even though i play with the same network as pc. I tried everything: turn on and off upnp on router, restart everything, reinstall ppsspp etc. Funny thing that i actually already played with the same devices few months ago and now i have this issue. Also my router has ping triggering feature and dmz, maybe i should go with them instead, and if so, how can i properly set up them. Thanks for your answers.
Find all posts by this user
Quote this message in a reply
02-07-2024, 08:54 PM (This post was last modified: 02-07-2024 08:58 PM by AdamN.)
Post: #2
RE: Upnp problem
Could you find out which PPSSPP version was the last working version? may be a recent changes causing the issue, or may be it need a longer timeout on iPhone (at least on newer iOS) in order to detects your router.

Btw, are you using the same iOS version since the last time it worked? in case it happened after you upgrade your OS.

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/2t3mtdhb0f045cn/PPSSPP_1.11-testbuild_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/b41bm43mtn1gpnn/PPSSPP_1.11-testbuild_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
02-08-2024, 07:33 AM
Post: #3
RE: Upnp problem
i tried both new and old versions and nothing changed. Also i had updated iOS but i think that's not the reason. I really want to try ping forwarding but i cant find proper way to set up port forwarding or dmz.
Find all posts by this user
Quote this message in a reply
02-11-2024, 12:17 PM (This post was last modified: 02-11-2024 12:20 PM by AdamN.)
Post: #4
RE: Upnp problem
There hasn't been any update to miniupnp for a long time AFAIK, so may be it's no longer compatible with the new iOS.

DMZ should be easy, you just need to set your iPhone's IP on DMZ (since DMZ can only be set for one IP), but you probably want to use static IP for your iPhone (you can register a static IP for your iPhone's MAC address somewhere in DHCP settings on your router, on my router it's called "DHCP Address Reservation"), so your iPhone will always have the DMZ.

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/2t3mtdhb0f045cn/PPSSPP_1.11-testbuild_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/b41bm43mtn1gpnn/PPSSPP_1.11-testbuild_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
02-11-2024, 12:57 PM
Post: #5
RE: Upnp problem
i tried to do that and i still getting upnp problem, maybe i need specific ip for dhcp? i wrote 192.168.0.14, is this ok for dhcp? then i wrote it to dmz and turned it on. after that nothing changed. maybe there is a way to check if this is working? also thanks for your responses
Find all posts by this user
Quote this message in a reply
02-11-2024, 08:15 PM (This post was last modified: 02-11-2024 08:16 PM by AdamN.)
Post: #6
RE: Upnp problem
If you use DMZ you don't need any other port-forwarding feature (like UPnP for example). DMZ will open all the ports and forward it to your IP, so you can disable UPnP on PPSSPP settings.

Regarding static IP, if you don't know how to set it from router settings, you can set manual IP on your iPhone's wifi setting.
You can use the automatic (DHCP) to find out a valid IP first, and then change it to manual IP and set the same IP with the automatic one.

Anyway, i will try to add an option to change the UPnP Timeout for you to test later, hopefully it's just timeout-not-long-enough issue.

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/2t3mtdhb0f045cn/PPSSPP_1.11-testbuild_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/b41bm43mtn1gpnn/PPSSPP_1.11-testbuild_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
02-12-2024, 05:07 PM
Post: #7
RE: Upnp problem
i cant say if its worked or not, i can see my friends lobby in mgs peace walker, but when we trying to start the game, its says that connection is lost and we cant start the game, also he keep seeing yellow "Data from unknown port [PPSSPP]" message. And we tried to change who is hosting as official wiki says, but nothing changes. mk unchained for example doesnt even show my lobby to friend.
Find all posts by this user
Quote this message in a reply
02-12-2024, 06:51 PM (This post was last modified: 02-13-2024 03:50 PM by AdamN.)
Post: #8
RE: Upnp problem
"Data from unknown port [PPSSPP]" means that the sender (ie. you) is using a different port than what's supposed to be.
This can happen if the router or ISP is remapping the port (not sure what was the reason, may be the port were already used by someone else, in the case if it was shared public IP).

You can try using a different port offset value (try increasing it by 2000 or more), and hopefully the router/ISP can accept the port as-is without remapping it.

Btw, i hope you're not playing with another Player on the same network over the internet, because both of you will share the same public IP, thus it won't work.

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/2t3mtdhb0f045cn/PPSSPP_1.11-testbuild_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/b41bm43mtn1gpnn/PPSSPP_1.11-testbuild_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
02-15-2024, 08:45 PM
Post: #9
RE: Upnp problem
I've created a test build with UPnP Timeout setting for iOS here https://sam.nl.tab.digital/s/HAfDeoYsYTjx4CR
Please try it with UPnP Timeout = 5000 and see whether your iPhone 12 pro can detects your router/UPnP device or not.

If it can detects UPnP device using a high value such as 5000, try lowering the value by 1000 or 500 until it reached 2500, and let us know what is the smallest value that works, so we can use it as the default value on the official version of PPSSPP later.

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/2t3mtdhb0f045cn/PPSSPP_1.11-testbuild_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/b41bm43mtn1gpnn/PPSSPP_1.11-testbuild_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
02-16-2024, 08:36 AM
Post: #10
RE: Upnp problem
im very sorry but nothing worked for me, both using different port offset and your version of the app, i tried 2000, 2500, 3000 etc and everytime even restarted the app but everytime i see same red message. for pc my solution was installing hamachi and playing through this local network, even though pc isnt showing the upnp message, i had the same problem with data from unknown port when im trying to play mgs not using hamachi. maybe this is problem with my isp or router which is strange because i have upnp option and everything but its still doesnt work properly.
Find all posts by this user
Quote this message in a reply
02-16-2024, 04:30 PM (This post was last modified: 02-16-2024 06:03 PM by AdamN.)
Post: #11
RE: Upnp problem
Thanks for testing, i guess it wasn't timeout issue if your iPhone still can't find the UPnP device, may be related to the new version of iOS (ie. no longer compatible with the miniupnpc we're using, may be we just need to update our miniupnp library).

Regarding, data from unknown port, it can also because you're behind NAT, where port-forwarding won't works (even UPnP & DMZ won't work), which is related to your ISP.
In this case, VPN is the only way.

Btw, may i know what is your iOS version and your router model? in case there are other similar reports, so we can find out their similarity.

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/2t3mtdhb0f045cn/PPSSPP_1.11-testbuild_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/b41bm43mtn1gpnn/PPSSPP_1.11-testbuild_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
02-16-2024, 04:32 PM
Post: #12
RE: Upnp problem
Not jailbroken iOS 17.2.1, and Archer C20 v5 as a router
Find all posts by this user
Quote this message in a reply
04-08-2024, 02:55 AM (This post was last modified: 04-08-2024 03:22 AM by Samloi.)
Post: #13
RE: Upnp problem
How can one set a static IP address for their iPhone's Wi-Fi settings if they are unfamiliar with configuring it through the router settings?
monopoly go
Find all posts by this user
Quote this message in a reply
04-12-2024, 04:31 AM (This post was last modified: 04-12-2024 04:36 AM by AdamN.)
Post: #14
RE: Upnp problem
Here is how to set a static IP on iPhone https://service.uoregon.edu/TDClient/203...t?ID=31371

Make sure you're using a valid IP that matches with your router's IP range if you want to have access to your router (ie. access to the internet through the Router's IP address)
Well, you can easily find a valid IP address from the Automatic (DHCP) IP address given to your iPhone and use the same configuration (ie. IP address, Subnet Mask, Router IP address) on the Manual setting to make it static.

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/2t3mtdhb0f045cn/PPSSPP_1.11-testbuild_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/b41bm43mtn1gpnn/PPSSPP_1.11-testbuild_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: