[Xitami] Running server through a router

Charles Schmidling xitami@lists.xitami.org
Thu, 1 Jan 2004 12:11:22 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_002E_01C3D060.5F04E520
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Steven,

Except for OS differences, I already do what you want to do with a =
Linksys wireless cable router.  This is what you do.

First, determine the internal IP address for the network card that is =
attached to your router.  Each card or interface can actually have its =
own address (used or not).  Click "Networks" in the system tray  and =
choose "ethernet".  In one of those tabs, it has your configurations =
settings (don't have an XP on me right now so shooting from memory).  =
Write down your IP address, the gateway, mask, and DNS addresses.  It is =
possible to use that IP in your router settings, but it is technically =
dynamic (changeable) so it would be wise to set it to a static address, =
but you can do it later.  You can also run "IPCONFIG" to get this info, =
as long as you choose the correct interface.

The reason I'm suggesting using your current IP address is just to get =
it running.  When you set your address manually, you must also set the =
gateway (your router), mask (that 255.255.x.x number), and the Domain =
Name lookup (DNS) addresses.  Since you set these up manually, no =
request is made to the DHCP server for this stuff.  Also, choose an =
address the mask likes.

Now, armed with your notes, go into your router's setup.  Usually you =
enter its IP (198.168.1.1) or whatever and password.  Choose the =
ADVANCED tab then "DMZ Host".  Enter your server's IP address here and =
apply it.

Your server is now open to the world - completely open.  As if it were =
the only computer connected to the modem.  The DMZ Host will direct ALL =
traffic to this machine so a firewall is REALLY important!  All your =
peer sharing stuff should also work now for the same reason.

Test that it works before setting up a manual IP address, remembering to =
include the the gateway, mask and DNS host addresses in the server's =
settings.  You will need to change the DMZ address before it works =
again.  Rebooting may also help.

You could have setup Port Forwarding to forward a range of ports to this =
server, but why.  Port Forwarding will be useful if you have different =
computer perform different tasks.  Mail here, DB there, FTP to that one, =
etc...  Then you need to know who does what to which port.  Right now =
its a simple application with a simple solution, mostly.

Happy Multitasking,
Charles

  ----- Original Message -----=20
  From: Steven L. Haas=20
  To: xitami@lists.xitami.org=20
  Sent: Wednesday, December 31, 2003 7:00 AM
  Subject: [Xitami] Running server through a router


  I am trying to run the Xitami web server on my WIndows XP machine that =
is connected to the internet via a cable modem (RoadRunner/Motorola =
Surboard).  The internet connection is split amongst 2 computers using a =
Linksys router.  When I start the web server everything seems fine, but =
when I try to access the web page I have loaded on the server by =
connecting to my internet connection's (cable modem) IP address, I am =
directed to the router's configuration page.  This also happens when the =
server is turned off, so it's not a big suprise.  What is odd is that =
when I try to connect to the router's config page by entering the =
router's default IP address into IE, I am not taken to the config page =
as usual, but I'm instead directed to the web page I have installed on =
the Xitami web server.  When the web server is turned off I go straight =
to the config page as expected.  It seems like somehow the router's IP =
is bouncing me back from the router to the computer with the server =
installed, and the cable modem's (internet connection) IP is forwarding =
straight to the router and never reaching the computer with the server =
installed.  I assume this is a relatively simple fix for any of you that =
are knowledgeable with networks, but I can't figure out what to do to =
fix this & make it work with my set up.  I also cant run the server and =
a file sharing program like KazaA or WinMX.  Is there a way to allow for =
these programs and the server to all run together harmoniously?  Thanks =
in advance for any help, and I apologize if this question has already =
been beaten to death.

  Steve
------=_NextPart_000_002E_01C3D060.5F04E520
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4934.1600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>Steven,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Except for OS differences, I already do what you want to do with a =
Linksys=20
wireless cable router.&nbsp; This is what you do.</DIV>
<DIV>&nbsp;</DIV>
<DIV>First, determine&nbsp;the internal IP address for the network card =
that is=20
attached to your router.&nbsp; Each card or interface can&nbsp;actually =
have its=20
own address (used or not).&nbsp; Click "Networks" in the system =
tray&nbsp; and=20
choose "ethernet".&nbsp; In one of those tabs, it has your=20
configurations&nbsp;settings (don't have an XP on me right now so =
shooting from=20
memory).&nbsp; Write down your IP address, the gateway, mask, and DNS=20
addresses.&nbsp; It is possible to use that IP in your router settings, =
but it=20
is technically dynamic (changeable) so it would be wise to set =
it&nbsp;to a=20
static address, but you can do it later.&nbsp; You can also run =
"IPCONFIG" to=20
get this info, as long as you choose the correct interface.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The reason I'm suggesting using your current&nbsp;IP address is =
just to get=20
it running.&nbsp; When you set your address manually,&nbsp;you=20
must&nbsp;also&nbsp;set the gateway (your router), mask (that =
255.255.x.x=20
number), and the Domain Name lookup (DNS) addresses.&nbsp; Since you set =
these=20
up manually, no request is made to the DHCP server for this stuff.&nbsp; =
Also,=20
choose an address the mask likes.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now, armed with your notes,&nbsp;go into&nbsp;your router's =
setup.&nbsp;=20
Usually you enter its IP (198.168.1.1) or whatever and password.&nbsp; =
Choose=20
the ADVANCED tab then "DMZ&nbsp;Host".&nbsp; Enter your server's IP =
address here=20
and apply it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Your server is now open to the world - completely open.&nbsp; As if =
it were=20
the only computer connected to the modem.&nbsp; The DMZ Host will=20
direct&nbsp;ALL traffic&nbsp;to this machine so a firewall is REALLY=20
important!&nbsp; All your peer sharing stuff should also work =
now&nbsp;for the=20
same reason.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Test that it works before setting up a manual IP address, =
remembering to=20
include the the gateway, mask and DNS&nbsp;host addresses in the =
server's=20
settings.&nbsp; You will need to change the DMZ address before it works=20
again.&nbsp; Rebooting may also help.</DIV>
<DIV>&nbsp;</DIV>
<DIV>You could have setup Port Forwarding to forward a range of ports to =
this=20
server, but why.&nbsp; Port Forwarding will be useful if you have =
different=20
computer perform different tasks.&nbsp;&nbsp;Mail here, DB there, FTP to =
that=20
one, etc...&nbsp; Then you need to know who does what to which =
port.&nbsp; Right=20
now its a simple application with a simple solution, mostly.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Happy Multitasking,</DIV>
<DIV>Charles</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dslhaas99@hotmail.com =
href=3D"mailto:slhaas99@hotmail.com">Steven L.=20
  Haas</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dxitami@lists.xitami.org=20
  href=3D"mailto:xitami@lists.xitami.org">xitami@lists.xitami.org</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, December 31, =
2003 7:00=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Xitami] Running =
server through=20
  a router</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>I am trying to run the Xitami web =
