6to4 NAT ?
Subsystems (2)
Hello,
The problem: I have a 10.*/8 ipv4 network which I want to reach via ipv6. I.e., what I need is some sort of 6to4 NAT so that traffic from [whereever] to e.g. fec0:dead:beef:1234::10.1.2.3 ends up as coming from e.g. 10.0.0.1 on the IPv4 side.
"Classic" NAT, in other words, except that (a) one side is on IPv6, and
(b) the destination's v4 address is the tail end of the v6 address.
Cisco boxes can apparently do that. I want my Linux box to do it too. :-P
Is there something like this already out there, or do I need to copy the NAT kernel modules and start hacking?
(This is not a tunnel: I don't want the IPv6 packets to get encapsulated in IPv4. That'd require all the systems on the 10.* net to have their own local tunnel interface. I can't do that.)
Signature · 1 line
-- Matthias Urlichs
Quoted 4 lines · Matthias Urlichs
The problem: I have a 10.*/8 ipv4 network which I want to reach via ipv6. I.e., what I need is some sort of 6to4 NAT so that traffic from [whereever] to e.g. fec0:dead:beef:1234::10.1.2.3 ends up as coming from e.g. 10.0.0.1 on the IPv4 side.
Sounds to me like you're looking for nat64. No built in support is available afaik, but http://ecdysis.viagenie.ca/ provides a netfilter module.
Cheers,
Jasper
Signature · 4 lines
Ir. Jasper Spaans Fox-IT Experts in IT Security! T: +31 (0) 15 284 79 99 KvK Haaglanden 27301624
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
Quoted 3 lines
Sounds to me like you're looking for nat64. No built in support is available afaik, but http://ecdysis.viagenie.ca/ provides a netfilter module.
Alternately, there seems to be a stateless program which does the same thing via a TUN interface:
This solutions seems superior to the ecdysis kernel module because
* stateless
* no out-of-tree kernel code with concurrency issues
* while it's userland code, I don't expect to have much traffic
* it can support multiple IPv4 networks on one system (we have customers with overlapping RFC1912 address ranges)
* more flexible deployment
Signature · 1 line
-- Matthias Urlichs