#!/bin/bash # https://www.tunnelbroker.net/ # MiguelDirty case $1 in start) echo starting ipv6 tunnelbroker ifconfig sit0 up ifconfig sit0 inet6 tunnel ::216.66.86.114 ifconfig sit1 up ifconfig sit1 inet6 add 2001:470:6c:2af::2/64 route -A inet6 add ::/0 dev sit1 ;; stop) echo stopping ipv6 tunnelbroker ifconfig sit0 down ifconfig sit1 down ;; *) echo "usage: to start tunnelbroker type: $0 start" echo " to stop tunnelbroker type: $0 stop" esac