Skip to content

Instantly share code, notes, and snippets.

@samueljon
Created May 24, 2018 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samueljon/ed1c85b22460a87f63a2ec8fc7c46253 to your computer and use it in GitHub Desktop.
Save samueljon/ed1c85b22460a87f63a2ec8fc7c46253 to your computer and use it in GitHub Desktop.
This command returns the 6rd prefix for altibox ipv6 implimentation
#!/usr/bin/env bash
ipv6calc --action 6rd_local_prefix --6rd_prefix 2a01:79c::/30 --6rd_relay_prefix 213.167.115.92/0 $(curl icanhazip.com)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment