#translation #addresses #tailscale-ip-translate

app tailscale-ip-translate

Translates IPv4 addresses to Tailscale 4to6 subnet addresses

2 stable releases

Uses new Rust 2024

new 1.0.1 Apr 25, 2025

#7 in #addresses

Download history 56/week @ 2025-04-20

56 downloads per month

Custom license

15KB

tailscale-ip-translate

Translates IPv4 addresses for a tailscale 6to4 subnet router.

See the tailscale documentation for more information as to what a 4to6 subnet router is, and why you would want one.

This tool aims to simplify the transition, allowing you to type in the ipv4 address, and retrieving the ipv6 address for your tailnet.

Installation

Installation can be performed via cargo install tailscale-ip-translate

Usage

tailscale-ip-translate
tailscale-ip-translate <ipv4>
tailscale-ip-translate <site-id> <ipv4>

If zero arguments are supplied, the IPv6 address for 192.168.1.0 on site 7 will be output.

If one argument is supplied, the IPv6 address for the supplied IPv4 address on site 7 will be output.

If two arguments are supplied, the IPv6 address for the supplied IPv4 address on the supplied site id will be output.

No runtime deps