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
On Mon, Jun 2, 2008 at 11:50 AM, Nikhil Marathe nsm.nikhil@gmail.com wrote:
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.
If you know the IP of that machine i.e. it is static and its MAC address then you can simply write IP tables rules to NAT only that particular machine...