Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: Static/Dynamic NAT Combination
Date: Fri, 28 May 2004 21:27:42 +0100	[thread overview]
Message-ID: <200405282127.42236.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <20040528221802.47e2957c.leslie.polzer@gmx.net>

On Friday 28 May 2004 9:18 pm, Patrick Leslie Polzer wrote:

> On Fri, 28 May 2004 14:04:14 -0600
>
> Jorge Davila <isaac@nicaraguarealestate.com> wrote:
> > What do you want to do?
>
> Masquerade Box A with flexible port numbers via the router's PPP connection
> and the same thing for box B with static port numbers.
>
> Based on the docs I am not sure whether this is possible with Netfilter.
>
> I hope I am able to express this quite complicated thing in a way that
> you can understand it...

I'm not sure I understand, certainly.

What do the port numbers matter?   When doing static or dynamic NAT, it's 
usually the IP addresses that people are bothered about.

I suggest either:

1. Give us a specific example of what you want to happen, showing us the 
source & destination addresses & port numbers for machines A & B, so we can 
see exactly what you want to do, or

2. Show us what wouldn't work using a standard 1-1 NAT ruleset, or a standard 
"masquerade everything behind one IP" ruleset

Regards,

Antony.

-- 

I want to build a machine that will be proud of me.

 - Danny Hillis, creator of The Connection Machine

                                                     Please reply to the list;
                                                           please don't CC me.



  reply	other threads:[~2004-05-28 20:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-28 15:58 Static/Dynamic NAT Combination Patrick Leslie Polzer
2004-05-28 20:16 ` Jorge Davila
     [not found] ` <40B79B3E.2050504@nicaraguarealestate.com>
2004-05-28 20:18   ` Patrick Leslie Polzer
2004-05-28 20:27     ` Antony Stone [this message]
2004-05-28 21:08       ` Patrick Leslie Polzer
2004-05-28 21:52         ` Jorge Davila
2004-05-28 20:37     ` Jorge Davila

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=200405282127.42236.Antony@Soft-Solutions.co.uk \
    --to=antony@soft-solutions.co.uk \
    --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