README.md edited online with Bitbucket
initial commit
this is a rc style init script to setup a hurricane electric IPv6 tunnel. while created with slackware in mind, it should work on any linux based system.
configuration is read from rc.hurricane.conf
, most of the values are found on the
tunnel details page.
CLIENTIP
should be set to your external IPv6 address. the default value in the config uses myip.opendns.com to find this address.SERVERIP
tunnel endpoint server IPv4 addressSERVERIPV6
tunnel endpoint server IPv6 addressCLIENTIPV6
tunnel endpoint client IPv6 addressNETWORK
routed IPv6 network address, without prefixPREFIX
prefix length, 64 or 48
NETWORK
and PREFIX
are set from "Routed IPv6 Prefixes". For 2001:db8:dead:beef::/64
the values would look like NETWORK=2001:db8:dead:beef::
and PREFIX=64
LOCALIPV6
address which should be set to a local device. has to be in the prefix defined in NETWORK
. the default is ${NETWORK}1
DEV
is set to the network device which should get the address defined as LOCALIPV6
TUNNELID
tunnel id from tunnel detailsUSERNAME
your hurricane electric usernamePASSWORD
tunnel update key found in the advanced tab of tunnel details.if these values are set, you can do the follwing things:
rc.hurricane update
update your external ipv4 addressrc.hurricane start
start the tunnelrc.hurricane stop
stop the tunnelrc.hurricane restart
stop and start the tunnelrc.hurricane radvd
print a radvd.conf you can use if you want to advertise the route with radvd.