All of lore.kernel.org
 help / color / mirror / Atom feed
From: r00t <root@server.titansoft.ru>
To: netfilter-devel@lists.netfilter.org
Subject: REDIRECT
Date: Mon, 13 Dec 2004 18:36:31 +0500	[thread overview]
Message-ID: <1538174627.20041213183631@server.titansoft.ru> (raw)

Hi all,
>> How to i make by libipq  this rule:
>> -j REDIRECT --to-ports 3128 ?

>You don't.
>REDIRECT or other NAT related operations must be done in the kernel.

Ok, but if i use this:

-A PREROUTING -p tcp -j QUEUE
-A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128

And in the program:

ipq_set_verdict(h, m->packet_id,NF_ACCEPT, 0, NULL);

the packet not going to second rule(REDIRECT)

Sorry to my english
Best regards, Meg

             reply	other threads:[~2004-12-13 13:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-13 13:36 r00t [this message]
2004-12-13 14:11 ` REDIRECT Meg
2004-12-13 15:59 ` REDIRECT Henrik Nordstrom
  -- strict thread matches above, loose matches on Subject: below --
2007-03-06 14:42 redirect dhottinger
2007-03-07 16:14 ` redirect Georgi Alexandrov
2007-03-07 16:43   ` redirect dhottinger
2007-03-07 16:50   ` redirect dhottinger
2007-03-08  7:01     ` redirect Georgi Alexandrov
2007-03-08 11:34       ` redirect dhottinger
2007-03-02 12:41 redirect dhottinger
2007-03-02 12:51 ` redirect TheGesus
2005-05-13 14:28 redirect ngabor
2004-12-13  8:05 REDIRECT r00t
2004-12-13 10:23 ` REDIRECT Henrik Nordstrom
2003-08-07 21:53 REDIRECT George Vieira
2003-08-07 19:22 REDIRECT Juliano Murlick
2003-08-07 17:37 REDIRECT Juliano Murlick

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=1538174627.20041213183631@server.titansoft.ru \
    --to=root@server.titansoft.ru \
    --cc=netfilter-devel@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.