maierfelix / POGOserver

Pokemon GO server emulator
GNU General Public License v3.0
460 stars 198 forks source link

Any solution for connecting to server from an iOS device yet? #51

Open austenrockz15 opened 8 years ago

austenrockz15 commented 8 years ago

So I've got a jailbroken iphone 6 on 8.4, and I've got the server up and running on my windows 7 machine I've also opened up port 3000 on my router to allow for connecting to the server over the Internet, I've tired a method similar to connecting an iOS device to a clash of clans private server if anyone's familiar with that. Essentially I edited the host file in the etc directory of the device to attempt to redirect the Pokemon go application from connecting to the official Pokemon go server and instead connect to my servers public IP, so for clash of clans once you had the server running you simply edited the host file to include (server public ip) game.clashofclans.com I attempted the same for pokemon go and put game.pokemongo.com however when I restart the device it still connects to the official server, I've also attempted to look through the games files to try to find an endpoint that I can edit to redirect to my servers public IP, however I couldn't find anything, I highly doubt you can edit the api endpoint in an application that's already compiled anyways, I'm not sure why clash of clans seems to redirect perfectly but the same method has no effect on Pokemon go, even if I could successfully redirect the application would it even connect successfully? I know the android application used to connect to the server installs some kind of trust framework, perhaps the same could be done on iOS in the form of a certificate? Anyways it's a great idea so far, it will be great for trolling your hardcore Pokemon go friends😂️

icdance commented 8 years ago

use trustme or ssl-kill-switch 2 to disable ssl certification use fiddler as proxy or openvpn to redirect traffic need redirect from "https://pgorelease.nianticlabs.com/plfe/rpc" to your endpoint