Hi


I am using redhat 6 64bit server OS in my concern. I am configure squid proxy server. My interconnection is dhcp connectioned ip address and i am changed to static ip address using squid proxy.
For Example: i am getting dhcp connection from Ethernet eth0 (192.168.1.1) for input and sending information to another Ethernet eth1 (192.168.0.1) for output to my client machine like Xp.
My problem is i can't ping google or some other websites using cmd prompt.But internet was working properly
And also used iptables entry i post below please tell right way to rectify this problem




*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -i eth1 -p all -s 192.168.0.254/24 -j ACCEPT
#-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# allow certain inbound ICMP types (ping, traceroute..
-A INPUT -i eth0 -p icmp --icmp-type destination-unreachable -j ACCEPT
-A INPUT -i eth0 -p icmp --icmp-type time-exceeded -j ACCEPT
-A INPUT -i eth0 -p icmp --icmp-type echo-reply -j ACCEPT
-A INPUT -i eth0 -p icmp --icmp-type echo-request -j ACCEPT
#Common ICMP (PING) Match Criteria
-A OUTPUT -p icmp --icmp-type echo-request -j ACCEPT
-A INPUT -p icmp --icmp-type echo-reply -j ACCEPT
#Enable Ping Request
-A INPUT -p icmp --icmp-type 8 -s 0/0 -d 192.168.0.254 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
-A OUTPUT -p icmp --icmp-type 0 -s 192.168.0.254 -d 0/0 -m state --state ESTABLISHED,RELATED -j ACCEPT


COMMIT