Linux Netfilter discussions
 help / color / mirror / Atom feed
From: shardul Adhikari <free2squid@gmail.com>
To: netfilter@lists.netfilter.org
Subject: iptables query
Date: Fri, 25 Mar 2005 11:07:06 +0530	[thread overview]
Message-ID: <6c2d1c9d05032421374d594338@mail.gmail.com> (raw)

Hi list, 
I am relatively new to iptables 

i am trying this 

iptables -A PREROUTING -t nat -i eth0 -d 202.75.112.3 --dport 8080 -j
REDIRECT --to-port 3128 .
Now the problem is it does not get redirected , 
if i remove the -d part , it works just fine 
but i do not want to redirect for any destination , but only if
request comes for a particular destination .
Is there any thing wrong that i am doing , or do i have to use some
different chain or ruleset ,

please help


             reply	other threads:[~2005-03-25  5:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-25  5:37 shardul Adhikari [this message]
2005-03-25  8:54 ` iptables query Toby
2005-03-25  9:28   ` shardul Adhikari
2005-03-27 11:14     ` shardul Adhikari
  -- strict thread matches above, loose matches on Subject: below --
2004-03-11 22:54 state match support in ip6tables marco
2004-03-11 23:30 ` Alexander Samad
2004-03-11 23:59   ` marco
2004-03-12  0:08     ` Alexander Samad
     [not found]       ` <1079077823.3130.52.camel@anduril.intranet.cartel-securite. net>
2004-03-12  8:09         ` iptables query Hitesh Ballani
2002-10-23  6:37 IPTables Query harish.k
2002-10-23  8:00 ` Stewart Thompson
2002-10-23  8:07   ` harish.k
2002-10-23 18:26     ` Stewart Thompson
2002-10-23 18:46       ` Antony Stone
2002-10-24  4:11       ` harish.k
2002-10-23  9:57 ` Antony Stone

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=6c2d1c9d05032421374d594338@mail.gmail.com \
    --to=free2squid@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