Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a network with few devices with IP addresses,,
I have access to devices and (both linux).
A program is running on and connecting to using udp socket, I cannot modify that program.
How can I make the program on to connect to instead? I can run anything on even on root permissions (hopefully something that can change IP addresses) and before the program is run. A link to API guide on this will be helpful (C#/C++/Perl), although a working program will be better.

share|improve this question

migrated from Jun 23 '11 at 15:14

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

You can use iptables on x.x.x.2 to redirect to x.x.x.3 instead of x.1. Post your q. on serverfault or superuser for details. It has nothing to do with programming.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .