3 ms·
At home, with both ip v4 and v6. For any device exposed on the Internet, I add a static IPv6 address with the host part the same as the IPv4 adress. example: 2
by bombela 1y ago
At home, with both ip v4 and v6. For any device exposed on the Internet, I add a static IPv6 address with the host part the same as the IPv4 adress.
example: 2001:db8::192.168.0.42
This makes it very easy to remember, correlate and firewall.
- mixmastamyk 1y agoOk, that parses somehow in Python, matches, and is apparently legit. ;-) >>> from ipaddress import IPv6Address as address >>> address('2001:db8::192.168.0.42') IPv6Address('2001:db8::c0a8:2a') >>> int('2a', 16) 42 Openwrt doesn't seem to make ipv6 static assignment easy unfortunately.
- bombela 1y agoOh yes, it is part of the spec for IPv6 addresses text representation :) https://www.rfc-editor.org/rfc/rfc4291#section-2.2 https://www.rfc-editor.org/rfc/rfc4291#section-2.2