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?
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
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.
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.
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.
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.
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.
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.
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.