Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Client Machine Ping command not wrking
Results 1 to 2 of 2

Thread: Client Machine Ping command not wrking

  1. #1

    Client Machine Ping command not wrking

    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

  2. #2
    thank you !

Similar Threads

  1. Cannot ping ubuntu machine
    By ramon82 in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 12-06-2008, 05:06 AM
  2. Cannot Ping outside
    By bala in forum Suse
    Replies: 3
    Last Post: 05-09-2007, 06:20 AM
  3. Squid at one machine and SquidGuard at another machine
    By Dogar in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 04-03-2007, 05:11 AM
  4. Simple question about command syntax ping/log ping results
    By ohalnet in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 07-26-2006, 05:12 PM
  5. Ping
    By mugs in forum Linux - General Topics
    Replies: 5
    Last Post: 01-10-2003, 10:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •