linuxmeout
05-15-2007, 02:59 PM
I have been try to enable TCP forwarding on the OS .. But have failed miserably. I wanted to know if the following scnario is possible - Please help before I go crazy
-- originating pc (pC1) ip = 199.1.1.4
-- dual nic linux box (linux-1) ip = 199.1.1.5
ip = 198.1.1.3
-- destination server (server-1) ip = 198.1.1.4
-- In short I need to get from (PC-1) over port 8600 to connct to server-1
Can I set up iptables policies on the linux box to achieve this?
I assume I need to set up routing and enable routing ?
Anyone has experience with this please help me out ?
Cheers
Tom
-- originating pc (pC1) ip = 199.1.1.4
-- dual nic linux box (linux-1) ip = 199.1.1.5
ip = 198.1.1.3
-- destination server (server-1) ip = 198.1.1.4
-- In short I need to get from (PC-1) over port 8600 to connct to server-1
Can I set up iptables policies on the linux box to achieve this?
I assume I need to set up routing and enable routing ?
Anyone has experience with this please help me out ?
Cheers
Tom