this post was submitted on 23 Aug 2023
5 points (100.0% liked)

IPv6

317 readers
3 users here now

IPv6 Discussions

founded 1 year ago
MODERATORS
 

Wonder if it's possible to have a internal ipv4 local address range that is natted to ipv6 public address on your router...

you are viewing a single comment's thread
view the rest of the comments
[–] TCB13 4 points 1 year ago* (last edited 1 year ago)

It can be done, it's called NAT-PT.

NAT—PT is an IPv6-to-IPv4 translation mechanism, as defined in RFC 2765 and RFC 2766, that allows IPv6-only devices to communicate with IPv4-only devices and vice versa.

https://content.cisco.com/chapter.sjs?uri=/searchable/chapter/content/en/us/td/docs/ios-xml/ios/ipaddr_nat/configuration/15-mt/nat-15-mt-book/ip6-natpt.html.xml

https://ine.com/blog/2008-04-18-understanding-ipv6-nat-pt

But you most likely don't want it because you will lose information on the source IP address of the traffic. There is simply no way to cram a 128 bit source IP into a 32-bit field. So it will be hard to track down and report abuse.