NYCPHP Meetup

NYPHP.org

[nycphp-talk] A little network help

Francisco Marin dg_francisco at hotmail.com
Fri Jul 16 10:06:53 EDT 2004


I'm not a CISCO expert but I think you can set up NAT to point those ports to a specific local IP address. You should have a configuration section on your router to setup NAT tables.


  ----- Original Message ----- 
  From: LeeEyerman at aol.com 
  To: talk at lists.nyphp.org 
  Sent: Friday, July 16, 2004 10:01 AM
  Subject: Re: [nycphp-talk] A little network help


  That was my initial reaction too, but how would you then route the http, ftp, etc requests with just one static ip from the ISP?

  Thanks,
  Lee


  FYI - I found a great 90% finished guide to IP networking, routing, forwarding and layering:
  http://linux-ip.net/html/linux-ip.html#routing-forwarding

  It is very well done.


  In a message dated 7/16/2004 9:45:56 AM Eastern Daylight Time, hans at cyberxdesigns.com writes:
    This all seems terribly complicated to set up a little routing between three machines.  I have 4 machines at home each with a static IP address.  I modified the hosts file on each machine to know about the other three machines.  I use my router for DNS and routing to the outside word.  This bypasses having to set up a dns server.  Each time I add a new virtual server on a machine I update the hosts file on each of the machines.  I do this for my linux box, Win2k box, OSX box, ect.

    The hosts file can be found in, C:\WINNT\system32\drivers\etc\hosts on Win2k.  It is in etc/ in Linux and OSX. 

    Host file might look like this:

    # For example:
    #
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host

    127.0.0.1       localhost
    192.168.0.103   ftp.linuxboxen
    192.168.0.103    www.linuxboxen
    192.168.0.104     Win98Boxen
    192.168.0.104     www.Win98Boxen
    127.0.0.1    ftp.localmachine
    127.0.0.1    www.localmachine

    Just my approach to this problem.

    Hans




------------------------------------------------------------------------------


  _______________________________________________
  talk mailing list
  talk at lists.nyphp.org
  http://lists.nyphp.org/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20040716/19a186ad/attachment.html>


More information about the talk mailing list