POGOserver icon indicating copy to clipboard operation
POGOserver copied to clipboard

[Question] Use VPN Instead of Xposed

Open jazzy348 opened this issue 9 years ago • 26 comments

Hi,

So I have been wondering if using a VPN instead of Xposed could work. I don't have a rooted phone and would rather not have one. Also, I keep getting this error when trying to start the server..

babel-node --presets=es2015 "./src/index.js"

        ______ _____ _____ _____
        | ___ \  _  |  __ \  _  |
        | |_/ / | | | |  \/ | | | ___  ___ _ ____   _____ _ __
        |  __/| | | | | __| | | |/ __|/ _ \ '__\ \ / / _ \ '__|
        | |   \ \_/ / |_\ \ \_/ /\__ \  __/ |   \ V /  __/ |
        \_|    \___/ \____/\___/ |___/\___|_|    \_/ \___|_|

[Console] https://github.com/maierfelix/POGOServer [Console] Booting Server v0.5.9 [Console] Error: File game_master was not found! [Console] Required assets are missing! Preparing dump session.. [Console] Attempt to login with Ptc.. [Console] StopError: Status code 403 received from HTTPS request

jazzy348 avatar Sep 18 '16 18:09 jazzy348

For the first question

No it wouldn't atm because the certificate for pokemongo will be in the way with the xposed module it ignores/removes it.

For the error can you try a dummy google account? Maby ptc did some changes or that ptc account is banned?

DracoMilesX avatar Sep 18 '16 18:09 DracoMilesX

Managed the fix the 403 issue... Turns out the server I was hosting it on was banned... Is there any way to create my own apk which points directly at my server and has the certificate removed?

jazzy348 avatar Sep 18 '16 21:09 jazzy348

There is a few certificate removed apks available, but don't have links for anyone atm.

Cronick avatar Sep 18 '16 22:09 Cronick

Could you post a link when you get one please.

jazzy348 avatar Sep 19 '16 06:09 jazzy348

+1

KitsuneDev avatar Sep 25 '16 23:09 KitsuneDev

You can find those links on the rastapasta's MITM repo.

I think it'd be great to be able to do that. Yesterday I spent my entire day trying to make it work unsuccessfully. I installed the server but I didn't find any way to connect to it without using the Xposed module. I've got a rooted phone myself but most of my friends haven't got one and that's very restrictive. Pokémon GO custom server is a great idea but I can't play alone. A VPN implementation or a trick with rastapasta's MITM would be way better.

0ln avatar Sep 26 '16 17:09 0ln

What if the VPN also disabled the certificates.... Not sure how but that COULD work..

jazzy348 avatar Sep 26 '16 17:09 jazzy348

I think that could work but I don't know how we could make that VPN server. I'll try but I'm absolutly not sure if it'll work.

0ln avatar Sep 26 '16 17:09 0ln

I already have a VPN setup....

jazzy348 avatar Sep 26 '16 17:09 jazzy348

OwO How... did... you... do... that!!!

Em 26 de set de 2016, às 14:57, jazzy348 [email protected] escreveu:

I already have a VPN setup....

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

KitsuneDev avatar Sep 26 '16 17:09 KitsuneDev

There are many ways of doing it, the easiest way is by using OpenVPN...

jazzy348 avatar Sep 26 '16 18:09 jazzy348

I think he meant a standard VPN setup without Pokémon GO server integration.

0ln avatar Sep 26 '16 18:09 0ln

Indeed I do.

jazzy348 avatar Sep 26 '16 18:09 jazzy348

I'm installing an OpenVPN server on my Windows Server, I've installed POGOserver on my Linux VPS. I'll try some tricks with the hosts file and the modified APKs with certificate pinning disabled. Will see if it works.

0ln avatar Sep 26 '16 18:09 0ln

Let me know! I would love to do this! If you get error 403 it's because your servers IP has been banned... Most datacenter have been...

On 26 Sep 2016 7:23 p.m., Bokopi [email protected] wrote:

I'm installing an OpenVPN server on my Windows Server, I've installed POGOserver on my Linux VPS. I'll try some tricks with the hosts file and the modified APKs with certificate pinning disabled. Will see if it works.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/maierfelix/POGOserver/issues/199#issuecomment-249653932, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJ_fPSK8-afuW_wfve30yXTYK_4iUmBoks5quA2sgaJpZM4J_-GL.

jazzy348 avatar Sep 26 '16 18:09 jazzy348

Ok I tried OpenVPN and that's really REALLY such hard to configure. That thing crashes when I try to launch it and it's really horrible. I think this is definitely not a solution. I think there is something to do with Shadowsocks. Let's try this one.

0ln avatar Sep 26 '16 19:09 0ln

Interesting.... This could work and yes OpenVPN can be. Pain but it isn't too bad once it's up and running.

jazzy348 avatar Sep 26 '16 19:09 jazzy348

Maybe I could try to setup a Docker Image for it

Em 26 de set de 2016, às 16:12, jazzy348 [email protected] escreveu:

Interesting.... This could work and yes OpenVPN can be. Pain but it isn't too bad once it's up and running.

— You are receiving this you commented. Reply to this email directly, view it on GitHub, or mute the thread.

KitsuneDev avatar Sep 26 '16 19:09 KitsuneDev

Or we could use this. So we could use code from this issue to pass other requests!! I'm working on a PR

KitsuneDev avatar Sep 26 '16 19:09 KitsuneDev

I never used it but if you make it work with POGOserver let us now! I'll try with Shadowsocks (I'm stuck with the OpenSSL dependency on Windows right now).

0ln avatar Sep 26 '16 20:09 0ln

@GabrielTK It looks like a reverse proxy, so this won't work in this situation. I too am setting up Shadowsocks.

jazzy348 avatar Sep 26 '16 20:09 jazzy348

Maybe we should move this conversation to Skype.. my username is jazzy348

jazzy348 avatar Sep 26 '16 20:09 jazzy348

+1, but I think a Google Allo group would be better.

Em 26 de set de 2016, às 17:11, jazzy348 [email protected] escreveu:

Maybe we should move this conversation to Skype.. my username is jazzy348

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

KitsuneDev avatar Sep 26 '16 20:09 KitsuneDev

Just so you all know... this works..... Shadowsocket with ShadowDNS, setup custom DNS to resolve the Pokemon Go server IP to your server IP, installed the unsigned Pokemon Go app.... this would work if we could disable SSL...

jazzy348 avatar Sep 26 '16 21:09 jazzy348

I disabled it with Fiddler

KitsuneDev avatar Sep 26 '16 21:09 KitsuneDev

@GabrielTK is there any way of sending the original request source host together with the redirected request?

I mean: Server running on 1.1.1.1, fiddler running on 1.1.1.1 (redirecting pgorelease.nianticlabs.com to 127.0.0.1, phone with proxy set to 1.1.1.1. When phone at 1.1.1.2 makes a request, the server gets it as coming from 127.0.0.1 (because of fiddler))

I want to know if there is any way of sending the original IP, in which case, the server will get 1.1.1.2 instead of 127.0.0.1

vankxr avatar Sep 28 '16 22:09 vankxr