hi guys
i ve 2 server A and B
A have 190.200.1.62
B have 190.200.1.61
190.200.1.62 is binded to an external IP(203.167.117.154)
in the Cisco router.
i want to forward incoming HTTP request to 190.200.1.61 w/c is my
web server
i do this
echo '1' > /etc/sys/net/ipv4/ip_forward
iptables -t nat -A prerouting -p tcp -i eth0 -d 190.200.1.62 --dport 80 -j DNAT --to 190.200.1.61:80
iptables -A FORWARD -p tcp -i eth0 -d 190.200.1.61 --dport 80 -j ACCEPT
but it seems doesnt work..... i need ur advice & solutions
thanks in advance
aris