* Transparent proxy with IPv6 on Linux [REDIRECT target is gone]
@ 2011-04-04 5:13 Brian G
2011-04-04 6:28 ` Jean-Philippe Menil
2011-04-04 11:29 ` Jan Engelhardt
0 siblings, 2 replies; 3+ messages in thread
From: Brian G @ 2011-04-04 5:13 UTC (permalink / raw)
To: netfilter
Hi, on Linux with netfilter: previously I could do "iptables -j
REDIRECT" to create a IPv4 transparent proxy. However, this is
unsupported on IPv6.
How can I achieve this? iptables6 removed the REDIRECT target because it
does not support Network Address Translation in IPv6.
I need the transparent proxy to work with IPv6 under Linux. How are
people doing this?
- Brian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Transparent proxy with IPv6 on Linux [REDIRECT target is gone]
2011-04-04 5:13 Transparent proxy with IPv6 on Linux [REDIRECT target is gone] Brian G
@ 2011-04-04 6:28 ` Jean-Philippe Menil
2011-04-04 11:29 ` Jan Engelhardt
1 sibling, 0 replies; 3+ messages in thread
From: Jean-Philippe Menil @ 2011-04-04 6:28 UTC (permalink / raw)
To: Brian G; +Cc: netfilter
Le 04/04/2011 07:13, Brian G a écrit :
> Hi, on Linux with netfilter: previously I could do "iptables -j
> REDIRECT" to create a IPv4 transparent proxy. However, this is
> unsupported on IPv6.
>
> How can I achieve this? iptables6 removed the REDIRECT target because
> it does not support Network Address Translation in IPv6.
>
> I need the transparent proxy to work with IPv6 under Linux. How are
> people doing this?
>
> - Brian
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi,
you need at least, a 2.6.37 kernel with the tproxy module:
CONFIG_NETFILTER_TPROXY=m
CONFIG_NETFILTER_XT_TARGET_TPROXY=m
and the last iptables release:
root@test-jp-2:~# ip6tables -t mangle -nvL
Chain PREROUTING (policy ACCEPT 5584 packets, 416K bytes)
pkts bytes target prot opt in out source
destination
60 4400 DIVERT tcp * * ::/0
::/0 socket
0 0 TPROXY tcp * * ::/0
::/0 tcp dpt:80 TPROXY redirect :::50080 mark 0x1/0x1
Regards.
--
Jean-Philippe Menil - Pôle réseau Service IRTS
DSI Université de Nantes
jean-philippe.menil@univ-nantes.fr
Tel : 02.53.48.49.27 - Fax : 02.53.48.49.09
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Transparent proxy with IPv6 on Linux [REDIRECT target is gone]
2011-04-04 5:13 Transparent proxy with IPv6 on Linux [REDIRECT target is gone] Brian G
2011-04-04 6:28 ` Jean-Philippe Menil
@ 2011-04-04 11:29 ` Jan Engelhardt
1 sibling, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2011-04-04 11:29 UTC (permalink / raw)
To: Brian G; +Cc: netfilter
On Monday 2011-04-04 07:13, Brian G wrote:
> Hi, on Linux with netfilter: previously I could do "iptables -j REDIRECT" to
> create a IPv4 transparent proxy. However, this is unsupported on IPv6.
>
> How can I achieve this? iptables6 removed the REDIRECT target because it does
> not support Network Address Translation in IPv6.
(Nothing was removed, it was never there.)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-04-04 11:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-04 5:13 Transparent proxy with IPv6 on Linux [REDIRECT target is gone] Brian G
2011-04-04 6:28 ` Jean-Philippe Menil
2011-04-04 11:29 ` Jan Engelhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox