I have configured IP Tables 1.2.6 on RH Linux 8.0. Working nice.....
I have local system which is running Apache WebServer on Solaris... its ip Address is 192.168.1.10
I have configured DNS and Gateway for this system.....From This system I can connect to the Internet ( Ping,nslookup,ssh..etc)
My problem is......
eth1
Here I have one more public IP . ..ie. 61.11.10.12.. I need to map this IP 61.11.10.12 to 192.168.1.10
and I want to allow only 80 port of 192.168.1.10 machine....... (Only web request)
I have tried the following command........but not working......
iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth1 -s 0.0.0.0/0 -d 61.11.10.12 -j DNAT --to 192.168.1.10:80
Please help me......
bye
Laxman