From: Meg <root@server.titansoft.ru>
To: netfilter-devel@lists.netfilter.org
Subject: Re: REDIRECT
Date: Mon, 13 Dec 2004 19:11:53 +0500 [thread overview]
Message-ID: <604750014.20041213191153@server.titansoft.ru> (raw)
In-Reply-To: <1538174627.20041213183631@server.titansoft.ru>
Hi, r00t.
>>> 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)
-A FORWARD -p tcp -j QUEUE
or
-t nat -p tcp -j QUEUE
this right by iptables, but not work
--
Best regards,
Meg mailto:root@server.titansoft.ru
next prev parent reply other threads:[~2004-12-13 14:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-13 13:36 REDIRECT r00t
2004-12-13 14:11 ` Meg [this message]
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=604750014.20041213191153@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.