Skip to content

Instantly share code, notes, and snippets.

@zhou13
Last active September 20, 2018 04:02
Show Gist options
  • Select an option

  • Save zhou13/459753e06c6b31ec86ccb835995492eb to your computer and use it in GitHub Desktop.

Select an option

Save zhou13/459753e06c6b31ec86ccb835995492eb to your computer and use it in GitHub Desktop.
IPv6 tunnel broker
nmcli connection add \
type ip-tunnel ifname he-sit \
mode sit remote 66.220.18.42 -- \
ipv4.method disabled ipv6.method manual \
ipv6.address 2001:470:c:2c3::2/64 \
ipv6.gateway 2001:470:c:2c3::1
wget -O /dev/null https://$USER:$PASSWD@ipv4.tunnelbroker.net/nic/update?hostname=$TUNNEL_ID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment