Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Raymond Leach <raymondl@knowledgefactory.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: hi..
Date: 09 Dec 2002 13:31:19 +0200	[thread overview]
Message-ID: <1039433479.1713.24.camel@rayw.knowledgefactory.co.za> (raw)
In-Reply-To: <3DF47485.6040709@inbox.lv>

[-- Attachment #1: Type: text/plain, Size: 1376 bytes --]

On Mon, 2002-12-09 at 12:46, Arindam Haldar wrote:
> hi all,
> 
> just a thought....
> i want to know if the -N  flag is avaiable for PREROUTING/POSTROUTING 
> mangle/nat etc ?
> i know the below is possible ...
> iptables -N myTable
> iptables -A INPUT -s <ip> -j myTable
> 
> but if want to do this-->>
> iptables -A POSTROUTING -t nat -s <> -j myTableTwo
> or
> iptables -A PRETROUTING -t mangle -s <> -j myTableTwo
> is it possible ?.. how do i create a new table for this ?

try this:
iptables -t nat -N test
iptables -A PREROUTING -t nat -s <> -j test



> thanking in advance..
> A.H
-- 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(  Raymond Leach                       )
 ) Knowledge Factory                  (
(                                      )
 ) Tel: +27 11 445 8100               (
(  Fax: +27 11 445 8101                )
 )                                    (
(  http://www.knowledgefactory.co.za/  )
 ) http://www.saptg.co.za/            (
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   o                                o
    o                              o
        .--.                  .--.
       | o_o|                |o_o |
       | \_:|                |:_/ |
      / /   \\              //   \ \
     ( |     |)            (|     | )
     /`\_   _/'\          /'\_   _/`\
     \___)=(___/          \___)=(___/

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2002-12-09 11:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-09 10:46 hi Arindam Haldar
2002-12-09 11:31 ` Raymond Leach [this message]
2002-12-09 12:53   ` hi Arindam Haldar
  -- strict thread matches above, loose matches on Subject: below --
2003-05-20  9:19 hi Aris  Santillan
2003-09-11  2:48 ` hi Joao F. Serejo
2003-10-19  2:15 Hi _morpheus
2003-10-28 18:49 Hi Juan Hernandez
2003-10-28 22:21 ` Hi uniplex
2003-10-28 23:32 ` Hi SBlaze
2003-10-29  4:08 ` Hi Dharmendra T.

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=1039433479.1713.24.camel@rayw.knowledgefactory.co.za \
    --to=raymondl@knowledgefactory.co.za \
    --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