I followed HE.net tutorial to set-up an HE /64 tunnel in OpenWRT:
uci set network.henet=interface
uci set network.henet.proto=6in4
uci set network.henet.peeraddr=mypeer
uci set network.henet.ip6addr='P::2/64'
uci set network.henet.ip6prefix='IP::/64'
uci set network.henet.tunnelid=mytunnelid
uci set network.henet.username=myuser
uci set network.henet.password='mypassword'
uci commit network
uci set firewall.@zone[1].network='wan henet'
uci commit firewall
/etc/init.d/network restart
/etc/init.d/firewall reload
I also installed: luci-proto-hnet
It works fine. However in Luci, when clicking on henet interface, luci tells "protocol unsupported". How to set up an HE tunnel in LuCi?
Still no luck with Luci. I also switched back to the exact configuration provided by the WIKI:
# /etc/config/network
config interface 'wan6'
option proto '6in4'
option tunlink 'wan'
option mtu '1424' # the IPv6 tunnel MTU (optional)
option peeraddr '216.66.80.30' # the IPv4 tunnel endpoint at the tunnel provider
option ip6addr '2001:0DB8:1f0a:1359::2/64' # the IPv6 tunnel address
option ip6prefix '2001:DB8:1234::/48' # Your routed prefix (required)
# configuration options below are only valid for HE.net tunnels, ignore them for other tunnel providers.
option tunnelid '12345' # HE.net tunnel id
option username 'username' # HE.net username used to login into tunnelbroker, not the User ID shown after login in.
option password 'password' # HE.net password if there is no updatekey for tunnel
option updatekey 'updatekey' # HE.net updatekey instead of password, default for new tunnels
There isn't a luci-proto-henet. Do you mean lucl-proto-hnet? That's the luci support for the Homenet Control Protocol which has no reason to have 6in4 as a depenency.
ping6 bouygues.iperf.fr
PING bouygues.iperf.fr(2001:860:deff:1000::2 (2001:860:deff:1000::2)) 56 data bytes
64 bytes from 2001:860:deff:1000::2 (2001:860:deff:1000::2): icmp_seq=1 ttl=58 time=25.3 ms
64 bytes from 2001:860:deff:1000::2 (2001:860:deff:1000::2): icmp_seq=2 ttl=58 time=15.7 ms
64 bytes from 2001:860:deff:1000::2 (2001:860:deff:1000::2): icmp_seq=3 ttl=58 time=15.1 ms
64 bytes from 2001:860:deff:1000::2 (2001:860:deff:1000::2): icmp_seq=4 ttl=58 time=17.2 ms
64 bytes from 2001:860:deff:1000::2 (2001:860:deff:1000::2): icmp_seq=5 ttl=58 time=29.5 ms
The tunnel speed can probably go at a higher speed.
I am quite delighted with OpenWRT, thanks.