I have a RedHat 7.2 PC, which is configured as firewall, using ipchains. I have an internal network 192.168.x.x/255.255.0.0, which this firewall is protecting. The firewall has multiple real IP addresses ( done with aliasing ).
I also have a WEB server, which is connected to my external network ( let's assume it has ip address 184.108.40.206 ).
I want to connect the WEB server to the internal network and to add its IP address as another alias in the firewall and somehow to make redirection. Assuming the internal IP address of the WEB server will be 192.168.0.5.
So, the firewall will have the real IP address of my WEB server (220.127.116.11) and should redirect all the incoming packages on port 80 to 192.168.0.5:80.
My question is how can I make it with ipchains or another tool.