October 2, 2014

IP Forward Or Packet Forward

Forums: 

Hello

I have a Linux Server CentOS 6.3 that has multiple network cards and 5 IP Public, and 5 NIC is connected to the internal network

Now I want the each Public IP to be forwarded to a client in each network
For example:
IP1: 138.166.161.77 Public IP and forward to a client1

NIC1: 192.168.7.1 Private network
Client1: 192.168.7.2

Now I want forward all ports from IP1 to Client1
In addition, all clients can Internet access via IP Public 1

What IPtables command should I write until ports forward from each Public IP to each Client on private Network...

Please Help Me...

WAN interface:
eth0:0
eth0:1
eth0:2
eth0:3
Lan interface:
tap_gw1 192.168.7.1/24 client1 192.168.7.2/24
tap_gw2
tap_gw3
tap_gw4

Click Here!