Wednesday, August 4, 2021

Is there a format for a range of IPv6 addresses?

This Wikipedia page shows address ranges for IPv4, but not for IPv6: https://en.wikipedia.org/wiki/Reserved_IP_addresses

Would the format for an IPv6 range be ::0000-::1000?

Also, what's the valid range format for --to-destination when using this example command for IPv6?

sudo iptables -t nat -A PREROUTING -s 10.10.10.10 -j DNAT --to-destination 127.0.0.1-127.0.0.10

This seems like it would throw an error.

sudo iptables -t nat -A PREROUTING -s ::1010 -j DNAT --to-destination ::0000-::1000



No comments:

Post a Comment