From: Ralf Spenneberg <lists@spenneberg.org>
To: "Jesús García Crespo (aka Sevein)" <correo@sevein.com>
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: Where libipt_MASQ.so (???)
Date: 04 Aug 2003 20:12:56 +0200 [thread overview]
Message-ID: <1060020776.26856.50.camel@kermit> (raw)
In-Reply-To: <1060020345.26856.44.camel@kermit>
Am Mon, 2003-08-04 um 20.05 schrieb Ralf Spenneberg:
> > iptables -A FORWARD --match mac --mac-source 00:c0:49:c9:d3:f1 -j MASQ
> You need:iptables -A FORWARD --match mac --mac-source 00:c0:49:c9:d3:f1
> -j MASQUERADE
This is of course wrong. I take the opportunity to correct myself. I
guess I need more coffee.
Masquerading is done in the nat table in the POSTROUTING or OUTPUT
chain, therefore the line reads:
iptables -t nat -A POSTROUTING --match mac --mac-source \
00:c0:49:c9:d3:f1 -j MASQUERADE
>
> Cheers,
>
> Ralf
--
Ralf Spenneberg
RHCE, RHCX
Book: Intrusion Detection für Linux Server http://www.spenneberg.com
IPsec-Howto http://www.ipsec-howto.org
Honeynet Project Mirror: http://honeynet.spenneberg.org
next prev parent reply other threads:[~2003-08-04 18:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-04 16:48 Where libipt_MASQ.so (???) Jesús García Crespo (aka Sevein)
2003-08-04 17:38 ` flaq
[not found] ` <1060017482.26856.40.camel@kermit>
2003-08-04 17:56 ` Jesús García Crespo (aka Sevein)
2003-08-04 18:09 ` Cedric Blancher
2003-08-04 18:05 ` Ralf Spenneberg
2003-08-04 18:12 ` Ralf Spenneberg [this message]
2003-08-04 18:21 ` Cedric Blancher
2003-08-04 18:24 ` Ralf Spenneberg
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=1060020776.26856.50.camel@kermit \
--to=lists@spenneberg.org \
--cc=correo@sevein.com \
--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.