Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter <netfilter@lists.samba.org>
Subject: Re: Want to do NAT for internal machines
Date: Sat, 1 Jun 2002 19:15:08 +0100	[thread overview]
Message-ID: <200206011815.g51IFAA11740@Networker.rockstone.co.uk> (raw)
In-Reply-To: <20020601185934.N27307@funkyjesus.org>

On Saturday 01 June 2002 6:59 pm, Nick Drage wrote:

> > > # Bind the IP to eth0
> > > /sbin/ifconfig eth0:1 11.22.33.55 netmask 255.255.255.0 broadcast
> > > 11.22.33.255
> >
> > A slightly outdated way of doing it, but it'll certainly do the job.
> > It's the way I still do it.
>
> Is the latest way using the "iproute2" functionality I keep hearing about?

Yup.   Archives of this mailing list will tell you how to do it.

> > It's going to forward all packets in and out of your internal machines
> > - you may as well have just plugged them straight into the Internet.  Put
> > some decent security measures on those servers, and you'll be okay.
>
> Is the any particular reason you want the Internet to contact your hosts
> directly?  Look into the concept of a DMZ, a De-Militarized Zone - you
> might be able to come up with a more security setup.

I agree.   The solution you proposed will do what you said you wanted - but 
that doesn't mean to say that it was a good idea :-)


Antony.


  reply	other threads:[~2002-06-01 18:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-01 15:04 Want to do NAT for internal machines Neil Aggarwal
2002-06-01 16:05 ` Antony Stone
2002-06-01 17:59   ` Nick Drage
2002-06-01 18:15     ` Antony Stone [this message]
2002-06-01 20:54   ` Neil Aggarwal
2002-06-01 20:59     ` Antony Stone

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=200206011815.g51IFAA11740@Networker.rockstone.co.uk \
    --to=antony@soft-solutions.co.uk \
    --cc=netfilter@lists.samba.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox