I want to make a kind of WiFi proxy. And therefore I want to know how can I reroute packets that are going through specific adapter to destination IP:port.
closed as not a real question by mgorven, MadHatter, David Schwartz, HopelessN00b, Michael Hampton♦ Nov 20 '12 at 23:23
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
I assume you want to do that on a GNU/Linux system.
In order to re-route all the TCP traffic (since you're talking about packets) from a specific adapter to a specific IP address and port, you should: