LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-26-2007, 12:14 PM   #1
hradtke
Member
 
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38

Rep: Reputation: 15
host unreachable when making http request


I setup my linux box with FC6. I can ssh in from the outside fine. I can view web pages from the linux box using the private IP address. However, it times out when I try to view from either inside the network on a different computer or outside the network.

tcpdump:
Code:
07:44:38.613675 IP 192.168.0.101.rds2 > 192.168.0.102.irdmi: S 1901969890:1901969890(0) win 65535 <mss 1460,nop,nop,sackOK>
07:44:38.613713 IP 192.168.0.102 > 192.168.0.101: ICMP host 192.168.0.102 unreachable - admin prohibited, length 56
07:44:41.610326 IP 192.168.0.101.rds2 > 192.168.0.102.irdmi: S 1901969890:1901969890(0) win 65535 <mss 1460,nop,nop,sackOK>
07:44:41.610365 IP 192.168.0.102 > 192.168.0.101: ICMP host 192.168.0.102 unreachable - admin prohibited, length 56
07:44:42.034686 arp who-has 192.168.0.1 tell 192.168.0.102
07:44:42.034842 arp reply 192.168.0.1 is-at 00:13:46:1f:15:72 (oui Unknown)
I did some research on ICMP throwing that admin prohibited error and it sounds like the router is blocking the request. I have port forwarding setup, but I should not even need it inside the network correct? What is going on here?
 
Old 05-27-2007, 05:03 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you can browse on the LAN, then the hosts firewall isn't the problem.
You can't browse on the lan using your routers external address however.

These two statements contradict each other:
Quote:
I can view web pages from the linux box using the private IP address. However, it times out when I try to view from either inside the network
Do you mean the same host (linux box) as is running the server? That isn't a LAN address that is the local host. So if another host on the lan can't access it, check the firewall on the Linux web server.

What does nmap on a different LAN computer say?
 
Old 05-27-2007, 10:25 AM   #3
hradtke
Member
 
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38

Original Poster
Rep: Reputation: 15
Doh! I figured specifying the private IP would hit the router. I did not even think to check the firewall settings either as I thought both 22 and 80 were open as default. Thanks its working great now.
 
  


Reply



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
Host Unreachable , ICS, Slackware Box=Client, XP Box=host MercuryRising Linux - Networking 5 04-13-2006 01:52 PM
destination host unreachable mundacho Linux - Networking 1 03-10-2006 01:59 PM
Host is unreachable Mikessu Linux - Networking 1 03-13-2004 11:49 AM
destination host unreachable jb1 Linux - Networking 3 11-27-2002 01:36 PM
Host unreachable toolkit Linux - Networking 7 07-09-2002 12:42 AM

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

All times are GMT -5. The time now is 09:04 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