LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2013, 04:47 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 537

Rep: Reputation: 30
Question Cannot ping my router from from outside internet?


I am running my own web and mail server in ubuntu 13.10, my pc is connected to the D-link ADSL router that is working as dhcp server and default gateway for the pc, i want to connect to my web and mail server from the outside internet but it is not possible, when i ping my router external ip from the outside internet that is not working:
Quote:
Pinging 175.109.93.153 [175.109.93.153] with 32 bytes of data...
Results
count ttl (hops) rtt (ms) from
1 TimedOut
2 TimedOut
3 TimedOut
4 TimedOut
5 TimedOut
Statistics
packets sent 5 times (ms) min -
received 0 0% avg -
lost 5 100% max -

-- end --
but i can ping from the lane.
 
Old 12-05-2013, 05:40 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,267

Rep: Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694
this can be set on the gui of the rooter (if router accepts ping requests and allows access to your servers). They can be set more or less independently. Also you need configure local network and external connection too...
 
Old 12-05-2013, 06:18 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,178

Rep: Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645
I assume pan64 is correct that your wan side icmp has been disabled or even not installed.

In some cases it might be blocked along the way for some reason.

Last edited by jefro; 12-06-2013 at 03:31 PM.
 
Old 12-06-2013, 03:05 AM   #4
shams
Member
 
Registered: Jan 2004
Posts: 537

Original Poster
Rep: Reputation: 30
Question

icmp and ping are enabled in my pc firewall, i open the routet settings and didn't find any option to enable icmp and ping, the router firewall has a gui window (Add IP Filter -- Incoming) to allow incoming traffic, it is asking for the source ip and port number or range, for the source ip address didn't accept 0.0.0.0 i don't how to configure to accept icmp from the outside internet?

Last edited by shams; 12-06-2013 at 03:06 AM.
 
Old 12-06-2013, 04:21 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,267

Rep: Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694
what kind of router you have?
 
Old 12-06-2013, 04:59 AM   #6
shams
Member
 
Registered: Jan 2004
Posts: 537

Original Poster
Rep: Reputation: 30
My router is D-Link.
 
Old 12-06-2013, 06:09 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,267

Rep: Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694
that is not really enough. D-Link has a page like this: http://support.dlink.com/emulators/w...ols_system.htm for all the routers. We may try to use that pages to check your setup, but you need to specify your router exactly.
 
Old 12-06-2013, 03:35 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,178

Rep: Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645
Pinging the router generally has nothing to do with firewall. In most soho routers there is some option to enable external services. Pinging the external ip address should require the router to respond if it was enabled to do so. Most are set to disabled by default.

If you were to NAT the internal computer with some pin hole or go wild on a dmz(not recommended) it could allow you to then pass through to the internal client.

More than a few isp's block port 80. You then have to either map it on dhcp to some other port or let outside people know you are using a different open port.
 
Old 12-08-2013, 04:24 AM   #9
MikeDeltaBrown
Member
 
Registered: Apr 2013
Location: Arlington, WA
Distribution: Slackware
Posts: 96

Rep: Reputation: 10
Look on the 'Advanced LAN' tab. There is a check box to "Allow WAN ping respond".

Pinging the globally accessible IP address (175.109.93.153) will tell you if the router is up. The packet will not traverse the router to the internal web server.
 
Old 12-08-2013, 11:58 AM   #10
shams
Member
 
Registered: Jan 2004
Posts: 537

Original Poster
Rep: Reputation: 30
Solved

Thaks for replies the option is under management-> access control -> services.
 
Old 12-09-2013, 01:28 AM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,267

Rep: Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694Reputation: 7694
glad to help you....
If you really want to say thanks just press YES, if you think your problem is solved please mark the thread SOLVED
 
  


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
No internet/but I can ping router acidblue Slackware 9 03-06-2009 08:24 PM
can ping router, can't ping internet IamSauce Slackware 6 03-11-2008 08:03 AM
can ping router but can't connect to it, nor internet tuneout Slackware 13 06-07-2006 01:14 AM
able to ping router but no internet madhacker Linux - Networking 4 02-25-2006 01:13 PM
Internet Ping AND router? garr0323 Linux - Networking 1 03-09-2004 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:15 AM.

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
Open Source Consulting | Domain Registration