Ok here is my situation...
i have a linux server running Gentoo with two network interface cards connected to 2 different newtorks....
lets say that the two cards have the ip... 132.0.0.1 and 93.0.0.1 and i have a machine each on the two networks with say ip. 93.0.0.2 and 132.0.0.2 ..
now 93.0.0.2 is running a server application on port 2000. I need the machine 132.0.0.2 to access this service trhough the linux machine......
Its fine if the server thinks that the client is the linux machine and the client thinks that the linux machine is the server.... I need the linux machine to do some kind of reverse NAT... Some one told me that i oculd do this through iptables but I am quite new to linux and have no idea how to do this.. can some one show me how i can configure iptables to do this..(with commands please..)..
and its TCP packets which needs to be fowarded and I have root permission on the linux machine... and I cant change the network configuration...
thanx in advance