This GitHub Gist details the manual configuration needed on a UniFi controller to enable IPv6 tunneling with Hurricane Electric's Tunnelbroker service.
This is what works for me personally. Stuff you'll need to do to adapt this to your ends:
- Replace "local-ip" with your USG's public IPv4 address.
- Replace "remote-ip" with the address of your Tunnelbroker tunnel server.
- Replace "address" with the IPv6 address that your are allocated.
Follow these instructions and drop your config.gateway.json
file in the correct location e.g. /usr/lib/unifi/data/sites/$NAME/
.
@CHTJonas I realise that this is quite old now, but how exactly do you now use a tunnel with a USG if you have a dynamic ipv4 address? Do you have an alternative config that you could share?
I'm looking for a way around BT's dynamic /56 ipv6 which for me changes every 2-3 days and is causing a few problems with an android client and Microsoft's company portal app.