All of lore.kernel.org
 help / color / mirror / Atom feed
* DNAT: IPv4 to IPv6
@ 2013-12-17 16:24 Thomas Glanzmann
  2013-12-17 17:15 ` Neal Murphy
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Glanzmann @ 2013-12-17 16:24 UTC (permalink / raw)
  To: netfilter

Hello,
I would like to DNAT IPv4 to IPv6. Is this currently possible maybe with
nftables?

I'm looking for something similiar to:

iptables -t nat -A PREROUTING -p tcp --dport 4001 -d 1.2.3.4 -j DNAT --to '[fd00::fffa:1]:22'

Currently I use socat as workaround but would love to do that in the kernel.

Cheers,
        Thomas

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DNAT: IPv4 to IPv6
  2013-12-17 16:24 DNAT: IPv4 to IPv6 Thomas Glanzmann
@ 2013-12-17 17:15 ` Neal Murphy
  0 siblings, 0 replies; 2+ messages in thread
From: Neal Murphy @ 2013-12-17 17:15 UTC (permalink / raw)
  To: netfilter

On Tuesday, December 17, 2013 11:24:09 AM Thomas Glanzmann wrote:
> Hello,
> I would like to DNAT IPv4 to IPv6. Is this currently possible maybe with
> nftables?

As far as I know, you cannot. IPv4 and IPv6 are totally different and 
incompatible protocols. You would have as much luck NATting IPv4 to Appletalk, 
NetWare or X.25.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-17 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 16:24 DNAT: IPv4 to IPv6 Thomas Glanzmann
2013-12-17 17:15 ` Neal Murphy

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.