-
Newbie
Proxy Setup
I recently purchased a TCP Reverse proxy to hide my IP in the client.php and I'm not quite sure how to set it all up. When I just plug in the proxy IP and proxy port into my client.php, my client no longer loads, it gets stuck at 87%. Any help setting up the proxy would be great :)
Edit: When I run this it says unknown column.
UPDATE server_settings SET enable_securesessions = '0';
UPDATE server_settings SET enable_antiddos = '1';
UPDATE server_settings SET ip_lastforbans = '1';
Last edited by SecretToon; 05-08-15 at 05:50 AM.
-
-
Sorcerer Supreme
Re: Proxy Setup
First of all, the title of this thread is missleading, i though u were setting up a proxy on a server. But non the less
the querys
"UPDATE server_settings SET enable_securesessions = '0';
UPDATE server_settings SET enable_antiddos = '1';
UPDATE server_settings SET ip_lastforbans = '1';"
Are not required unless you use Phoenix, or any edit of phoenix, and i'm pretty sure you use some R63C emulator since the client stops at 87%, and when it stops at 87% that means that the connection was not made, or the port is closed, atleast most of the time...
Now to the part on how you set up your proxy.
on all tcp proxy providers, you will be allowed to choose which ip and port it is supposed to protect.
And when you have done that you will get the proxy ip and port. Those two you put in the client.php
And you put your original ip and port in the emulator configuration. And then it should work.
But... If you use azure emulator, it wont work. Because then you need to edit the emulator, you need to search for something like domaincrosspolicy and then find something like game.tcp.port and you remove that and replace it with something like tcp.proxy. and you add tcp.proxy=(your proxy port) in your emulator configuration and then yoou debug the emulator. From there the client should connect to the emulator.