All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ruslan Spivak <alienoid@is.lg.ua>
To: netfilter@lists.netfilter.org
Subject: REDIRECT question
Date: Wed, 02 Jul 2003 13:56:21 +0300	[thread overview]
Message-ID: <3F02BA55.1030504@is.lg.ua> (raw)

Hello, netfilter users.

i want make transaparent proxy on localhost and want to disabe access 
after redirecting to port 3128 if destination address in net other then 
193.108.240.0/22.
Does REDIRECT target send packet to INPUT chain and i should disable 
access in INPUT chain or should i disable access in '-t nat -A 
POSTROUTING' chain?

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT 
--to-port 3128


Thanks in advance. Your help is very, very appreciated.

Best regards,
Ruslan




             reply	other threads:[~2003-07-02 10:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-02 10:56 Ruslan Spivak [this message]
2003-07-02 11:01 ` REDIRECT question Chris Wilson
2003-07-02 11:14   ` Ruslan Spivak
     [not found] <Pine.LNX.4.44.0307021216100.16552-100000@localhost>
2003-07-02 13:13 ` Ruslan Spivak
  -- strict thread matches above, loose matches on Subject: below --
2003-07-11 11:09 Ruslan Spivak
2003-07-13 21:55 George Vieira
2005-03-04 22:59 Redirect Question Gary W. Smith
2005-03-04 23:05 ` Gavin Hamill
2014-03-22 13:38 Redirect question Danny
2014-03-22 22:32 ` Nikolai Lusan

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=3F02BA55.1030504@is.lg.ua \
    --to=alienoid@is.lg.ua \
    --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 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.