[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Iptable NAT problem



Hi All

We have a small network like this,


--------------		      eth1 ---------- eth0
| WWW Server |---------------------|Firewall|-------------> Internet
--------------			   ----------
192.168.1.4
[203.94.71.36]


Firewall:
eth0: 203.94.71.42
eth1: 192.168.1.1


WWW Server:
eth0: 192.168.1.4

Ok! Problem is...,

o What we want is, who ever asking ip address 203.94.71.36 redirect
(DNAT) to 192.168.1.4

What will be the correct and secured iptables entry we can use?
Do we have to create sub-interfaces (like eth0:1 eth0:2...) in our
firewall? Or we just have to create iptables entry?

Thanks!

Pradeeper




Reply to: