From: "John A. Sullivan III" <jsullivan@opensourcedevelopmentcorp.com>
To: Deepak Seshadri <dseshadri@broadbandmaritime.com>
Cc: 'Veena Rao' <vrao@broadbandmaritime.com>,
'Imran Bashir' <ibashir@broadbandmaritime.com>,
netfilter@lists.netfilter.org,
'Syed Amjad Ali' <sali@broadbandmaritime.com>,
'Zia Ullah' <szia@broadbandmaritime.com>
Subject: Re: DMZ Question
Date: Mon, 04 Oct 2004 14:06:26 -0400 [thread overview]
Message-ID: <1096913181.2069.92.camel@localhost> (raw)
In-Reply-To: <200410041736.i94Haduj073687@jkcpub.iserver.net>
On Mon, 2004-10-04 at 13:41, Deepak Seshadri wrote:
> Hello everybody,
>
>
>
>
>
> --------------------------
>
> | | WAN
> (x.x.x.58/28, default gateway - x.x.x.49)
>
> | FC2 e0
> |-------------------------- ISP
>
> LAN | |
>
> -----------------------| e1 | DMZ
>
> 10.0.1.x | e2
> |--------------------------
>
> | |
>
> |-------------------------|
>
> I have 3 computers that need to have public addresses and their IP addresses
> are:
>
> A - x.x.x.50/28, DG - x.x.x.49
>
> B - x.x.x.51/28, DG - x.x.x.49
>
> C - x.x.x.55/28, DG - x.x.x.49
>
> Now the problem is I do not understand how I will give access to these PCs
> from public without putting these PCs on a different subnet. Some firewalls
> such as sonicwall do not require an IP for the DMZ port. You can add any
> number of IPs behind the DMZ and it works. How is that done? Is it possible
> with Linux?
>
> If I connect them on the DMZ interface, should they all be put in a
> different subnet, probably with /29 bit mask? If I do it this way, should I
> use iptables & DNAT or should/can I use just the "routing" in linux?
>
> If you have a better way to do it, please let me know. Any help will be
> greatly appreciated.
>
> Thank you,
>
> Deepak Seshadri
>
>
You have several different options. You do not have to put the public
devices on a separate subnet but I would strongly recommend doing so.
If the public has access, there is the chance that a public user can
crack into your publicly exposed device. If the device sits on your
internal network, there is nothing between the intruder and the rest of
your private systems.
I would also recommend using DNAT and iptables access control. This
way, you can restrict what services are exposed to the public and hide
the true addressing scheme. If you really wanted to get tricky, you
could even alter the TTL so that only your publicly exposed services can
go any further than your ISP's router.
You will need to ensure that the public interface of the firewall
responds to ARP requests for the other addresses. You do this by
binding those addresses to the physical interface, e.g.,
ip address add x.x.x.58/28 dev eth0 brd +
When it is released, ISCS (http://iscs.sourceforge.net) will do all of
this from NAT to access control to ARP to even TTL automatically. Until
then, you'll need to set it up manually or use a rule configurator like
fwbuilder (http://www.fwbuilder.org). Good luck - John
--
John A. Sullivan III
Open Source Development Corporation
Financially sustainable open source development
http://www.opensourcedevel.com
next prev parent reply other threads:[~2004-10-04 18:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-04 17:41 DMZ Question Deepak Seshadri
2004-10-04 18:06 ` John A. Sullivan III [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-10-04 18:09 Daniel Chemko
2004-10-06 3:44 ` Deepak Seshadri
2004-10-06 12:02 ` John Black
2004-10-06 12:35 ` Jason Opperisano
2004-10-04 18:11 Daniel Chemko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1096913181.2069.92.camel@localhost \
--to=jsullivan@opensourcedevelopmentcorp.com \
--cc=dseshadri@broadbandmaritime.com \
--cc=ibashir@broadbandmaritime.com \
--cc=netfilter@lists.netfilter.org \
--cc=sali@broadbandmaritime.com \
--cc=szia@broadbandmaritime.com \
--cc=vrao@broadbandmaritime.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.