Is there an app, jailbroken or not, which will allow an iPhone to set up a hotspot that has uPnP?

So this is a bit of a technical question.

I know how to set up a personal hotspot, but the problem is that the iPhone’s personal hotspot’s NAT does not do port forwarding or uPnP.

Now, I cannot see why the iPhone should not be able to do so, but at the same time, I have not been able to find any credible resource that lists any app that has such a function. Of course, I don’t think that a non-jailbroken iOS would allow such an app to exist, but at the same time, I haven’t been able to find a reference to a Clydia app that can do so either.

Googling has led me nowhere - any techies out there with a jailbroken iPhone that can run some tests?

All i found is this

Activating Personal Hotspot on an iOS device enables it’s built-in NAT router. Other devices that connect to this iPhone (using USB, WiFi or Bluetooth) get an IP in the 172.16.0.0/12 subdomain. There are no NAT settings in iOS, nor does it provide UPnP or NAT-PMP for remote NAT configuration

I found nothing that didnt need to be rooted :frowning:
Maybe someone more iphone fluent has something

Yeah, I got that too. If this were a normal router, I would know what to do, but the iPhone is opaque on this, which is why I was hoping that jailbroken apps would help. Did you find anything that worked if rooted? I have old iPhones lying around that I could root if needed.

not for IOS unfortunately.
Only option i found was hard tether to laptop, share laptops wifi which will do UPNP

Maybe tell us what you actually want to do. (I presume uPnP is not a goal in itself)
Sent from my iPhone using Tapatalk

The end goal is to get my Nintendo Switch to connect via my hotspot through an “Open NAT”.

The main issue is that matchmaking on most multiplayer games require ports to be forwarded in order for a P2P connection to be made. If ports are not forwarded, the Switch can’t make a P2P connection even though I’m technically connected to the internet.

For that the best solution i found was to USB tether to a PC, then have the PC share its wifi adapter (normal windows function)
The PC will allow openNAT and UPNP

That’s a solution I’ve come across as well, but unfortunately I won’t have a laptop available. Also, a laptop is kinda big for what is essentially a router for my router. It’s like getting a pet dog for my pet dog.

Also, the techie in me gets unreasonably frustrated with this janky set up as there is absolutely no technical reason that the phone can’t also implement uPnP. I’d kind of accept this for iOS and all it’s idiosyncrasies, but it seems like Android doesn’t either.

Android might try wifi tether router 6.0

Or Port Forwarder

Or FoxFi

I think you’ll be best served with something like this: https://www.amazon.com/gp/aw/d/B00634PLTW/ref=mp_s_a_1_2?ie=UTF8&qid=1498649468&sr=8-2&pi=AC_SX236_SY340_QL65&keywords=routers+4g&dpPl=1&dpID=314tVQcegpL&ref=plSrch

Just pop out your sim, plug it into the router & you’re good to go.
Sent from my iPhone using Tapatalk

That device seems to require a USB modem to go with it. Which is a pretty expensive combo.

UPnP on a cellular network is highly unlikely to work. Due to the shortage of IPv4 addresses, carriers mostly do “carrier grade NAT” where customer devices have private IP addresses - and they’re not going to allow port forwarding in from the internet to your device. So no matter what kind of routing you manage to set up on your phone for your tethered devices, traffic from the internet is not going to be able to establish connections through your carrier.

You are right. This is not the device I meant.

But there are 3G/4G modem/routers for less than $100 that would fit the OP’s requirements.

While I understand that this is a common issue, it’s not the case for me. As of right now I have the IP address 14.100.132.44, which I believe is not a private IP range. So the issue is with the NAT on the iPhone, not at the carrier level.

How did you determine that this was your phone’s IP address?

I used http://www.whatsmyip.org.

It suddenly occurs to me that hat was a dumb way to look for an internal IP address. I used another tool and found that I was indeed on an internal IP address. So this has been a bit of a wild goose chase. :frowning:

It suddenly occurs to me that hat was a dumb way to look for an internal IP address. I used another tool and found that I was indeed on an internal IP address. So this has been a bit of a wild goose chase. :frowning:

Wait for it. . . .

Bingo.

Yes, what you saw was the public NAT that your carrier uses to NAT traffic to the outside world. Your phone gets a 10. address, and then traffic is NAtted through an interface with a single public-facing routable IP.