Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
Again...squid is a proxy for HTTP...NOT ICMP. Therefore, if squid is in place between your workstations and the internet, the only thing squid is going to allow through is HTTP traffic. Allowing ICMP packets through a server to the Internet is a bad idea.
Again...squid is a proxy for HTTP...NOT ICMP. Therefore, if squid is in place between your workstations and the internet, the only thing squid is going to allow through is HTTP traffic. Allowing ICMP packets through a server to the Internet is a bad idea.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.