Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Payal Rathod <payal-iptables@staticky.com>
To: Mike McLean <libolt@libolt.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: public IP behind NAT system
Date: Fri, 3 Oct 2003 18:47:37 +0530	[thread overview]
Message-ID: <20031003131737.GA1700@linux.local> (raw)
In-Reply-To: <200310022320.10454.libolt@libolt.net>

On Thu, Oct 02, 2003 at 11:20:10PM -0700, Mike McLean wrote:
> Hi,
> 
> I have a situation where I've setup a system that has one public IP and does 
> NAT for a network of computers with private IPs.  However I wish to setup a 
> couple of machines behind this NAT system with public IPs like the following:
> 
> 
> outside router --> NAT system --> other systems with public IPs.

Something like,
iptables -t nat -A PREROUTING -d <ext ip> -j DNAT --to <int ip>

might help.

-Payal

> 
> I am wondering if this is possible and feasable with netfilter.  I don't want 
> netfilter to NAT any packets sent to the public IPs that aren't on the NAT 
> system.
> 
> Any help is greatly appreciated,
> 
> Mike
> 
> 

-- 
"Visit GNU/Linux Success Stories"
http://payal.staticky.com
Guest-Book Section Updated.


      parent reply	other threads:[~2003-10-03 13:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-03  6:20 public IP behind NAT system Mike McLean
2003-10-03  7:38 ` Rob Sterenborg
2003-10-03 13:17 ` Payal Rathod [this message]

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=20031003131737.GA1700@linux.local \
    --to=payal-iptables@staticky.com \
    --cc=libolt@libolt.net \
    --cc=netfilter@lists.netfilter.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