Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jan Kanty Palus <atler@poczta.onet.pl>
To: netfilter@lists.netfilter.org
Subject: DNAT + user defined chains
Date: Fri, 5 Mar 2004 18:00:28 +0100	[thread overview]
Message-ID: <20040305170028.GA7730@palus> (raw)

My firewall configuration consist of many rules which redirect some ports
on my server to particular hosts in lan. I wanted to reduce them so I tried
to do something like this:

iptables -t nat -N new
iptables -t -A PREROUTING -i ethX -p tcp --dport <port>:<port> -j new

and in chain 'new' redirect port to right machine. The problem is that in 
chain 'new' i have no option '--to-destination'. Is it possible to do 
this or where can i find some info about it?


             reply	other threads:[~2004-03-05 17:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-05 17:00 Jan Kanty Palus [this message]
2004-03-05 19:15 ` DNAT + user defined chains John A. Sullivan III

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=20040305170028.GA7730@palus \
    --to=atler@poczta.onet.pl \
    --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