0

I have a game client. Which connects to this game. I'm trying to set up a socket server which intercepts all traffic to the game server(The game runs through the use of sockets)

My problem is that i would need to redirect all traffic my computer makes to the game servers ip + port to 127.0.0.1 to make it connect to the socket server i've made myself first.

I know i could use the windows hosts file but this redirects ALL traffic. I only want 1 port redirected(The one with TCP traffic) If the HTTP traffic also gets redirected it ruins everything.

I'm using windows 7

Stackie Overflower
  • 201
  • 1
  • 6
  • 14
  • 1
    You might have more luck on serverfault. Also, you should update the question with the OS you're using. – artbristol Apr 17 '12 at 08:26
  • Have you snooped your router settings (if this is just a personal project)? My belkin router can redirect traffic from specific ports or specific services to private, virtual servers. – Anti Earth Apr 17 '12 at 08:32
  • It's a commercial product which will have several users. So it's bound to be "setup free" – Stackie Overflower Apr 17 '12 at 09:16

1 Answers1

0

Maybe Privoxy can help you. It's a successor of Internet Junkbuster, as mentioned in the answer for the following question.

Community
  • 1
  • 1
Vic
  • 21,473
  • 11
  • 76
  • 97