niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » networking
Home network acting a bit silly
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
Moe Trin
*nix forums Guru


Joined: 20 Feb 2005
Posts: 972

PostPosted: Sun Jul 16, 2006 9:15 pm    Post subject: Re: Home network acting a bit silly Reply with quote

On 15 Jul 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<1153001672.369485.207850@h48g2000cwc.googlegroups.com>, standk@gmail.com wrote:

Quote:
Allen Kistler wrote:

Option 1:
Put /etc/hosts entries on every box that points to your internal IPs.

Option 2:
Install and configure an internal DNS server

The problem with 1) is that I am not trying to just manually associate
the domain with that server, so that I can access it easily. The
problem is that I need to be able to access the external IP, internally.

Why? What (other than IP address and other variables in the IP and TCP
header) do you expect to be different?

Quote:
I was able to do this around a week ago, but all of a sudden that changed.

That would be a routing issue most likely - and changes don't happen by
themselves. What did you change?

Quote:
Is there any way to just manually force the external IP to be
associated with that internal one? As it is now, outside users are sent
to it because of the DMZ, but not internal ones.

You've done that - Now the question is what has changed. Does the server
know how to send packets back out to the router to get back to your
internal systems? Or is it trying to send the replies direct, and your
system is ignoring them because you aren't talking to "this internal
address", but are trying to talk to "that external address". They
don't match (and you may have firewall issues as well), and the conversation
never gets established.

If your server and client are capable, run a packet sniffer on each, and
see where the packets are [not] going.

Old guy
Back to top
kent stand
*nix forums beginner


Joined: 08 Mar 2006
Posts: 6

PostPosted: Sun Jul 16, 2006 3:11 am    Post subject: Re: Home network acting a bit silly Reply with quote

standk@gmail.com wrote:
Quote:
Hello,

I currently have this problem where I am running a linux server behind
a router with its ip DMZ'd. Users from outside of the network can
access the server by DNS or IP, but within I can only see it by its
local internal IP.

Is there anyway to fix this?

Kent

I was thinking, is there perhaps a way to manually map the route?

traceroute to **.**.***.*** (**.**.***.***), 64 hops max, 40 byte
packets
1 * * *
2 * * *
3 * * *
4 * * *
etc.

Kent
Back to top
kent stand
*nix forums beginner


Joined: 08 Mar 2006
Posts: 6

PostPosted: Sat Jul 15, 2006 10:14 pm    Post subject: Re: Home network acting a bit silly Reply with quote

Allen Kistler wrote:
Quote:

Option 1:
Put /etc/hosts entries on every box that points to your internal IPs.
(If you've got Windows, it's \Windows\System32\drivers\etc\hosts IIRC.)

Option 2:
Install and configure an internal DNS server that returns internal IPs
for internal names and forwards requests for external names.

Option 1 is the low-tech way for small networks.

Allen,

The problem with 1) is that I am not trying to just manually associate
the domain with that server, so that I can access it easily. The
problem is that I need to be able to access the external IP,
internally. I was able to do this around a week ago, but all of a
sudden that changed.

The problem with 2) is similar to the problem of one.

Is there any way to just manually force the external IP to be
associated with that internal one? As it is now, outside users are sent
to it because of the DMZ, but not internal ones.

Kent
Back to top
Allen Kistler
*nix forums beginner


Joined: 19 Sep 2005
Posts: 41

PostPosted: Sat Jul 15, 2006 3:00 pm    Post subject: Re: Home network acting a bit silly Reply with quote

standk@gmail.com wrote:
Quote:
Hello,

I currently have this problem where I am running a linux server behind
a router with its ip DMZ'd. Users from outside of the network can
access the server by DNS or IP, but within I can only see it by its
local internal IP.

Is there anyway to fix this?

Option 1:
Put /etc/hosts entries on every box that points to your internal IPs.
(If you've got Windows, it's \Windows\System32\drivers\etc\hosts IIRC.)

Option 2:
Install and configure an internal DNS server that returns internal IPs
for internal names and forwards requests for external names.

Option 1 is the low-tech way for small networks.
Back to top
kent stand
*nix forums beginner


Joined: 08 Mar 2006
Posts: 6

PostPosted: Sat Jul 15, 2006 10:18 am    Post subject: Home network acting a bit silly Reply with quote

Hello,

I currently have this problem where I am running a linux server behind
a router with its ip DMZ'd. Users from outside of the network can
access the server by DNS or IP, but within I can only see it by its
local internal IP.

Is there anyway to fix this?

Kent
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Fri Nov 21, 2008 2:58 pm | All times are GMT
navigation Forum index » *nix » Linux » networking
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Home based Internet research Jobs honey PHP 0 Fri Jul 21, 2006 11:29 am
No new posts make printer network available Johann Höchtl networking 0 Fri Jul 21, 2006 9:01 am
No new posts Network Throttling wizzy Gentoo 1 Fri Jul 21, 2006 1:40 am
No new posts Bug#379048: ITP: libcsoap -- library in C for SOAP networ... Rudi Cilibrasi devel 0 Thu Jul 20, 2006 7:30 pm
No new posts howto log in from one bsd-server to another and move file... Tobias Steer FreeBSD 3 Thu Jul 20, 2006 10:02 am

Mortgage Calculator | Loans | Free Advertising | Record Internet Radio with Tags | Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1811s ][ Queries: 20 (0.0958s) ][ GZIP on - Debug on ]