upro wrote:
> Thanks for all the answers, setup with 2 NICs, of course...!
>
> jack <(E-Mail Removed)> writes:
>>>Obviously you need two NICs in your server 
>>
>>Strictly speaking, no.
>
> Uuups - two NICs seemed quite obvious to me, so why do you (Jack) say
> NO?
Well, first of all, it is definately better to have two NICs in the box,
both for performance and security reasons.
But, in fact, You can do all this with only one NIC, like so:
Put all clients, Your router and the DSL modem on the same physical sub-
net, usually with a hub. Then, configure Your clients to use that router
as the default gateway. On the server, You need to assign one IP to Your
NIC (let's say the dynamic one that You get from Your ISP), plus a pri-
vate one as an alias. The server must act as a masquerading gateway.
What will happen now is that Your clients will ignore all packets that
are to travel between the AC and Your router (the "outside" connection),
and the AC will ignore all packets that are being sent among the local
private subnet. - This really works.
But, again, I'd feel really uncomfortable with this setup. - Bottom
line: Use two NICs for this.
Ah, some more explaination: One obvious disadvantage is that all, local
and masqueraded, traffic uses the same NIC, which will eventually double
its load. The next thing is that You have no physical separation of Your
LAN from the outside world, so in theory, somebody could be able to cap-
ture Your inside traffic.
I saw a really good article somewhere on the web, but unfortunally can't
remember where it was. Perhaps googling might get You there (it was a
French site, IIRC).
Cheers, Jack.
--
----------------------------------------------------------------------
My personal reading of the string "MicroSoft" expands to "NanoWeak"...