Hetzner ipv6
From TykWiki
This is for rc.conf:
### v6 extra config due to weird v6 setup at hetzner ipv6_static_routes="gw" ipv6_route_gw="2a01:4f8:141:52a0::1 -iface re0" static_ndp_pairs="gw" static_ndp_gw="2a01:4f8:141:52a0::1 0:26:88:75:e7:95" v6_network_extra_enable="YES"
Replace my values with your ipv6 default gateway's IP and mac address.
You also need two rc.d scripts: /etc/rc.d/static_ndp (included in base from FreeBSD 9, if you need it find it here). The other script, /usr/local/etc/rc.d/v6_network_extra is not included in FreeBSD (yet), it looks like this:
#!/bin/sh
#
# ipv6 tunnels and default router
#
# PROVIDE: v6_network_extra
# REQUIRE: NETWORKING static_ndp
# KEYWORD: nojail
. /etc/rc.subr
name="v6_network_extra"
start_cmd="v6_network_extra_start"
v6_network_extra_start()
{
/sbin/route -n add -inet6 default 2a01:4f8:141:52a0::1
/etc/rc.d/static_ndp restart
}
load_rc_config $name
run_rc_command "$1"
Remember to change your default gateway in this script as well.