Skip to content

freeone3000/tailscale-ip-translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Quick Rust utility to mangle IPv4 IPs to IPv6 IPs for 6to4 translation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages