So here's the deal: I created a .jar file which i open through cmd.
java -cp proxy.jar Proxy 1337 xxx.xx.xxx.xxx <port> www.google.be 80
This is all working fine, when i connect to localhost:1337, I see google.
Now I changed the connection config of my private server's ip to my localhost, and obviously changed google and it's port to the gameservers ip/port. No trouble so far, I start openkore and it works! But does it really work? How can i check my user's IP adress, is this functionality present in openkore?
Greetz,
Korellated.
Connect through Proxy
Moderator: Moderators
-
Scarya
- Moderators

- Posts: 136
- Joined: 26 May 2008, 12:25
- Noob?: No
Re: Connect through Proxy
Sounds interessting.
First: Your IP http://www.ip-adress.com/IP_adresse/
Second: Choose one of them http://www.workingproxies.info/proxies.shtml
Check your IP again.
First: Your IP http://www.ip-adress.com/IP_adresse/
Second: Choose one of them http://www.workingproxies.info/proxies.shtml
Check your IP again.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots.
So far, the universe is winning.
Richard Cook
Wiki
So far, the universe is winning.
Richard Cook
Wiki
-
Korellated
- Noob

- Posts: 2
- Joined: 12 Nov 2009, 03:45
- Noob?: No
Re: Connect through Proxy
Apperantly openkore succeeds in logging in on the charserver with the proxy (and fails connecting whenever i'm not running the jar file), but for establishing a connection with the gameserver itself it doesn't use the proxy. cmd netstat -a did the trick.
Guess i'll have to modify openkore to my needs
Guess i'll have to modify openkore to my needs
-
kali
- OpenKore Monk

- Posts: 457
- Joined: 04 Apr 2008, 10:10
Re: Connect through Proxy
Would there be any chance of you opensourcing your proxy?
Got your topic trashed by a mod?
Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.
Have a nice day.
Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.
Have a nice day.
-
kr105
- Noob

- Posts: 4
- Joined: 06 Jun 2009, 03:05
- Noob?: No
- Location: La Serena, Chile
Re: Connect through Proxy
I've made something similar in C.. and I had the same problem.. the solucion isn't in the Openkore/RO Client side..
Remember the packets structure, they send the IP:Port to the client, and of course the client connect to that IP:Port, so you need to modify that packets to point to the proxy IP instead to the original RO Server IP.
I'm noob in Java, so I can't help you more..
Hope that this help!
Regards.
Remember the packets structure, they send the IP:Port to the client, and of course the client connect to that IP:Port, so you need to modify that packets to point to the proxy IP instead to the original RO Server IP.
I'm noob in Java, so I can't help you more..
Hope that this help!
Regards.