I have the following situation:
A windows based program that lacks proxy support is on my secondary computer, which is connected to the internet *through* the primary (linux) one.
Now in windows I use AnalogX's portmapper ( http://www.analogx.com/contents/download/network/pmapper.htm ) so that all data received by the primary on certain ports is forwarded to a certain IP on the same ports, and any data received back is sent to the secondary computer.
Is there a way to do this is Linux? I tried iptables but couldn't figure out the exact rules required.
Thanks a lot.
Nikhil