I've configured my browser to use an external proxy for all traffic. It works well except when I visit a certain site with an embedded java game. The traffic sent from the java applet is not going through the proxy (I know this because the app displays my real IP address).

I've tried changing relevant java settings but I can't get it to use the proxy.

Can anyone suggest a way I can route traffic from the applet through a proxy, without restricting the functionality of the game? In linux or windows. All other http traffic is going through the proxy just fine.

  • It's a little bit odd trying to answer a question when you don't provide the Java Version, Operating system, browser, proxy software, is it a SOCKS proxy, is it your applet, is it HTTP traffic for the game, ... – mailq Aug 11 '11 at 11:03
  • Java version/OS/browser can be any, it still doesn't work. Currently not using any proxy software, just setting IP/port of the proxy in control panel which forces http/https and maybe some other traffic through the proxy. Not sure what protocol/port the game uses but it could be something random. – Kyle Aug 11 '11 at 11:13
  • Unknown protocol/port --> not HTTP --> not "proxyable" – mailq Aug 11 '11 at 11:17
  • @mailq why is that? – Kyle Aug 11 '11 at 11:20
  • Because you don't tell me what proxy you have. And therefore I assume it is only a HTTP proxy: en.wikipedia.org/wiki/Proxy_server – mailq Aug 11 '11 at 11:27

Just a shot in the dark: The applet doesn't use HTTP traffic but uses some other protocol on a different port. So this isn't possible if the programmer didn't take this into account.

  • If the game uses some non-standard port and a different protocol, does the proxy have to be set up specifically for this? Why can't I tell the proxy to forward the traffic regardless? (sorry for my lack of understanding) – Kyle Aug 11 '11 at 11:15
  • As I said: depends on the proxy. A HTTP-Proxy is only for HTTP. – mailq Aug 11 '11 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy