All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Re: MASQUERADE
Date: Fri, 9 Jul 2004 11:51:01 +0100	[thread overview]
Message-ID: <200407091151.01620.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <20040709103513.GA18894@itstud.chalmers.se>

On Friday 09 July 2004 11:35 am, Erik Wikström wrote:

> On Fri, Jul 09, 2004 at 09:19:58AM +0530, Payal Rathod wrote:
> > Hi,
> > Is there any different way to do MASQUERADE in kernel 2.6.3-7  with
> > iptables v1.2.9?
> > I get,
> >
> > # iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
> > iptables: Invalid argument
> >
> > A quick look at the man page did not suggest anything.
> > Any ideas to what is missing?
>
> First of all I'd like to say that I'm in no way an expert but are you
> sure that you have the right stuff compiled in kernel or as modules? In
> 2.6.7 I had to select to compile MASQUERADE in the kernel, same thing
> with the mangle table if I remember correctly.

I see no reason not to compile everything you need for netfilter into the 
kernel (instead of building as modules).   That way you know all the support 
is there from bootup, nothing can be removed through forgetfulness or malice, 
and you don't have to worry about whether A depends on B, depends on C, etc..

Sure, if you want to use a new feature you didn't previously build, you need 
to recompile the kernel and do a reboot, but in most cases that should be (a) 
infrequent, and (b) pretty simple.

Regards,

Antony.

-- 
In Heaven, the police are British, the chefs are Italian, the beer is Belgian, 
the mechanics are German, the lovers are French, the entertainment is 
American, and everything is organised by the Swiss.

In Hell, the police are German, the chefs are British, the beer is American, 
the mechanics are French, the lovers are Swiss, the entertainment is Belgian, 
and everything is organised by the Italians.

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



  reply	other threads:[~2004-07-09 10:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-09  3:49 MASQUERADE Payal Rathod
2004-07-09 10:35 ` MASQUERADE Erik Wikström
2004-07-09 10:51   ` Antony Stone [this message]
2004-07-09 11:25     ` MASQUERADE Wilfried
2004-07-12 18:45     ` MASQUERADE Payal Rathod
2004-07-09 15:48   ` MASQUERADE Payal Rathod
  -- strict thread matches above, loose matches on Subject: below --
2004-10-13 16:41 masquerade Janos Makadi
2004-10-14 12:36 ` masquerade Jason Opperisano
2004-10-14 17:19   ` masquerade Makadi Janos
2004-10-14 20:08 masquerade Hudson Delbert J Contr 61 CS/SCBN
2020-02-05 15:20 masquerade Serguei Bezverkhi (sbezverk)
2020-02-05 15:41 ` masquerade Florian Westphal

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=200407091151.01620.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 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.