Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Matin Tamizi <mtamizi@gmail.com>
To: NetFilter <netfilter@lists.netfilter.org>
Subject: Stateless NAT
Date: Tue, 7 Jun 2005 11:27:40 -0400	[thread overview]
Message-ID: <f68a4160506070827307b0080@mail.gmail.com> (raw)

I'm trying to setup stateless NAT on a testbed I'm using for
university research on DDoS.  We are developing a stateless DDoS
prevention tool, but to test the software I need to use stateless NAT
to force traffic from outside through one computer, the router, and to
the victim.

I tried the NETMAP target module, but the router is still filtering my
out of state packets from the attack.  The following show the rules in
my nat table:

root # iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
NETMAP     all  --  anywhere             <victim's ip address> 192.168.13.2/32

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
SNAT       all  --  192.168.13.2         anywhere           
to:<victim's ip address>

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

I appreciate any suggestions on how I could correct my setup so I can
use stateless.


             reply	other threads:[~2005-06-07 15:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-07 15:27 Matin Tamizi [this message]
2005-06-08  1:40 ` Stateless NAT Feizhou
2005-06-08  6:56   ` Guenter.Sprakties
2005-06-08  7:20     ` codewarrior
2005-06-09 13:43       ` Matin Tamizi
2005-07-28 20:54         ` Matin Tamizi
  -- strict thread matches above, loose matches on Subject: below --
2005-02-24 11:11 John A. Sullivan III
2005-02-24 16:43 ` Jozsef Kadlecsik
2005-02-24 16:56   ` Sven Schuster
2005-02-24 19:08     ` Jozsef Kadlecsik

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=f68a4160506070827307b0080@mail.gmail.com \
    --to=mtamizi@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox