Joined: 13 Nov 2009 Posts: 247 Location: Morehead,Kentucky
Posted: Wed Dec 29, 2010 20:47 Post subject: E3000 & Easy IPv6 Setup?
Is there any easy way to do this? I have a tunnel with Hurricane Electric, and would like to set it up. _________________ Linksys E3000
DD-WRT v24-sp2 (12/19/10) big
(SVN revision 15943M NEWD-2 K2.6 Eko)
With frater's simple ad-blocking script
Last edited by Ronnie_USA on Fri Dec 31, 2010 12:24; edited 1 time in total
That's what I looked at, and I'm not sure what I need to do. I'm gonna give it a shot again. _________________ Linksys E3000
DD-WRT v24-sp2 (12/19/10) big
(SVN revision 15943M NEWD-2 K2.6 Eko)
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Thu Dec 30, 2010 1:03 Post subject:
Ronnie_USA wrote:
No I didn't get it working.
Sir, you are quite lacking on details. What is not working? What have to tried to test that it is not working? Details, details, details ... _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
insmod ipv6
sleep 5
WANIP=$(ip -4 addr show dev vlan1 | awk '/inet / {print $2}' | cut -d/ -f1)
MY_TUNNEL_ADDR="2001:470:1f0e:5cd::2" # change me
MY_ROUTED_ADDR="2001:470:1f0f:5cd::1" # change me
echo "External IP:" $WANIP > /jffs/startup.debug
if [ -n $WANIP ]
then
echo "configuring tunnel" >> /jffs/startup.debug
These commands
ip tunnel add he-ipv6 mode sit remote 216.218.224.42 local $WANIP ttl 255
ip link set he-ipv6 up
ip addr add $MY_TUNNEL_ADDR/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -6 addr add $MY_ROUTED_ADDR/64 dev he-ipv6
ip -6 addr add $MY_ROUTED_ADDR/64 dev br0
ip route add 2000::/3 dev he-ipv6
echo "starting radvd" >> /jffs/startup.debug
radvd -C /jffs/radvd.conf &
fi
It still doesn't work.
Thank You for help on this. _________________ Linksys E3000
DD-WRT v24-sp2 (12/19/10) big
(SVN revision 15943M NEWD-2 K2.6 Eko)
insmod ipv6
sleep 5
WANIP=$(ip -4 addr show dev vlan1 | awk '/inet / {print $2}' | cut -d/ -f1)
MY_TUNNEL_ADDR="2001:470:1f0e:5cd::2" # change me
MY_ROUTED_ADDR="2001:470:1f0f:5cd::1" # change me
echo "External IP:" $WANIP > /jffs/startup.debug
if [ -n $WANIP ]
then
echo "configuring tunnel" >> /jffs/startup.debug
These commands
ip tunnel add he-ipv6 mode sit remote 216.218.224.42 local $WANIP ttl 255
ip link set he-ipv6 up
ip addr add $MY_TUNNEL_ADDR/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -6 addr add $MY_ROUTED_ADDR/64 dev he-ipv6
ip -6 addr add $MY_ROUTED_ADDR/64 dev br0
ip route add 2000::/3 dev he-ipv6
echo "starting radvd" >> /jffs/startup.debug
radvd -C /jffs/radvd.conf &
fi
It still doesn't work.
Thank You for help on this.
Did you ever get IVP6 working on your E3000? If so I would like some info on setting it up on my router. _________________ -I Am The Uberhuman Mutant
Use a Kong nv60k build (latest, or if you want reliable VPN choose either 18730 or 18050 -- 18730 has a problem with GUI administration of the VPN, so 18050 may be a better choice).
The Kong build has aiccu by default, if you prefer standard DD-WRT builds you have to install aiccu from OTRW. OTRW has to be installed anyway, in my view.
aiccu works by signing up with sixxs.net. Choose an AYIYA connection.
You have to make a script to insert those modules before doing ip6tables at boot time. aiccu relies upon precise time, so in doubt set your time zone to UTC with no daylight savings.
Best ip6tables is by installing iptables from OTRW.
# Assign an IPv6 address and route for br0
ip -6 addr add 2001:xxx:x:xxxx::/64 dev br0
ip -6 route add 2001:xxx:xxx:xxxx::/64 dev br0
# route the rest of the /48 to loopback
ip -6 route add 2001:xxx:xxx:xxxx::/48 dev lo
# Execute a script with some ip6tables rules
#/jffs/etc/filters6.sh
export XTABLES_LIBDIR=/opt/libexec/xtables
echo 'export XTABLES_LIBDIR=/opt/libexec/xtables' >> /tmp/root/.profile
/opt/script/ipv6modules2.sh
/opt/script/bulletproof5.sh
My modules script is:
Code:
#!/bin/sh
# export PATH=$PATH:/jffs/usr/sbin
# export IP6TABLES_LIB_DIR=/jffs/usr/lib/iptables
# echo "export IP6TABLES_LIB_DIR=/jffs/usr/lib/iptables" >> /tmp/root/.profile
MODPATH='/jffs/lib/modules/2.6.24.111'
KMODS='ip6_tables.ko ip6table_filter.ko nf_conntrack_ipv6.ko ip6t_LOG.ko ip6t_rt.ko'
for x in $KMODS; do
insmod $MODPATH/$x
done
Please note that your router IPv6 IP is set by sixxs, so the other settings are for the subnet you get from sixxs. Your router has to be IPv6-pingable in order to enjoy sixxs. _________________ 2 times APU2 Opnsense 21.1 with Sensei
2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)
3 times Asus RT-N16 shelved
E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)
3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)
Joined: 25 Mar 2012 Posts: 104 Location: In a van down by the river.
Posted: Mon Aug 27, 2012 20:57 Post subject:
How can I find out if my IPv6 setting are working? I have made the adjustments found http://www.dd-wrt.com/wiki/index.php/IPv6 and when I visit sites that say they will test my IPv6 connection it always FAILS.
I don't get what the deal is.... _________________ -I Am The Uberhuman Mutant
Startup Script
#IPv6
insmod /lib/modules/`uname -r`/kernel/net/ipv6/sit.ko
sleep 5
radvd -C /tmp/radvd.conf start
sleep 5
WANIP=$(ip -4 addr show dev ppp0 | grep 'inet ' | awk '{print $2}' | cut -d/ -f1)
if [ -n "$WANIP" ]
then
V6PREFIX=$(printf '2002:%02x%02x:%02x%02x' $(echo $WANIP | tr . ' '))
ip tunnel add tun6to4 mode sit ttl 255 remote any local $WANIP
ip link set tun6to4 mtu 1480
ip link set tun6to4 up
ip addr add $V6PREFIX:0::1/16 dev tun6to4
ip addr add $V6PREFIX:1::1/64 dev br0
ip -6 route add 2000::/3 via ::192.88.99.1 dev tun6to4
kill -HUP $(cat /var/run/radvd.pid)
fi
sleep 10
radvd -C /tmp/radvd.conf start
This is my current settings and still no IPv6. _________________ -I Am The Uberhuman Mutant
Also, your DNS server has to support IPv6, so I suggest using OpenDNS (with or without dnscrypt-proxy). Using dnscrypt-proxy I got a 10 for IPv4 and a 10 for IPv6 at the test site mentioned above.
A MTU of 1480 could produce problems if you use a tunnel. _________________ 2 times APU2 Opnsense 21.1 with Sensei
2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)
3 times Asus RT-N16 shelved
E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)
3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)
Also, your DNS server has to support IPv6, so I suggest using OpenDNS (with or without dnscrypt-proxy). Using dnscrypt-proxy I got a 10 for IPv4 and a 10 for IPv6 at the test site mentioned above.
A MTU of 1480 could produce problems if you use a tunnel.
dnscrypt-proxy? Also I am currently using OpenDNS and it has been working great.
I'll try it again... _________________ -I Am The Uberhuman Mutant
As said, aiccu is standard available in Kong builds, besides it can be installed with ipkg-opt from OTRW. After installing OTRW and rebooting, you may install it with:
Code:
ipkg update
ipkg install aiccu
Since ipkg is now calling ipkg-opt instead of /bin/ipkg.
The modules load script (ipv6modules2.sh) I have published it above, the firewall script (bulletproof5.sh) is shown upon http://www.dd-wrt.com/phpBB2/viewtopic.php?p=664399 (last message). _________________ 2 times APU2 Opnsense 21.1 with Sensei
2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)
3 times Asus RT-N16 shelved
E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)
3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)