Hello everyone, after a few hours of struggling I finaly managed to get ipv6rd working on 1.28-093 k26 by shibby.
My script is based on the one from the dd-wrt wiki article on IPv6,
and one from a thread here on this forum that i'm unable to find now.
Basicly two scripts to add under administration-> scripts.
First under init you should add
insmod tunnel4
insmod sit
then under WAN up you should add
WANIP=$(nvram get wan_ipaddr)
if [ -n "$WANIP" ]; then
ip tunnel del tun6rd
V6PREFIX=$(printf 'abcd:efgh:%02x%02x:%02x%02x' $(echo $WANIP | tr . ' '))
ip tunnel add tun6rd mode sit local $WANIP ttl 64
ip addr add ${V6PREFIX}::1/32 dev tun6rd
ip addr add ${V6PREFIX}::1/64 dev br0
ip link set tun6rd up
ip -6 route add ::/0 via ::1.2.3.4 dev tun6rd
service radvd restart
fi
Where you should change abcd:efgh to your prefix on line 4, and the prefix length is assumed to be /32 on line 6 and on line 9 change 1.2.3.4 to your 6rd BR.
Then under Basic->IPv6, change the service type to Other, and IPv6 WAN interface to:
tun6rd
Then change the Router IPv6 address
You have to convert your public IPv4 ip to hex to use in the ipv6 address
not acually sure if this part is needed as it should be taken care of in the script.
Prefix:Prefix:first part of ipv4 in hex:second part of ipv4 in hex::1
Edit: Dont forget to activate Enable Router Advertisements under Basic -> Ipv6 as unoriginal said. Also changed the prefix to something more general.
Hope it proved somewhat helpful and understandable.
Sushix