l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2007 Oct 10 08:13

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] server setup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] server setup

>>>>> "CZ" == Cylar Z <Cylar> writes:

CZ> The problem is when I try to combine the two. The
CZ> server and the Windows client need to be able to share
CZ> the DSL connection. Question is, how?

Do you need to access the server from the internet?  IE, is it actually
going to be serving something?  Or is this just a linux box to play


1) both behind the router with the linux box not serving anything (like
   web pages):  simply configure the interface to accept a DHCP address
   from the router when it comes up:

   Run "system-config-network" and select dhcp as the option for the

   (this really just puts something like this in your
   /etc/sysconfig/network-scripts/ifcfg-eth0 file:


2) if your linux box is serving something (like web pages) and you still
   want it behind the router, then you need to configure the router to
   port-forward the server ports you want to the linux box (IE, for web
   pages set it to port forward port 80 to your linux box).  You'll
   likely need to use an internal static IP address to make this work
   right.  More advanced configuration of the router needed.

3) if your linux box is serving something (like web pages): you can have
   *it* be the router connected to the internet and use 2 interface
   cards and have the windows box behind it:

CZ> Or do I use 2 Ethernet cards in the server, secure it
CZ> via a software firewall, and then put the router
CZ> behind it (with the client attached to the router)?
CZ> I’m not crazy about the second way since it means
CZ> routing 100% of my Internet traffic in both directions
CZ> through the server.  

You don't need the router at all at that point.  You may want a switch,
but the linux box can be the DHCP server too which is all the windows box
needs anyway.  A simple 4-port switch will make you happy (or a
crossover cable, but I'd recommend the switch instead)
"In the bathtub of history the truth is harder to hold than the soap,
 and much more difficult to find."  -- Terry Pratchett
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.