blob: 7368a4055ece10c8aaf0ca510529e1ceeb069a41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/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
|