#!/bin/sh REMOTEIPV4ENDPOINT="::213.121.24.85" LOCALIPV6ENDPOINT="2001:618:400::183a:116d/128" ifconfig sit0 up ifconfig sit0 inet6 tunnel $REMOTEIPV4ENDPOINT ifconfig sit1 up ifconfig sit1 inet6 add $LOCALIPV6ENDPOINT route -A inet6 add ::/0 dev sit1 ifconfig sit1 inet6 add 2001:618:400:96be:0000:0000:0000:0001