LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 06-09-2008, 06:40 AM   #1
kevinyeandel
Member
 
Registered: Jun 2008
Posts: 49

Rep: Reputation: 16
Server access issue - works from internet but not the lan


Hi
My internal net is 192.168.*.* and I CAN access my web server from the internet since I have set up port forwarding - no problems at all. I can access my web server on its LAN 192.168 address but if I put my internet address, 78.32.*.* into a url the server is not found IF connected via my LAN - just says server not found error.

If I connect a modem to a pc and put http address 78.32.*.* in my browser I can connect to my webserver on my LAN which is perfectly fine.

Somehow it is because I am accessing my internal server via an external IP (router)...

Please can you tell me what I forgot? I'm on Centos5, if that is relevant.

Many thanks

Kevin
 
Old 06-09-2008, 07:05 AM   #2
sunethj
Member
 
Registered: Nov 2006
Posts: 97

Rep: Reputation: 16
i think this is perfectly normal. the reason you can't access the server from LAN by using internet ip is because the packets can't find their way to server.

when you are connecting through the modem it is like coming from internet (to make sure unplug yout lan cable from the pc connected to modem, dial the modem and access using the 78.32.*.* ip and it should work. but if you try to access using the 192.168.*.* ip it should not work.)
 
Old 06-09-2008, 08:49 AM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Google for 'NAT Loopback' and the model of your router and see if there's any instructions available for switching this on.

Dave
 
  


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
Ubuntu server cannot access internet but LAN machines can. librano Linux - Server 2 05-13-2007 01:17 PM
access lan web server thru dual homed host / webserver from internet with one pub IP. swilhelm Linux - Networking 2 08-02-2006 02:57 PM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM
LAN works, but Internet does not connect digiplaya Linux - Networking 7 11-29-2003 05:07 PM
LAN works but Internet doesn't ???? El Croat Mandriva 11 08-24-2003 03:56 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration