LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-13-2003, 01:32 PM   #1
m_simin
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
Question Router - XP, Server RH9


2all:

This, probably, has been discussed here a million and a half times, but searching archive didn't help me.

I can only access my site by the LAN IP, and not by actual IP.

Example:
myname.com is registred for 24.44.55.66
My router is my XP box, my server is my rh9 standing beside me
if i access myname.com from LAN it won't show unless i access 192.168.0.161

:( I'm bad with words; please help me out.
 
Old 08-13-2003, 01:37 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
That is because your dns name will be pointing to the ip address of the xp machine. You will need to forward port on xp to port 80 on the linux box.

Take a look at AnalogX portmapper
 
Old 08-15-2003, 12:21 AM   #3
m_simin
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I do; if I didn't then why would it work computers out of my lan?
I think it's some security problem that i can't access my server by internet IP if the router is XP... or microsoft for that matter.

Last edited by m_simin; 08-15-2003 at 12:23 AM.
 
Old 08-15-2003, 12:27 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The only machine that has a public ip on the interent is your xp machine - yes? Then you can't access the linux box directly from the net. hence why you need to forward the port. If I have got it wrong it may help if you drew a network diagram.
 
Old 08-23-2003, 12:59 AM   #5
m_simin
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Code:
+-----+                  +-----+
|Linux| --- connected to |XpBox| --- connected to ADSL
+-----+                  +-----+
Linux has a server http://simins.net
XpBox forwards ports 21, 22, and 80 to Linux
if from XpBox i type http://Frodo (name of my linux box) it works fine
but if i type http://simins.net i can't get there


P.S.
----
Frodo name has NOTHING to do with the book
 
Old 08-23-2003, 04:52 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try using:
http://www.simins.net


If that doesn't work then put this in your hosts file and try again (where 192.168.1.1 is the ip of your server - you'll need to change this):
192.168.1.1 www.simins.net
 
Old 08-23-2003, 12:24 PM   #7
m_simin
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
yes, http://www.simins.net won't work because.. it's the same thing.
defining auto-redirection from simisn.net to my linux box 192.168.0.161 WILL work... but it's easier to buy an external adsl modem i'd think :-p

Anyway, thank all for the help
 
  


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
building a router with RH9 or slackware help needed dark_templar Linux - Networking 8 07-27-2004 05:31 AM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 10:46 AM
NAT / Router RH9 kdd281 Linux - Networking 3 11-24-2003 02:02 PM
RH9 as a router.... yenonn Linux - Networking 4 09-20-2003 01:38 PM
RH9 as router straw Linux - Networking 6 08-28-2003 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 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
Open Source Consulting | Domain Registration