LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-17-2010, 10:02 AM   #1
celsomende
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
my serevr blocks ping and all access from internet


hi
I have a Centos 5 server working as firewall, dns, proxy (squid) and mail server with postfix. sometimes it blocks ping from the net and when it hapen I cant browse my site not even fetch my email through webmail from outside. But inside every thing still go well even browsing the internet, but no ping to the net (e.g pop.gmail.com). when I restart it everything come up and work fine.
so any body could help please?

thanks
 
Old 03-17-2010, 01:13 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
What do you get when you type: iptables -L -n
 
Old 03-17-2010, 01:22 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
How is it connected? If it's intermittent - are you on DSL or
something, or some other home-housed solution?
 
Old 03-18-2010, 02:02 AM   #4
celsomende
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Original Poster
Rep: Reputation: 0
my serevr blocks ping and all access from internet

Quote:
Originally Posted by Tinkster View Post
How is it connected? If it's intermittent - are you on DSL or
something, or some other home-housed solution?
HI
my centos is conect to a cisco router. I've got a leased line to my ISP connected trough cisco router point-to-point. and I got some routeble IP's in my network including this server which is the gateway in the internal network and in it's time the external gateway is the router connected to the ISP.

with iptables -L -n command I got

Chain icmp_packets (1 references)
target prot opt source destination
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 8
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 11
 
Old 03-18-2010, 03:42 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That's one of the strangest iptables rule sets I've ever seen.
Only ONE chain, pertaining to icmp? Doesn't look right. But
apart from that - did you have a look in the machines logs,
concentrating on time-stamps that (from your knowledge) are
known-bad, i.e., when it refused traffic?

Another thing I'd try (since I've never dealt with a setup
with a leased line) ask my ISP for support, e.g., traffic
snooping or something like that.


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Aspire one: Can't ping localhost, has access to internet mads-b Linux - Networking 3 02-11-2009 09:54 PM
guarddog blocks internet access periodically stelmed Slackware 0 02-06-2004 07:44 PM
Can ping LAN but cant access internet. Dirt Linux - Networking 2 08-11-2003 02:45 AM
VPN blocks internet access from laptop cmisip Linux - Security 6 07-16-2003 05:33 AM
HELP ME!!! Can ping my sever box but can't access the internet elkrammer Linux - Networking 1 08-03-2002 10:15 AM


All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration