Re: How to: Setup Linux Box with MS Windows PC's

From: -Joe (NoSpam_at_nospam.com)
Date: 06/20/04


Date: Sun, 20 Jun 2004 19:51:48 GMT

Great info Giles! Thanks!

Actually I attempted, unsuccessfully, to describe doing what your diagram
shows.

I am trying to avoid using the static ips on machines that don't need to be
accessed from the internet. I think what you are suggesting is the
following is possible... (Hope so!)

                                  |--PC-1 <-- private ip & port forward
(MASQ)
 modem-->Linux--> 8 port switch-->|--PC-2
           ^ |--PC-3
           | |--etc.
           |
    This is Static ip
    and serves as gateway
    and firewall.

I will go to the link you provided and get a handle on how to do it.

Oh, by the way, I have not found a definitive answer to:
Can you host a web server from your home using a standard DSL dynamically
assigned ip address. If there is a way to do it, another link would be
nice. :)

Thanks!

"Giles Coochey" <giles@coochey.net> wrote in message
news:cb48i2$mo9$1@titan.btinternet.com...
> -Joe wrote:
>
> > I need to setup a e-smith Linux box with 3-4 MS Windows PC's.
> >
> > I need suggestions on how to do it or point me to a resource which will
> > show me how.
> >
> > Here's the set-up.
> >
> > I have DSL line with a block of 5 usable static ip addresses. Lets use
> > 600.xxx.xxx.301 thru 600.xxx.xxx.305
> >
> > DSL modem has its own static ip 600.xxx.xxx.306.
> >
> > I have an 8 port switch and 4 pc's to connect.
> >
> > Want the pc's and Linux box to all talk & share.
> >
> > Only 1 pc (xp Pro let's call it PC-1) needs to be accessible from the
> > internet and has a webserver running on it.
> >
> > I would like the other pc's and laptops to obtain ip addresses
> > automatically but don't want them to be assigned any of the static ip's.
> >
> > I'm thinking:
> > - Connect modem to eth0
> > - Connect eth1 to 8 port switch
> > - Disable DHCP from the modem
> >
> > Linux box
> > - Server/Gateway mode
> > - set up a static ip - 600.xxx.xxx.305
> > - enable DHCP with range of 600.xxx.xxx.100 thru .200
>
> None of these DHCP hosts will be able to access the Internet, you should
use
> the static addresses that you've been assigned for these boxes, or you
> should consider using a private IP range and implementing a
> NAT/Masquerading setup.
>
> Check out: http://www.tldp.org/HOWTO/Masquerading-Simple-HOWTO/index.html
> and http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/index.html
>
> A private IP range is one of 10.0.0.0/8 172.16.0.0/12 or 192.168.0.0/16
>
> You can still give PC-1 (your web server) a private IP and use a port
> forward from your Linux box.
>
> Also, for added security, you might want to make your Linux box multihomed
> and enable it as a firewall:
>
> Modem --- Linux Box (w/ IPtables) --- Windows Box
> |
> +- Windows Box
> |
> +- etc..
>
> At the moment you seem to be describing:
>
> Modem --- Linux Box
> |
> +- Windows Box
> |
> +- Windows Box
> |
> +- Windows Box
> |
> +- etc...
>
> >
> > MS Windows PC's
> > - xp Pro: setup with a static ip addr say 600.xxx.xxx.304
> > - all others to obtain ip's automatically from the Linux server and
> > don't want any of these accessible from the web at this time.
> >
> > Is this do-able or am I all screwed up here?
> >
> > If this is correct, How does one get to PC-1 from the web thru the
server
> > or is that managed by the server?

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.708 / Virus Database: 464 - Release Date: 6/18/2004


Relevant Pages

  • RE: Outlook Web Access
    ... Please check if TCP port is opened on that device. ... On an internet client, ... "Web server name" in the "Web Server Certificate' page? ...
    (microsoft.public.windows.server.sbs)
  • Re: Which Linux OS best for beginner to setup as Web / Mail server / Internet sharer and firewall?
    ... You need GnuPG to verify this message ... I am planning to try to set up a server which the DSL will ... > the internet connection and run a firewall. ... > easier for an absolute beginner (no Linux experience at all) to set up ...
    (comp.os.linux.networking)
  • Re: Linux server features - newbie question
    ... my company uses a windows machine as an internet gateway ... > with a Linux server and Samba server. ... side of the firewall - if your windows box gets hacked, ...
    (comp.os.linux.networking)
  • Re: Setting up DNS records for internal web sites
    ... Internet Explorer would use NetBIOS ... name as the web server ... only internal use by uses whose primary DNS server will be ...
    (microsoft.public.win2000.dns)
  • Re: PPPoE ruined my servers, HELP!
    ... I don't do anything commercial with my machine, it is my "linux 101" class, I ... The web server is really ... running an MS web server on either machine, ping and traceroute both go right ... display the web site by domain name. ...
    (comp.os.linux.networking)