server on my=20
  WIndows XP machine that is connected to the internet via a cable modem =

  (RoadRunner/Motorola Surboard).&nbsp; The internet connection is split =
amongst=20
  2 computers using a Linksys router.&nbsp; When I start the web server=20
  everything seems fine, but when I try to access the web page I have =
loaded on=20
  the server by connecting to my internet connection's (cable modem) IP =
address,=20
  I am directed to the router's configuration page.&nbsp; This also =
happens when=20
  the server is turned off, so it's not a big suprise.&nbsp; What is odd =
is that=20
  when I try to connect to the router's config page by entering the =
router's=20
  default IP address into IE, I am not taken to the config page as =
usual, but=20
  I'm instead directed to the web page I have installed on the Xitami =
web=20
  server.&nbsp; When the web server is turned off I go straight to the =
config=20
  page as expected.&nbsp; It seems like somehow the router's IP is =
bouncing me=20
  back from the router to the computer with the server installed, and =
the cable=20
  modem's (internet connection) IP is forwarding straight to the router =
and=20
  never reaching the computer with the server installed.&nbsp; I assume =
this is=20
  a relatively&nbsp;simple fix for any of you that are knowledgeable =
with=20
  networks, but I can't figure out what to do to fix this&nbsp;&amp; =
make it=20
  work with my set up.&nbsp; I also cant run the server and a file =
sharing=20
  program like KazaA or WinMX.&nbsp; Is there a way to allow for these =
programs=20
  and the server to all run together harmoniously?&nbsp; Thanks in =
advance for=20
  any help, and I apologize if this question has already been beaten to=20
  death.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2>Steve</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_002E_01C3D060.5F04E520--