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.
CLIENTIPshould be set to your external IPv6 address. the default value in the config uses myip.opendns.com to find this address.
SERVERIPtunnel endpoint server IPv4 address
SERVERIPV6tunnel endpoint server IPv6 address
CLIENTIPV6tunnel endpoint client IPv6 address
NETWORKrouted IPv6 network address, without prefix
PREFIXprefix length, 64 or 48
PREFIXare set from "Routed IPv6 Prefixes". For
2001:db8:dead:beef::/64the values would look like
LOCALIPV6address which should be set to a local device. has to be in the prefix defined in
NETWORK. the default is
DEVis set to the network device which should get the address defined as
TUNNELIDtunnel id from tunnel details
USERNAMEyour hurricane electric username
PASSWORDtunnel update key found in the advanced tab of tunnel details.
if these values are set, you can do the follwing things:
rc.hurricane updateupdate your external ipv4 address
rc.hurricane startstart the tunnel
rc.hurricane stopstop the tunnel
rc.hurricane restartstop and start the tunnel
rc.hurricane radvdprint a radvd.conf you can use if you want to advertise the route with radvd.