TODO
SSH to your UDM
ssh root@<udm ip address>
<enter the password you set when prompted>
Configure the IPv6 Tunnel - You get the addresses from the Tunnel Details page on TunnelBroker
ip tunnel add he-ipv6 mode sit remote <server ipv4 address> local <client ipv4 address> ttl 255
ip link set he-ipv6 up
ip addr add <client ipv6 address> dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr
Test Connectivity from UDM
ping 2600::
Setup Address Allocation
TODO
here's what the default firewall rules look like on a legit WAN interface (note I'm using
ip6tables
which ONLY shows the iptables defined for ipv6 traffic...iptables
andip6tables
don't share the same entries.)and, without running any scripts, here's what rules are on the
he-ipv6
interface when the tunnel is created:ip6tables-save | grep -i he-ipv6
...yeah, nothing at all... so everything's wide open.
After the script is run, here's what they both look like again:
ip6tables-save | grep -i eth9
(nothing)
and for the tunnel interface:
So they're effectively transposed (since there's no ipv6 on the default WAN interface we just 'borrow' the rules from that and shift them over.