* what is the '-m' flag?
@ 2009-06-02 20:23 Leonardo Carneiro
2009-06-02 20:30 ` Ivan Petrushev
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Leonardo Carneiro @ 2009-06-02 20:23 UTC (permalink / raw)
To: netfilter
what the '-m' flag does in iptables? i'd search google and read the
manual, but did not found anything.
a old script running in a firewall of my network have some rules like these:
iptables -A PREROUTING -p udp -m udp -d $inet_ip -i eth0 --dport 8282 -j
DNAT --to-destination 192.168.1.102
tks in
--
*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarneiro@veltrac.com.br <mailto:lscarneiro@veltrac.com.br>
http://www.veltrac.com.br <http://www.veltrac.com.br/>
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: what is the '-m' flag?
2009-06-02 20:23 what is the '-m' flag? Leonardo Carneiro
@ 2009-06-02 20:30 ` Ivan Petrushev
2009-06-02 20:36 ` Christoph Paasch
[not found] ` <a43edf1b0906021329q4bf99135lc9b4846c1d17efea@mail.gmail.com>
2 siblings, 0 replies; 4+ messages in thread
From: Ivan Petrushev @ 2009-06-02 20:30 UTC (permalink / raw)
To: Leonardo Carneiro; +Cc: netfilter
man iptables v.1.3.7
MATCH EXTENSIONS
iptables can use extended packet matching modules. These are
loaded in two ways: implicitly, when -p or --protocol is specified,
or with the -m or --match options, followed by the matching module
name; after these, various extra command line options become avail-
able, depending on the specific module.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: what is the '-m' flag?
2009-06-02 20:23 what is the '-m' flag? Leonardo Carneiro
2009-06-02 20:30 ` Ivan Petrushev
@ 2009-06-02 20:36 ` Christoph Paasch
[not found] ` <a43edf1b0906021329q4bf99135lc9b4846c1d17efea@mail.gmail.com>
2 siblings, 0 replies; 4+ messages in thread
From: Christoph Paasch @ 2009-06-02 20:36 UTC (permalink / raw)
To: Leonardo Carneiro; +Cc: netfilter
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
Look in the manpage of iptables.
-m loads the iptables extension.
On Tue June 2 2009 wrote Leonardo Carneiro:
> what the '-m' flag does in iptables? i'd search google and read the
> manual, but did not found anything.
>
> a old script running in a firewall of my network have some rules like
> these: iptables -A PREROUTING -p udp -m udp -d $inet_ip -i eth0 --dport
> 8282 -j DNAT --to-destination 192.168.1.102
>
> tks in
--
Christoph Paasch
www.rollerbulls.be
--
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: what is the '-m' flag?
[not found] ` <a43edf1b0906021329q4bf99135lc9b4846c1d17efea@mail.gmail.com>
@ 2009-06-02 20:51 ` Leonardo Carneiro
0 siblings, 0 replies; 4+ messages in thread
From: Leonardo Carneiro @ 2009-06-02 20:51 UTC (permalink / raw)
To: Billy Crook, netfilter
in the manual version in the server the flag was not present. a more
updated version has the description, but was not together with the other
flags. sorry for the mistake, anyway.
Billy Crook escreveu:
> On Tue, Jun 2, 2009 at 15:23, Leonardo Carneiro
> <lscarneiro@veltrac.com.br> wrote:
>
>> what the '-m' flag does in iptables? i'd search google and read the manual,
>>
>
> Evidently not.
>
> man iptables
> [/] then [Spacebar] then [-] then [m] then [Enter]
>
>
--
*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarneiro@veltrac.com.br <mailto:lscarneiro@veltrac.com.br>
http://www.veltrac.com.br <http://www.veltrac.com.br/>
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-02 20:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-02 20:23 what is the '-m' flag? Leonardo Carneiro
2009-06-02 20:30 ` Ivan Petrushev
2009-06-02 20:36 ` Christoph Paasch
[not found] ` <a43edf1b0906021329q4bf99135lc9b4846c1d17efea@mail.gmail.com>
2009-06-02 20:51 ` Leonardo Carneiro
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.