iptables with NAT issue

Latest response

hi,
i have configured rhel 6 as a router. my wan side (eth0) ip is 192.168.1.102/24 and lan side (eth1) ip is 10.64.30.1/24.
i have enabled ip forwading in /etc/sysctl.conf.

net.ipv4.ip_forward = 1

also i have added POSTRUTING with MASQURADE by following command.
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
and save it.
now i can ping from 10.64.30.50 (a PC) to my eth0 interface. but i cannot ping to 192.168.1.1 (server connected to eth1). but i can ping to that server from the linux server.
please help me to solve this issue.
Thank You
Dinusha

Responses